Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668450

Summary: dev-ada/libadalang-2018 : /.../ld: /.../quex_lexer.o: relocation R_X86_64_PC32 against symbol quex_bom_snap_core can not be used when making a shared object; recompile with -fPIC
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ada:libadalang-2018:20181012-015400.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-10-12 13:19:23 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-ada/libadalang-2018/work/libadalang-gpl-2018-src/build/obj/libadalang.relocatable/quex_lexer.o: warning: relocation against `quex_quex_lexer_include_pop' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-ada/libadalang-2018/work/libadalang-gpl-2018-src/build/obj/libadalang.relocatable/quex_lexer.o: relocation R_X86_64_PC32 against symbol `quex___bom_snap_core' 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: Bad value
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-hardened_test_20181006-210654

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

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)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpvO dev-ada/libadalang
[ebuild  N    ] dev-ada/libadalang-2018  USE="gnat_2018 shared -gnat_2016 -gnat_2017 -static-libs" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-10-12 13:19:26 UTC
Created attachment 550858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-12 13:19:29 UTC
Created attachment 550860 [details]
dev-ada:libadalang-2018:20181012-015400.log
Comment 3 Toralf Förster gentoo-dev 2018-10-12 13:19:31 UTC
Created attachment 550862 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-10-12 13:19:34 UTC
Created attachment 550864 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-10-12 13:19:37 UTC
Created attachment 550866 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-12 13:19:39 UTC
Created attachment 550868 [details]
temp.tbz2
Comment 7 Tupone Alfredo gentoo-dev 2018-10-14 19:51:13 UTC
Please retest. I have updated dev-ada/gprbuild to 2018-r1and this should fix it (I hope)