make on Debian 9.2 failing
Lehner Georg <[email protected]> Sat, 2 Dec 2017 20:24:13 -0600
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Organization | MagmaSoft |
| Message-ID | <[email protected]> |
Hello, I am on Debian 9.2, uname -a: Linux pwx 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux and I have just done a cvs update -C make which fails with the below copied error command/error message (PS1). Does this have to do something with the "Ubuntu facepalm" remark in the Makefile? Find also all "stackgap" compiler commands/output below for reference (PS2). Best Regards, Georg PS1: gcc -D__dietlibc__ -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -Wshadow -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=\"/home/jorge/progs/dietlibc\" -DVERSION=\"dietlibc-0.34\" -lgcc /usr/bin/ld: bin-x86_64/dietlibc.a(stackgap.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:355: recipe for target 'bin-x86_64/diet' failed make: *** [bin-x86_64/diet] Error 1 PS2: ... gcc -D__dietlibc__ -I. -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -Wshadow -fpie -fvisibility=hidden -fno-stack-protector -fno-pie -c lib/stackgap.c -o bin-x86_64/stackgap.o -D__dietlibc__ strip -x -R .comment -R .note bin-x86_64/stackgap.o ... gcc -D__dietlibc__ -I. -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -Wshadow -fpie -fvisibility=hidden -fno-stack-protector -Dstackgap=stackgap_pie -fpie -fvisibility=hidden -c x86_64/stackgap-pie.c -o bin-x86_64/stackgap-pie.o -D__dietlibc__ strip -x -R .comment -R .note bin-x86_64/stackgap-pie.o ... -- Georg Lehner MagmaSoft Internet Services http://magma-soft.at/ mailto:[email protected]