Gentoo Archives: gentoo-user

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