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

Bug 607940

Summary: dev-libs/dietlibc-0.34_pre20140729 : /.../ld: bin-x86_64/dietlibc.a(strlen.o): relocation R_X86_64_32S against `__valgrind' can not be used when making a shared object; recompile with -fPIC
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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-libs:dietlibc-0.34_pre20140729:20170201-182847.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2017-02-01 19:27:26 UTC
rm -f dummy.c dummy.o
x86_64-pc-linux-gnu-gcc -isystem include -O2 -pipe -march=native -Wall -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -fno-stack-protector -Wa,--noexecstack -nostdlib -o bin-x86_64/diet bin-x86_64/start.o bin-x86_64/dyn_start.o diet.c bin-x86_64/dietlibc.a bin-x86_64/dyn_stop.o -DDIETHOME=\"/var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work/dietlibc\" -DVERSION=\"dietlibc-0.34\" -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: bin-x86_64/dietlibc.a(strlen.o): relocation R_X86_64_32S against `__valgrind' can not be used when making a shared object; recompile with -fPIC
bin-x86_64/dietlibc.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:322: bin-x86_64/diet] Error 1

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

  This is an unstable amd64 chroot image (named hardened-no-multilib-libressl-unstable_20170131-164629) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-02-01 19:27:30 UTC
Created attachment 462126 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-01 19:27:33 UTC
Created attachment 462128 [details]
dev-libs:dietlibc-0.34_pre20140729:20170201-182847.log
Comment 3 Toralf Förster gentoo-dev 2017-02-01 19:27:36 UTC
Created attachment 462130 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-01 19:27:39 UTC
Created attachment 462132 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-01 19:27:42 UTC
Created attachment 462134 [details]
etc.portage.tbz2
Comment 6 Pacho Ramos gentoo-dev 2018-05-28 17:41:55 UTC
Please retry with dev-libs/dietlibc-0.34_pre20140729-r1, it looks to work fine for me