On 01/14/2018 02:39 PM, Quico Jurado wrote: > Hello, > > After doing doing the upgrade to my 17.0 profile > (`default/linux/amd64/17.0/desktop'), and recompiling all my packages > I ran into a problem while installing clisp. Basically is bailing out > on the configure stage, this is the relevant output of the configure > script (suppressed some output to reduce the noise): > > gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3) > configure:3901: $? = 0 > configure:3890: gcc -V >&5 > gcc: error: unrecognized command line option '-V' > gcc: fatal error: no input files > compilation terminated. > configure:3901: $? = 1 > configure:3890: gcc -qversion >&5 > gcc: error: unrecognized command line option '-qversion'; did you mean > '--v > ersion'? > gcc: fatal error: no input files > compilation terminated. > configure:3901: $? = 1 > configure:3921: checking whether the C compiler works > configure:3943: gcc -march=native -O2 -pipe -fno-pie > -Wa,--noexecstack -I/usr/include/db4.8 -Wl,-O1 -Wl,--as-needed > conftest.c >&5 > configure:3947: $? = 0 > configure:3996: result: yes > ... > configure:4062: checking whether we are cross compiling > configure:4070: gcc -o conftest -march=native -O2 -pipe -fno-pie > -Wa,--noexecstack -I/usr/include/db4.8 -Wl,-O1 -Wl,--as-needed > conftest.c >&5 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: > /var/tmp/portage/dev-lisp/clisp-2.49-r9/temp/ccPeB6Vb.o: relocation > R_X86_64_32 against `.rodata.str1.1' can not be used when making a > shared object; recompile with -fPIC > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: > final link failed: Nonrepresentable section on output > collect2: error: ld returned 1 exit status > configure:4074: $? = 1 > configure:4081: ./conftest > configure: line 4083: ./conftest: No such file or directory > configure:4085: $? = 127 > ... > configure:4096: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > > Any help to work this out is much appreciated. > > Thanks,
>From the ebuild : > # Bug 618170. If anyone has a better idea... > append-flags -fno-pie This ebuild is using "EAPI=5". Looks like it hasn't been updated in a while. Profile 17 FORCES the use of PIE/PIC. ( -fPIC, -fPIE are appended to the gcc commands ) I suspect that the Profile 17 forced flags would have to be disabled somehow. Have no idea if that is possible. Corbin