public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* build gcc on Irix - problems got round not solved
@ 2003-11-12 14:56 Richard Gillman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Gillman @ 2003-11-12 14:56 UTC (permalink / raw)
  To: gcc-help

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

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

* Re: build gcc on Irix - problems got round not solved
@ 2003-11-14  9:10 Dara Hazeghi
  0 siblings, 0 replies; 2+ messages in thread
From: Dara Hazeghi @ 2003-11-14  9:10 UTC (permalink / raw)
  To: R.Gillman; +Cc: gcc-help

Hello Richard,

I don't know if you saw my response last week
<http://gcc.gnu.org/ml/gcc-help/2003-11/msg00095.html>.
Your problem looks very much like what is reported in
the "target-specific" install instructions. Hope this
helps,

Dara

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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

end of thread, other threads:[~2003-11-14  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 14:56 build gcc on Irix - problems got round not solved Richard Gillman
2003-11-14  9:10 Dara Hazeghi

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