This is the mail archive of the
mailing list for the GCC project.
Problems while building with glibc.2.0.6
- To: egcs-bugs at cygnus dot com
- Subject: Problems while building with glibc.2.0.6
- From: Ingo Krabbe <ingo at wallace dot ping dot de>
- Date: Tue, 10 Mar 1998 08:08:06 +0100
- References: <3503F923.firstname.lastname@example.org>
Ingo Krabbe wrote:
> System: i486-pc-linux-gnu
> EGCS-Version: egcs-2.91.08 980214 (gcc-2.8.0 release) from cvs Directory
> GCC-Version: 18.104.22.168
> GLIBC-Version: 2.0.6
> I recently reported an error to glibc because of strange segmentation faults,
> which was my fault because I didn't used the strange ld.so switches. Besides
> somebody wrote, that the egcs should build with libc6 and I tried that.
> But I get a very strange error while making bootstrap:
> Once built for example
> the /bin/sh reports 'no such file or directory' when calling this executable
> (which seems to be very present while typing 'ls'). I never seen this strange
> behaviour before.
> Why does this happen ?
> To repeat just type
> ./configure --enable-shared --enable-debug
> make bootstrap
Uh, Oh, shit, I made a mistake. First I forgot to tell the linker the correct
ld-linux.so.2, so I put it into mt-linux. But while building stage 2 the flag
was not set properly, yet. I found out, that I had to change LDFLAGS_FOR_TARGET.
It should be ok if you once make that the default behaviour of configure or at
least put some announce in INSTALL, README or FAQ.