public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GNU linker and gcc on IRIX6.x
@ 2000-02-21  9:09 Koundinya K
  2000-02-22 17:15 ` Alexandre Oliva
  2000-04-01  0:00 ` Koundinya K
  0 siblings, 2 replies; 6+ messages in thread
From: Koundinya K @ 2000-02-21  9:09 UTC (permalink / raw)
  To: gcc-help

Hi all,
    Has anyone succeeded in building one of the recent egcs snapshots on

IRIX6.x using the GNU linker. The current egcs snapshots have the
provision of using the GNU linker. I am using IRIX6.4. I could get the
binutils snapshot compile easily. But when the resulting linker is used
for the later part of the egcs compilation, the linker dumps core
citing segmentation violation while trying to link some ............(
Sorry I just removed the buildlog )
. I have tried two other egcs snapshots too, but the problem remains the

same.

But things work if the SGI ld is used.  No surprises there !!. So I
would suspect that this could be a problem with the GNU linker. I am
under the impression that the GNU linker is now well supported on
IRIX6.x.

Anyone ??

Thanks in advance for any help or info.

With best regards

koundinya

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

* Re: GNU linker and gcc on IRIX6.x
  2000-02-21  9:09 GNU linker and gcc on IRIX6.x Koundinya K
@ 2000-02-22 17:15 ` Alexandre Oliva
  2000-02-23  0:08   ` Koundinya K
  2000-04-01  0:00   ` Alexandre Oliva
  2000-04-01  0:00 ` Koundinya K
  1 sibling, 2 replies; 6+ messages in thread
From: Alexandre Oliva @ 2000-02-22 17:15 UTC (permalink / raw)
  To: Koundinya K; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

On Feb 21, 2000, Koundinya K <knk@dde.dk> wrote:

> Has anyone succeeded in building one of the recent egcs snapshots on
> IRIX6.x using the GNU linker.

IIRC, it works, unless you --enable-shared, because GNU ld doesn't
support -shared on IRIX6.  Which version of GNU binutils are you
using?

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

* Re: GNU linker and gcc on IRIX6.x
  2000-02-22 17:15 ` Alexandre Oliva
@ 2000-02-23  0:08   ` Koundinya K
  2000-04-01  0:00     ` Koundinya K
  2000-04-01  0:00   ` Alexandre Oliva
  1 sibling, 1 reply; 6+ messages in thread
From: Koundinya K @ 2000-02-23  0:08 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]

Hi,
    Thanks there for the reply. I am using the binutils snapshot
binutils-000217. Even if I omit the --enable-shared while configuring,
still there are no changes. Here is the exact point in the build where
the GNU linker seg faults.

stage1/xgcc -Bstage1/ -B/opt/devtools/mips-sgi-irix6.4/bin/ -c
-DIN_GCC    -W -Wall -Wtraditional -O2 -g  -DHAVE_CONFIG_H    -I.
-I../../egcs-20000214/gcc -I../../egcs-20000214/gcc/config
-I../../egcs-20000214/gcc/../include obstack.c
stage1/xgcc -Bstage1/ -B/opt/devtools/mips-sgi-irix6.4/bin/  -DIN_GCC
-W -Wall -Wtraditional -O2 -g  -DHAVE_CONFIG_H  -o cppmain cppmain.o \
intl.o libcpp.a obstack.o        ../libiberty/libiberty.a
collect2: ld terminated with signal 11 [Segmentation fault]
gmake[2]: *** [cppmain] Error 1
gmake[2]: Leaving directory
`/volume2/knk/src/egcs/build-egcs-20000214/gcc'
gmake[1]: *** [bootstrap-lean] Error 2
gmake[1]: Leaving directory
`/volume2/knk/src/egcs/build-egcs-20000214/gcc'
gmake: *** [bootstrap-lean] Error 2

Any other suggestion or help will be appreciated .

BTW, Does the GNU ld atleast support the generation of shared libs on
IRIX6.x ??

Thanks

koundinya


Alexandre Oliva wrote:

> On Feb 21, 2000, Koundinya K <knk@dde.dk> wrote:
>
> > Has anyone succeeded in building one of the recent egcs snapshots on
> > IRIX6.x using the GNU linker.
>
> IIRC, it works, unless you --enable-shared, because GNU ld doesn't
> support -shared on IRIX6.  Which version of GNU binutils are you
> using?
>
> --
> Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
> Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
> Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
> oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

* Re: GNU linker and gcc on IRIX6.x
  2000-02-23  0:08   ` Koundinya K
@ 2000-04-01  0:00     ` Koundinya K
  0 siblings, 0 replies; 6+ messages in thread
From: Koundinya K @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]

Hi,
    Thanks there for the reply. I am using the binutils snapshot
binutils-000217. Even if I omit the --enable-shared while configuring,
still there are no changes. Here is the exact point in the build where
the GNU linker seg faults.

stage1/xgcc -Bstage1/ -B/opt/devtools/mips-sgi-irix6.4/bin/ -c
-DIN_GCC    -W -Wall -Wtraditional -O2 -g  -DHAVE_CONFIG_H    -I.
-I../../egcs-20000214/gcc -I../../egcs-20000214/gcc/config
-I../../egcs-20000214/gcc/../include obstack.c
stage1/xgcc -Bstage1/ -B/opt/devtools/mips-sgi-irix6.4/bin/  -DIN_GCC
-W -Wall -Wtraditional -O2 -g  -DHAVE_CONFIG_H  -o cppmain cppmain.o \
intl.o libcpp.a obstack.o        ../libiberty/libiberty.a
collect2: ld terminated with signal 11 [Segmentation fault]
gmake[2]: *** [cppmain] Error 1
gmake[2]: Leaving directory
`/volume2/knk/src/egcs/build-egcs-20000214/gcc'
gmake[1]: *** [bootstrap-lean] Error 2
gmake[1]: Leaving directory
`/volume2/knk/src/egcs/build-egcs-20000214/gcc'
gmake: *** [bootstrap-lean] Error 2

Any other suggestion or help will be appreciated .

BTW, Does the GNU ld atleast support the generation of shared libs on
IRIX6.x ??

Thanks

koundinya


Alexandre Oliva wrote:

> On Feb 21, 2000, Koundinya K <knk@dde.dk> wrote:
>
> > Has anyone succeeded in building one of the recent egcs snapshots on
> > IRIX6.x using the GNU linker.
>
> IIRC, it works, unless you --enable-shared, because GNU ld doesn't
> support -shared on IRIX6.  Which version of GNU binutils are you
> using?
>
> --
> Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
> Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
> Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
> oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

* GNU linker and gcc on IRIX6.x
  2000-02-21  9:09 GNU linker and gcc on IRIX6.x Koundinya K
  2000-02-22 17:15 ` Alexandre Oliva
@ 2000-04-01  0:00 ` Koundinya K
  1 sibling, 0 replies; 6+ messages in thread
From: Koundinya K @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

Hi all,
    Has anyone succeeded in building one of the recent egcs snapshots on

IRIX6.x using the GNU linker. The current egcs snapshots have the
provision of using the GNU linker. I am using IRIX6.4. I could get the
binutils snapshot compile easily. But when the resulting linker is used
for the later part of the egcs compilation, the linker dumps core
citing segmentation violation while trying to link some ............(
Sorry I just removed the buildlog )
. I have tried two other egcs snapshots too, but the problem remains the

same.

But things work if the SGI ld is used.  No surprises there !!. So I
would suspect that this could be a problem with the GNU linker. I am
under the impression that the GNU linker is now well supported on
IRIX6.x.

Anyone ??

Thanks in advance for any help or info.

With best regards

koundinya

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

* Re: GNU linker and gcc on IRIX6.x
  2000-02-22 17:15 ` Alexandre Oliva
  2000-02-23  0:08   ` Koundinya K
@ 2000-04-01  0:00   ` Alexandre Oliva
  1 sibling, 0 replies; 6+ messages in thread
From: Alexandre Oliva @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Koundinya K; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

On Feb 21, 2000, Koundinya K <knk@dde.dk> wrote:

> Has anyone succeeded in building one of the recent egcs snapshots on
> IRIX6.x using the GNU linker.

IIRC, it works, unless you --enable-shared, because GNU ld doesn't
support -shared on IRIX6.  Which version of GNU binutils are you
using?

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-21  9:09 GNU linker and gcc on IRIX6.x Koundinya K
2000-02-22 17:15 ` Alexandre Oliva
2000-02-23  0:08   ` Koundinya K
2000-04-01  0:00     ` Koundinya K
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` Koundinya K

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