Gentoo Archives: gentoo-user

From: Corbin Bird <corbinbird@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9
Date: Sun, 14 Jan 2018 23:52:17
Message-Id: b1a1d14f-06c1-407d-befb-fc1cd6b4a787@charter.net
In Reply to: [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9 by Quico Jurado
1 On 01/14/2018 02:39 PM, Quico Jurado wrote:
2 > Hello,
3 >
4 > After doing doing the upgrade to my 17.0 profile
5 > (`default/linux/amd64/17.0/desktop'), and recompiling all my packages
6 > I ran into a problem while installing clisp. Basically is bailing out
7 > on the configure stage, this is the relevant output of the configure
8 > script (suppressed some output to reduce the noise):
9 >
10 > gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)
11 > configure:3901: $? = 0
12 > configure:3890: gcc -V >&5
13 > gcc: error: unrecognized command line option '-V'
14 > gcc: fatal error: no input files
15 > compilation terminated.
16 > configure:3901: $? = 1
17 > configure:3890: gcc -qversion >&5
18 > gcc: error: unrecognized command line option '-qversion'; did you mean
19 > '--v
20 > ersion'?
21 > gcc: fatal error: no input files
22 > compilation terminated.
23 > configure:3901: $? = 1
24 > configure:3921: checking whether the C compiler works
25 > configure:3943: gcc -march=native -O2 -pipe -fno-pie
26 > -Wa,--noexecstack  -I/usr/include/db4.8 -Wl,-O1 -Wl,--as-needed
27 > conftest.c  >&5
28 > configure:3947: $? = 0
29 > configure:3996: result: yes
30 > ...
31 > configure:4062: checking whether we are cross compiling
32 > configure:4070: gcc -o conftest -march=native -O2 -pipe -fno-pie
33 > -Wa,--noexecstack  -I/usr/include/db4.8 -Wl,-O1 -Wl,--as-needed
34 > conftest.c  >&5
35 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld:
36 > /var/tmp/portage/dev-lisp/clisp-2.49-r9/temp/ccPeB6Vb.o: relocation
37 > R_X86_64_32 against `.rodata.str1.1' can not be used when making a
38 > shared object; recompile with -fPIC
39 > /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld:
40 > final link failed: Nonrepresentable section on output
41 > collect2: error: ld returned 1 exit status
42 > configure:4074: $? = 1
43 > configure:4081: ./conftest
44 > configure: line 4083: ./conftest: No such file or directory
45 > configure:4085: $? = 127
46 > ...
47 > configure:4096: error: cannot run C compiled programs.
48 > If you meant to cross compile, use `--host'.
49 >
50 > Any help to work this out is much appreciated.
51 >
52 > Thanks,
53
54 From the ebuild :
55 >     # Bug 618170. If anyone has a better idea...
56 >     append-flags -fno-pie
57
58 This ebuild is using "EAPI=5".
59 Looks like it hasn't been updated in a while.
60
61 Profile 17 FORCES the use of PIE/PIC.
62 ( -fPIC, -fPIE are appended to the gcc commands )
63
64 I suspect that the Profile 17 forced flags would have to be disabled
65 somehow.
66 Have no idea if that is possible.
67
68 Corbin

Replies

Subject Author
Re: [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9 Quico Jurado <quico.jurado@×××××.com>