public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49707] New: GCC sends incorrect flags to native IRIX ld
@ 2011-07-11 23:29 kais58 at sucs dot org
  2012-05-22  7:19 ` [Bug bootstrap/49707] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kais58 at sucs dot org @ 2011-07-11 23:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49707

           Summary: GCC sends incorrect flags to native IRIX ld
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kais58@sucs.org


on an sgi-mips-irix6.5 machine when trying to build I receive the following
error when make starts to link.

/home/member/kais58/beast/tgc/tgcware-for-irix/gcc45/src/all_pthreads/./gcc/xgcc
-B/home/member/kais58/beast/tgc/tgcware-for-irix/gcc45/src/all_pthreads/./gcc/
-B/usr/sucs/gcc45/mips-sgi-irix6.5/bin/ -B/usr/sucs/gcc45/mips-sgi-irix6.5/lib/
-isystem /usr/sucs/gcc45/mips-sgi-irix6.5/include -isystem
/usr/sucs/gcc45/mips-sgi-irix6.5/sys-include    -O2  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs
-Wl,-soname,libgcc_s.so.1 -o 64/libgcc_s.so.1.tmp -g -O2 -mabi=64 -B./
_muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o
_ucmpdi2_s.o _clear_cache_s.o_enable_execute_stack_s.o _trampoline_s.o
__main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o
_subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o
_ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o
_ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o
_paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o
_muldc3_s.o _mulxc3_s.o _multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o
_divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o
_fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o
_fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o
_floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o
_floatundixf_s.o _floatunditf_s.o _fixsfti_s.o _fixdfti_s.o _fixxfti_s.o
_fixtfti_s.o _fixunssfti_s.o _fixunsdfti_s.o _fixunsxfti_s.o _fixunstfti_s.o
_floattisf_s.o _floattidf_s.o _floattixf_s.o _floattitf_s.o _floatuntisf_s.o
_floatuntidf_s.o _floatuntixf_s.o _floatuntitf_s.o _divdi3_s.o _moddi3_s.o
_udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o _pack_sf_s.o
_unpack_sf_s.o _addsub_sf_s.o _mul_sf_s.o _div_sf_s.o _fpcmp_parts_sf_s.o
_compare_sf_s.o _eq_sf_s.o _ne_sf_s.o _gt_sf_s.o _ge_sf_s.o _lt_sf_s.o
_le_sf_s.o _unord_sf_s.o _si_to_sf_s.o _sf_to_si_s.o _negate_sf_s.o
_make_sf_s.o _sf_to_df_s.o _sf_to_tf_s.o _thenan_sf_s.o _sf_to_usi_s.o
_usi_to_sf_s.o _pack_df_s.o _unpack_df_s.o _addsub_df_s.o _mul_df_s.o
_div_df_s.o _fpcmp_parts_df_s.o _compare_df_s.o _eq_df_s.o _ne_df_s.o
_gt_df_s.o _ge_df_s.o _lt_df_s.o _le_df_s.o _unord_df_s.o _si_to_df_s.o
_df_to_si_s.o _negate_df_s.o _make_df_s.o _df_to_sf_s.o _df_to_tf_s.o
_thenan_df_s.o _df_to_usi_s.o _usi_to_df_s.o _pack_tf_s.o _unpack_tf_s.o
_addsub_tf_s.o _mul_tf_s.o _div_tf_s.o _fpcmp_parts_tf_s.o _compare_tf_s.o
_eq_tf_s.o _ne_tf_s.o _gt_tf_s.o _ge_tf_s.o _lt_tf_s.o _le_tf_s.o _unord_tf_s.o
_si_to_tf_s.o _tf_to_si_s.o _negate_tf_s.o _make_tf_s.o _tf_to_df_s.o
_tf_to_sf_s.o _thenan_tf_s.o _tf_to_usi_s.o _usi_to_tf_s.o unwind-dw2_s.o
unwind-dw2-fde_s.o unwind-sjlj_s.o gthr-gnat_s.o unwind-c_s.o emutls_s.o -lc &&
rm -f 64/libgcc_s.so && if [ -f 64/libgcc_s.so.1 ]; then mv -f 64/libgcc_s.so.1
64/libgcc_s.so.1.backup; else true; fi && mv 64/libgcc_s.so.1.tmp
64/libgcc_s.so.1 && ln -s libgcc_s.so.1 64/libgcc_s.so
ld: ERROR 4: Conflicting flag setting: -64
ld: FATAL 12: Expecting o32 objects:
/home/member/kais58/beast/tgc/tgcware-for-irix/gcc45/src/all_pthreads/./gcc/64/irix-crti.o
is 64-bit.
collect2: ld returned 4 exit status

it appears to be sending 2 of the object identify flags to ld which it doesnt
like :/


../gcc-4.5.2/configure --prefix=/usr/sucs/gcc45
--with-local-prefix=/usr/sucs/gcc45 --disable-nls --with-gmp=/usr/tgcware
--with-mpfr=/usr/tgcware --with-mpc=/usr/tgcware --enable-shared --with-gnu-as
--with-as=/usr/tgcware/bin/as --with-ld=/usr/bin/ld --enable-languages=c
--with-bugurl=http://sucs.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/49707] GCC sends incorrect flags to native IRIX ld
  2011-07-11 23:29 [Bug bootstrap/49707] New: GCC sends incorrect flags to native IRIX ld kais58 at sucs dot org
@ 2012-05-22  7:19 ` pinskia at gcc dot gnu.org
  2012-05-22  7:21 ` pinskia at gcc dot gnu.org
  2012-05-22 10:46 ` kais58 at sucs dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-22  7:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49707

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WONTFIX
   Target Milestone|---                         |4.8.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-22 06:10:04 UTC ---
IRIX 6.5 support was removed so closing as won't fix.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/49707] GCC sends incorrect flags to native IRIX ld
  2011-07-11 23:29 [Bug bootstrap/49707] New: GCC sends incorrect flags to native IRIX ld kais58 at sucs dot org
  2012-05-22  7:19 ` [Bug bootstrap/49707] " pinskia at gcc dot gnu.org
@ 2012-05-22  7:21 ` pinskia at gcc dot gnu.org
  2012-05-22 10:46 ` kais58 at sucs dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-22  7:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49707

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-05-22
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-22 06:08:55 UTC ---
How was irix-crti.o built from the GCC Log?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/49707] GCC sends incorrect flags to native IRIX ld
  2011-07-11 23:29 [Bug bootstrap/49707] New: GCC sends incorrect flags to native IRIX ld kais58 at sucs dot org
  2012-05-22  7:19 ` [Bug bootstrap/49707] " pinskia at gcc dot gnu.org
  2012-05-22  7:21 ` pinskia at gcc dot gnu.org
@ 2012-05-22 10:46 ` kais58 at sucs dot org
  2 siblings, 0 replies; 4+ messages in thread
From: kais58 at sucs dot org @ 2012-05-22 10:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49707

--- Comment #3 from kais58 at sucs dot org 2012-05-22 10:33:03 UTC ---
I should have updated this earlier, it turned out to be a problem with the
standard ld in IRIX 6.5, using the updated one included with MIPSPro made it
work without error.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-22 10:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 23:29 [Bug bootstrap/49707] New: GCC sends incorrect flags to native IRIX ld kais58 at sucs dot org
2012-05-22  7:19 ` [Bug bootstrap/49707] " pinskia at gcc dot gnu.org
2012-05-22  7:21 ` pinskia at gcc dot gnu.org
2012-05-22 10:46 ` kais58 at sucs dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).