This problem causes dietlibc-dev to fail to build from source on Ubuntu intrepid on amd64 with the following error:
gcc -D__dietlibc__ -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -Wall -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -nostdlib -o bin-x86_64/diet bin-x86_64/start.o bin-x86_64/dyn_start.o diet.c bin-x86_64/dietlibc.a bin-x86_64/dyn_stop.o -DDIETHOME=\"/work/dietlibc-0.31\" -DVERSION=\"0.31-1ubuntu3\" -lgcc strip -R .comment -R .note bin-x86_64/diet make[1]: *** [bin-x86_64/diet] Segmentation fault (core dumped) make[1]: *** Deleting file `bin-x86_64/diet' make[1]: Leaving directory `/work/dietlibc-0.31' make: *** [build-stamp] Error 2 Attached is a patch to fix this by adding the -Wl,-z,norelro option. ** Attachment added: "Add -Wl,-z,norelro option" http://launchpadlibrarian.net/18446767/dietlibc-norelro.patch -- strip segfaults on dietlibc-built executables https://bugs.launchpad.net/bugs/254790 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
