Possible problems with the current CVS version

Steven Honeyman <[email protected]> Tue, 19 Aug 2014 00:37:08 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <CABz95_CO=U6Vjxcx3Wxp5g6qXAb6YCWbw0wCk0gc6DjfivWa2w@mail.gmail.com>
Hello,

I've been trying to get the latest CVS version of dietlibc to compile
(and work!) but not having much luck.

x86_64, gcc 4.9.1, nothing unusual
I'm using the dash shell git source (last changed in 2013) as
something to test with because I know it already works well with
dietlibc 0.33

Compiling dietlibc without modification (just "make -j1 all"), I get
lots of these errors:
/usr/bin/ld: error in /opt/diet/lib-x86_64/dyn_stop.o(.eh_frame); no
.eh_frame_hdr table will be created

After some testing, adding "-fno-asynchronous-unwind-tables" stopped
that message appearing. It seemed to work OK with a "hello world"
program, and *compiles* dash, but trying to run it I get:

$ src/dash
sh: 0: Illegal number: 1

So I think the extra CFLAG I added probably just hid the error instead
of fixing it. Has anyone had similar issues?


Thanks,
Steven.