This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-1.0 and Irix 6.2: strange build failure


Hi there,

I'm trying to build egcs-1.0 on an R5k Indy running Irix 6.2.  Everything
is going swimmingly through the bulk of the bootstrap process (stage1 and
stage2 go by without a hitch).  However, the build fails with an extremely
odd error while building the C++ libraries:

make[5]: Entering directory
`/scratch/2/incoming/egcs-1.0/sgi_62/libraries/mabi=64/libio'

make[5]: `iostream.list' is up to date.

make[5]: Leaving directory
`/scratch/2/incoming/egcs-1.0/sgi_62/libraries/mabi=64/libio'

/scratch/2/incoming/egcs-1.0/sgi_62/gcc/xgcc
-B/scratch/2/incoming/egcs-1.0/sgi_62/gcc/ -g -O2 -fno-implicit-templates 
-mabi=64  -shared -o libstdc++.so.2.8.0 `cat piclist` -lm

ld: FATAL 9: I/O error (-lm): No such file or directory

I say this is odd because a simple ls reveals:

$ ls -l /usr/lib/libm.*
-r--r--r--   1 root     sys        212884 Jun  9  1997 /usr/lib/libm.a
-r--r--r--   1 root     sys         97228 Nov 25 11:00 /usr/lib/libm.so

So I haven't the foggiest notion why I'm getting a library not found error.
I've got two questions:

(1) Why is this happening, and how can I fix it?
(2) How can I restart the build process where it's left off, without having
    to rebuild the stage1 and stage2 compilers?
    
Thanks for your help,

  -- Lars

--
Lars Kellogg-Stedman * lars@bu.edu * (617)353-8277
Office of Information Technology, Boston University




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]