public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9
@ 2018-01-14 20:39 Quico Jurado
  2018-01-14 23:51 ` Corbin Bird
  0 siblings, 1 reply; 3+ messages in thread
From: Quico Jurado @ 2018-01-14 20:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1903 bytes --]

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,

[-- Attachment #2: Type: text/html, Size: 2112 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9
  2018-01-14 20:39 [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9 Quico Jurado
@ 2018-01-14 23:51 ` Corbin Bird
  2018-01-15 18:32   ` Quico Jurado
  0 siblings, 1 reply; 3+ messages in thread
From: Corbin Bird @ 2018-01-14 23:51 UTC (permalink / raw
  To: gentoo-user



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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9
  2018-01-14 23:51 ` Corbin Bird
@ 2018-01-15 18:32   ` Quico Jurado
  0 siblings, 0 replies; 3+ messages in thread
From: Quico Jurado @ 2018-01-15 18:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2743 bytes --]

OK, based on #Bug 638514, installing clisp-2.49.60 fixed the problem.

Thanks!

On Mon, Jan 15, 2018 at 12:51 AM, Corbin Bird <corbinbird@charter.net>
wrote:

>
>
> 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
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 3670 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-15 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-14 20:39 [gentoo-user] emerge error for dev-lisp/clisp-2.49-r9 Quico Jurado
2018-01-14 23:51 ` Corbin Bird
2018-01-15 18:32   ` Quico Jurado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox