Linkerror on i86pc.sunos5.5.1

b.d. vrijkorte Use-Author-Address-Header@[127.1]
Thu Sep 30 00:22:00 GMT 1999


I succesfully compiled version 2.9.5.0.12 of binutils for sun4 machines (SunOs4, Solaris2.5 and Solaris2.6).
I can compile it on a i86pc with solaris2.5.1 (using the sun linker), but I can't build it with itself!
When I try to build it with itself I get the following error(s):  

Configuring for a i386-pc-solaris2.5.1 host.
Created "Makefile" in
/nfs/suns19-fs2/work/systempa/dg529/work/scs/builddir-scs-gcc-2.95.1_sig1.0_PRELIMINARY-i86pc.sunos5.5.1/binutils-2.9.5.0.14
using "mh-frag"
/opt/scs/gcc-2.95.1_sig1.0_PRELIMINARY/i86pc.sunos5.5.1/i386-pc-solaris2.5.1/bin/ld:
section .stab.exclstr [00000000 -> 0000000d] overlaps section .stab.excl
[00000000 -> 00000017]
/opt/scs/gcc-2.95.1_sig1.0_PRELIMINARY/i86pc.sunos5.5.1/i386-pc-solaris2.5.1/bin/ld:
section .stab.index [00000000 -> 00000047] overlaps section .stab.excl
[00000000 -> 00000017]
/opt/scs/gcc-2.95.1_sig1.0_PRELIMINARY/i86pc.sunos5.5.1/i386-pc-solaris2.5.1/bin/ld:
section .stab.indexstr [00000000 -> 00000053] overlaps section
stab.excl [00000000 -> 00000017]
/opt/scs/gcc-2.95.1_sig1.0_PRELIMINARY/i86pc.sunos5.5.1/i386-pc-solaris2.5.1/bin/ld:
conftest: Not enough room for program headers (allocated 5, need 6)
/opt/scs/gcc-2.95.1_sig1.0_PRELIMINARY/i86pc.sunos5.5.1/i386-pc-solaris2.5.1/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 -W -Wall   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Configuring in ./libiberty
creating cache ./config.cache
checking host system type... i386-pc-solaris2.5.1
checking build system type... i386-pc-solaris2.5.1
checking for ar... ar
** cut **

This problem also appears with version 2.9.5.0.13 and 2.9.5.0.14. Is
this a known bug or do I do something wrong? Do you recognize the problem or
do you need more information? Please give me a hint. 

Sincerely,

Bjorn Vrijkorte


- Unclassified Posting -



More information about the Gcc-help mailing list