Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668136 - dev-ada/gnatcoll-bindings-2018 : /.../ld: /.../iconv_support.o: relocation R_X86_64_32 against .rodata.str1.1 can not be used when making a shared object; recompile with -fPIC
Summary: dev-ada/gnatcoll-bindings-2018 : /.../ld: /.../iconv_support.o: relocation R_...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-09 08:29 UTC by Toralf Förster
Modified: 2018-10-15 04:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.86 KB, text/plain)
2018-10-09 08:29 UTC, Toralf Förster
Details
dev-ada:gnatcoll-bindings-2018:20181009-060548.log (dev-ada:gnatcoll-bindings-2018:20181009-060548.log,5.38 KB, text/plain)
2018-10-09 08:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.16 KB, text/plain)
2018-10-09 08:29 UTC, Toralf Förster
Details
environment (environment,85.79 KB, text/plain)
2018-10-09 08:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.87 KB, application/x-bzip)
2018-10-09 08:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.16 KB, application/x-bzip)
2018-10-09 08:29 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,16.72 KB, text/plain)
2018-10-10 16:52 UTC, Toralf Förster
Details
dev-ada:gnatcoll-bindings-2018:20181010-162119.log (dev-ada:gnatcoll-bindings-2018:20181010-162119.log,8.95 KB, text/plain)
2018-10-10 16:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.70 KB, text/plain)
2018-10-10 16:53 UTC, Toralf Förster
Details
environment (environment,86.39 KB, text/plain)
2018-10-10 16:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.97 KB, application/x-bzip)
2018-10-10 16:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.57 KB, application/x-bzip)
2018-10-10 16:53 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-10-09 08:29:36 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-ada/gnatcoll-bindings-2018/work/gnatcoll-bindings-gpl-2018-src/iconv/obj/relocatable/iconv_support.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/7.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
gprlib: /usr/bin/gcc-7.3.1 execution error

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20181006-210858

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpvO dev-ada/gnatcoll-bindings
[ebuild  N    ] dev-ada/gnatcoll-bindings-2018  USE="gnat_2018 iconv readline shared -gmp -gnat_2016 -gnat_2017 -python -static-libs -static-pic -syslog" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-10-09 08:29:38 UTC
Created attachment 550186 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-09 08:29:41 UTC
Created attachment 550188 [details]
dev-ada:gnatcoll-bindings-2018:20181009-060548.log
Comment 3 Toralf Förster gentoo-dev 2018-10-09 08:29:43 UTC
Created attachment 550190 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-10-09 08:29:46 UTC
Created attachment 550192 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-10-09 08:29:49 UTC
Created attachment 550194 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-09 08:29:51 UTC
Created attachment 550196 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2018-10-10 06:32:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7410574a61c89e20cd163c6944da4633884fb2b1

commit 7410574a61c89e20cd163c6944da4633884fb2b1
Author:     Tupone Alfredo <tupone@gentoo.org>
AuthorDate: 2018-10-10 06:32:42 +0000
Commit:     Tupone Alfredo <tupone@gentoo.org>
CommitDate: 2018-10-10 06:32:42 +0000

    dev-ada/gnatcoll-bindings: use as C compiler the one shipped with gnat
    
    Closes: https://bugs.gentoo.org/668136
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 .../files/gnatcoll-bindings-2018-gentoo.patch       | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Comment 8 Toralf Förster gentoo-dev 2018-10-10 16:52:57 UTC
not solved IMO
Comment 9 Toralf Förster gentoo-dev 2018-10-10 16:52:59 UTC
Created attachment 550522 [details]
emerge-info.txt
Comment 10 Toralf Förster gentoo-dev 2018-10-10 16:53:02 UTC
Created attachment 550524 [details]
dev-ada:gnatcoll-bindings-2018:20181010-162119.log
Comment 11 Toralf Förster gentoo-dev 2018-10-10 16:53:04 UTC
Created attachment 550526 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2018-10-10 16:53:07 UTC
Created attachment 550528 [details]
environment
Comment 13 Toralf Förster gentoo-dev 2018-10-10 16:53:09 UTC
Created attachment 550530 [details]
etc.portage.tbz2
Comment 14 Toralf Förster gentoo-dev 2018-10-10 16:53:12 UTC
Created attachment 550532 [details]
temp.tbz2
Comment 15 Tupone Alfredo gentoo-dev 2018-10-10 20:08:39 UTC
This time the error is in a different place.
I cannot reproduce neither the one that I fixed, neither this one.
Nevertheless I will try to fix it.
How can I reproduce? Do you have something special in the configuration ?
Thanks
Comment 16 Tupone Alfredo gentoo-dev 2018-10-15 04:45:36 UTC
Please retest