public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Anyone build 4.0.2 on IRIX 6.5?
@ 2005-10-12 13:30 Albert Chin
  2005-10-12 15:31 ` Rainer Orth
  0 siblings, 1 reply; 8+ messages in thread
From: Albert Chin @ 2005-10-12 13:30 UTC (permalink / raw)
  To: gcc

I'm getting a SGI linker bug building 4.0.2 on IRIX 6.5.23m and
6.5.26m:
  $ cd /opt/build
  $ bzip2 -dc /opt/src/devel/gcc-4.0.2/src/gcc-4.0.2.tar.bz2 | tar xf -
  $ mkdir gcc
  $ cd gcc
  $ CC=cc /opt/build/gcc-4.0.2/configure --enable-shared \
  --with-gnu-as --with-as="/opt/TWWfsw/gcc402/mips-sgi-irix6.5/bin/as" \
  --enable-languages="c,c++" 
  $ gmake bootstrap
  ...
  /opt/fsw/bin/bash ../libtool --tag CXX --mode=link
/opt/build/gcc/gcc/xgcc -shared-libgcc ... -B/opt/build/gcc/gcc/
-nostdinc++ -L/opt/build/gcc/mips-sgi-irix6.5/libstdc++-v3/src
-L/opt/build/gcc/mips-sgi-irix6.5/libstdc++-v3/src/.libs
-B/usr/local/mips-sgi-irix6.5/bin/ -B/usr/local/mips-sgi-irix6.5/lib/
-isystem /usr/local/mips-sgi-irix6.5/include -isystem
/usr/local/mips-sgi-irix6.5/sys-include   -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
-o libstdc++.la -rpath /usr/local/lib/../lib32 -version-info 6:6:0
-lm  bitmap_allocator.lo ...
  ...
  ld32: FATAL   2  : Internal: at ../../ld/section_type.c In load_info() unknown section type
  collect2: ld returned 1 exit status
  gmake[4]: *** [libstdc++.la] Error 1
  gmake[4]: Leaving directory `/opt/build/gcc/mips-sgi-irix6.5/libstdc++-v3/src'
  gmake[3]: *** [all-recursive] Error 1

I'm building with GNU as because of:
  http://gcc.gnu.org/ml/gcc-help/2005-10/msg00048.html

Has anyone managed to build 4.0.2 on IRIX 6.5?

-- 
albert chin (china@thewrittenword.com)

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-12 13:30 Anyone build 4.0.2 on IRIX 6.5? Albert Chin
@ 2005-10-12 15:31 ` Rainer Orth
  2005-10-12 15:42   ` Albert Chin
  2005-10-13  8:53   ` Rainer Orth
  0 siblings, 2 replies; 8+ messages in thread
From: Rainer Orth @ 2005-10-12 15:31 UTC (permalink / raw)
  To: gcc

Albert Chin <gcc@mlists.thewrittenword.com> writes:

>   ld32: FATAL   2  : Internal: at ../../ld/section_type.c In load_info() unknown section type
>   collect2: ld returned 1 exit status
>   gmake[4]: *** [libstdc++.la] Error 1

Which version of ld do you use?  I'm having problems with MIPSpro 7.4.3m ld
on IRIX 6.5.26f which fails to link cc1 in stage2 due to a GOT overflow.
MIPSpro 7.3 ld on IRIX 6.5.10m is ok, though.

I tried to report this (a regression from the 3.4 branch where both
versions of ld work ok), but failed since gccbug on the new gcc.gnu.org
didn't work at the time.

> I'm building with GNU as because of:
>   http://gcc.gnu.org/ml/gcc-help/2005-10/msg00048.html

As of 4.0, GNU as is required for IRIX 5 and 6.  The SGI as support has
been ripped out.  This is documented at

	http://gcc.gnu.org/gcc-4.0/changes.html

but the install docs are incorrect at this point.

> Has anyone managed to build 4.0.2 on IRIX 6.5?

As described above, for the 4.0 branch as of 20050928 (i.e. after the 4.0.2
release, but I doubt that's relevant).

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-12 15:31 ` Rainer Orth
@ 2005-10-12 15:42   ` Albert Chin
  2005-10-13  7:28     ` Richard Sandiford
  2005-10-13  8:53   ` Rainer Orth
  1 sibling, 1 reply; 8+ messages in thread
From: Albert Chin @ 2005-10-12 15:42 UTC (permalink / raw)
  To: gcc

On Wed, Oct 12, 2005 at 05:09:20PM +0200, Rainer Orth wrote:
> Albert Chin <gcc@mlists.thewrittenword.com> writes:
> 
> >   ld32: FATAL   2  : Internal: at ../../ld/section_type.c In load_info() unknown section type
> >   collect2: ld returned 1 exit status
> >   gmake[4]: *** [libstdc++.la] Error 1
> 
> Which version of ld do you use?  I'm having problems with MIPSpro 7.4.3m ld
> on IRIX 6.5.26f which fails to link cc1 in stage2 due to a GOT overflow.
> MIPSpro 7.3 ld on IRIX 6.5.10m is ok, though.

MIPSpro 7.4.3m ld.

> I tried to report this (a regression from the 3.4 branch where both
> versions of ld work ok), but failed since gccbug on the new gcc.gnu.org
> didn't work at the time.

I'll report a bug for my problem though it seems like a ld(1) bug.

-- 
albert chin (china@thewrittenword.com)

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-12 15:42   ` Albert Chin
@ 2005-10-13  7:28     ` Richard Sandiford
  2005-10-13  8:01       ` Laurent GUERBY
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Sandiford @ 2005-10-13  7:28 UTC (permalink / raw)
  To: gcc

Albert Chin <gcc@mlists.thewrittenword.com> writes:
> On Wed, Oct 12, 2005 at 05:09:20PM +0200, Rainer Orth wrote:
>> Albert Chin <gcc@mlists.thewrittenword.com> writes:
>> 
>> >   ld32: FATAL   2  : Internal: at ../../ld/section_type.c In load_info() unknown section type
>> >   collect2: ld returned 1 exit status
>> >   gmake[4]: *** [libstdc++.la] Error 1
>> 
>> Which version of ld do you use?  I'm having problems with MIPSpro 7.4.3m ld
>> on IRIX 6.5.26f which fails to link cc1 in stage2 due to a GOT overflow.
>> MIPSpro 7.3 ld on IRIX 6.5.10m is ok, though.
>
> MIPSpro 7.4.3m ld.

Unless you're interested in Ada, I'd recommend trying with the GNU
linker instead.  I was getting good results with binutils 2.16 on 4.0
at one stage, although I no longer have access to an IRIX system.

(There's no intrinsic reason why you can't use the GNU linker for Ada too.
It's just that Rainer has reported problems in the past, and no-one has
cared enough to iron out the creases.)

Richard

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-13  7:28     ` Richard Sandiford
@ 2005-10-13  8:01       ` Laurent GUERBY
  2005-10-13  9:45         ` Rainer Orth
  0 siblings, 1 reply; 8+ messages in thread
From: Laurent GUERBY @ 2005-10-13  8:01 UTC (permalink / raw)
  To: Richard Sandiford; +Cc: Rainer Orth, gcc

On Thu, 2005-10-13 at 07:50 +0100, Richard Sandiford wrote:
> Unless you're interested in Ada, I'd recommend trying with the GNU
> linker instead.  I was getting good results with binutils 2.16 on 4.0
> at one stage, although I no longer have access to an IRIX system.
> 
> (There's no intrinsic reason why you can't use the GNU linker for Ada too.
> It's just that Rainer has reported problems in the past, and no-one has
> cared enough to iron out the creases.)

Richard, Rainer, is there a PR for this problem?

Laurent

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-12 15:31 ` Rainer Orth
  2005-10-12 15:42   ` Albert Chin
@ 2005-10-13  8:53   ` Rainer Orth
  1 sibling, 0 replies; 8+ messages in thread
From: Rainer Orth @ 2005-10-13  8:53 UTC (permalink / raw)
  To: Rainer Orth; +Cc: gcc

Rainer Orth <ro@techfak.uni-bielefeld.de> writes:

> Which version of ld do you use?  I'm having problems with MIPSpro 7.4.3m ld
> on IRIX 6.5.26f which fails to link cc1 in stage2 due to a GOT overflow.
> MIPSpro 7.3 ld on IRIX 6.5.10m is ok, though.
> 
> I tried to report this (a regression from the 3.4 branch where both
> versions of ld work ok), but failed since gccbug on the new gcc.gnu.org
> didn't work at the time.

A quick update: gccbug works again, thanks to the tireless efforts of Dan
Berlin, and there's now PR target/24334 for this issue.  Curiously a C-only
mainline bootstrap with SGI cc 7.4.3m instead of gcc 3.4.5 works without
issues.  Very strange ;-(

	Rainer

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-13  8:01       ` Laurent GUERBY
@ 2005-10-13  9:45         ` Rainer Orth
  2005-10-13 11:16           ` Rainer Emrich
  0 siblings, 1 reply; 8+ messages in thread
From: Rainer Orth @ 2005-10-13  9:45 UTC (permalink / raw)
  To: Laurent GUERBY; +Cc: Richard Sandiford, gcc, Rainer Emrich

Laurent GUERBY writes:

> On Thu, 2005-10-13 at 07:50 +0100, Richard Sandiford wrote:
> > Unless you're interested in Ada, I'd recommend trying with the GNU
> > linker instead.  I was getting good results with binutils 2.16 on 4.0
> > at one stage, although I no longer have access to an IRIX system.
> > 
> > (There's no intrinsic reason why you can't use the GNU linker for Ada too.
> > It's just that Rainer has reported problems in the past, and no-one has
> > cared enough to iron out the creases.)
> 
> Richard, Rainer, is there a PR for this problem?

I'm not sure, I cannot currently find this in my notes.  However, there was
a GCC 4.0.2 build report on IRIX 6.5 with binutils 2.16 yesterday where Ada
testresults were as terrible with GNU ld as I recall they were for me:

	http://gcc.gnu.org/ml/gcc/2005-10/msg00258.html

I don't have any tree with Ada and GNU ld on IRIX anymore, so I cannot
easily check what the errors were.  Maybe Rainer Emrich who reported those
results can help with the details from gcc/testsuite/ada/acats/acats.log?

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

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

* Re: Anyone build 4.0.2 on IRIX 6.5?
  2005-10-13  9:45         ` Rainer Orth
@ 2005-10-13 11:16           ` Rainer Emrich
  0 siblings, 0 replies; 8+ messages in thread
From: Rainer Emrich @ 2005-10-13 11:16 UTC (permalink / raw)
  To: Rainer Orth; +Cc: Laurent GUERBY, Richard Sandiford, gcc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unfortunately I removed the acats.log file. But I'm going to rebuild.

Rainer

Rainer Orth schrieb:
> Laurent GUERBY writes:
> 
> 
>>On Thu, 2005-10-13 at 07:50 +0100, Richard Sandiford wrote:
>>
>>>Unless you're interested in Ada, I'd recommend trying with the GNU
>>>linker instead.  I was getting good results with binutils 2.16 on 4.0
>>>at one stage, although I no longer have access to an IRIX system.
>>>
>>>(There's no intrinsic reason why you can't use the GNU linker for Ada too.
>>>It's just that Rainer has reported problems in the past, and no-one has
>>>cared enough to iron out the creases.)
>>
>>Richard, Rainer, is there a PR for this problem?
> 
> 
> I'm not sure, I cannot currently find this in my notes.  However, there was
> a GCC 4.0.2 build report on IRIX 6.5 with binutils 2.16 yesterday where Ada
> testresults were as terrible with GNU ld as I recall they were for me:
> 
> 	http://gcc.gnu.org/ml/gcc/2005-10/msg00258.html
> 
> I don't have any tree with Ada and GNU ld on IRIX anymore, so I cannot
> easily check what the errors were.  Maybe Rainer Emrich who reported those
> results can help with the details from gcc/testsuite/ada/acats/acats.log?
> 
> 	Rainer
> 
> -----------------------------------------------------------------------------
> Rainer Orth, Faculty of Technology, Bielefeld University


- --
Rainer Emrich
TECOSIM GmbH
Im Eichsfeld 3
65428 Rüsselsheim

Phone: +49(0)6142/8272 12
Mobile: +49(0)163/56 949 20
Fax.:   +49(0)6142/8272 49
Web: www.tecosim.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDTj0J3s6elE6CYeURAqkzAKCe8zh8Ub7WVNNglT3A8J2+h68piwCffSl2
4b11mDmOPWfjEEiuRg1Pk8s=
=nNB5
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2005-10-13 10:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-12 13:30 Anyone build 4.0.2 on IRIX 6.5? Albert Chin
2005-10-12 15:31 ` Rainer Orth
2005-10-12 15:42   ` Albert Chin
2005-10-13  7:28     ` Richard Sandiford
2005-10-13  8:01       ` Laurent GUERBY
2005-10-13  9:45         ` Rainer Orth
2005-10-13 11:16           ` Rainer Emrich
2005-10-13  8:53   ` Rainer Orth

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).