Steven Honeyman
2014-08-18 23:37:08 UTC
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.
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.