egcs-1.0.3a: xgcc-Internal compiler error on Linux 2.0.33 (SUSE 5.2, Intel): FIXED
Marcel Ruff
ruff@swand.lake.de
Fri Jul 10 07:42:00 GMT 1998
OK, problem fixed.
Thanks for your help, Andreas, Jeffrey!
Solution summary:
--------------
The problem was that glibc2 wasn't installed properly on my SUSE Linux
box!
After following http://www.imaxx.net/~thrytis/glibc
(compiling and installing glibc-2.0.6)
i could compile egcs without problems!
(I often wondered how i can change properly to glibc2, now its done!)
Marcel
ÃÂ
Hi Marcel,
you write:
> i had already installed glibc (copied from RedHat):/lib:ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
libc.so.6 ->
> libc-2.0.6.so
> /usr/lib:ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ libc.so -> libc.so.6
Which is totally wrong.ÃÂ I'm appending a question from the glibc
FAQ.
I fear you system isn't installed correctly.ÃÂ Please read the
glibc
FAQ which comes with glibc and the glibc HowTo
< http://www.imaxx.net/~thrytis/glibc >.
After fixing your glibc2 installation and verififying that it works
correctly, you can start building egcs again.
Andreas
2.7.ÃÂ ÃÂ ÃÂ Looking through the shared libc file I haven't
found the
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ functions `stat', `lstat',
`fstat', and `mknod' and while
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ linking on my Linux system
I get error messages.ÃÂ How is
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ this supposed to work?
{RM} Believe it or not, stat and lstat (and fstat, and mknod)
are supposed to be undefined references in libc.so.6!ÃÂ Your problem
is
probably a missing or incorrect /usr/lib/libc.so file; note that this
is a small text file now, not a symlink to libc.so.6.ÃÂ It should
look
something like this:
GROUP ( libc.so.6 libc_nonshared.a )
--
ÃÂ Andreas JaegerÃÂ ÃÂ aj@arthur.rhein-neckar.deÃÂ ÃÂ ÃÂ
jaeger@informatik.uni-kl.de
ÃÂ for pgp-key finger ajaeger@alma.student.uni-kl.de
ÃÂ
--ÃÂ
Marcel Ruff
ruff@swand.lake.de
http://www.lake.de/home/lake/swand/
ÃÂ
More information about the Gcc-bugs
mailing list