build gcc on Irix - problems got round not solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks,

Aweek ago, I sent an email to the effect that, when building gcc on Irix 6.5, when I did "gmake bootstrap", the build failed with

......
libgcc/mabi=64/_thenan_tf.o libgcc/mabi=64/_tf_to_usi.o libgcc/mabi=64/_usi_to_tf.o libgcc/mabi=64/_tilib.o libgcc/mabi=64/unwind-dw2.o libgcc/mabi=64/unwind-dw2-fde.o libgcc/mabi=64/unwind-sjlj.o libgcc/mabi=64/unwind-c.o -lc && rm -f libgcc_s_mabi=64.so && ln -s mabi=64/libgcc_s.so.1 libgcc_s_mabi=64.so
ld64: FATAL 9: I/O error (-lc): No such file or directory
collect2: ld returned 32 exit status
gmake[3]: *** [mabi=64/libgcc_s_mabi=64.so] Error 1
gmake[3]: Leaving directory `/net/shannon/local1/dick1/gcc/irix/gcc-3.3.2-obj/gcc'


which looked as if it was looking for and couldn't find a file named "-lc"

On further investigation, it appeared this is a problem going back some time, the earliest reference I found was 1999. But I could find no clear solution.

My work-around:

After configure,

find . -name Makefile -exec egrep -l "\-lc" {} \;

found ./gcc/Makefile; removing the occurrence of -lc from this allowed the make to get a lot further. This time it failed in a shell script libtool.


44 rgi@ravello>find . -name libtool -exec egrep -l "\-lc" {} \; ./mips-sgi-irix6.5/mabi=64/libstdc++-v3/libtool ./mips-sgi-irix6.5/mabi=64/libf2c/libtool ./mips-sgi-irix6.5/libstdc++-v3/libtool ./mips-sgi-irix6.5/libf2c/libtool ./zlib/libtool

(These scripts were created during the gmake process.) Removing the references to -lc in these scripts allowed the make to complete.

Two questions.
* can anyone see any potential problems with the gcc I've built?
* anyone know the correct way to build gcc on Irix 6.5?

Dick

--
Richard Gillman
iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux