Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607940 - 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
Summary: dev-libs/dietlibc-0.34_pre20140729 : /.../ld: bin-x86_64/dietlibc.a(strlen.o)...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 19:27 UTC by Toralf Förster
Modified: 2018-05-28 17:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,5.20 KB, text/plain)
2017-02-01 19:27 UTC, Toralf Förster
Details
dev-libs:dietlibc-0.34_pre20140729:20170201-182847.log (dev-libs:dietlibc-0.34_pre20140729:20170201-182847.log,394.74 KB, text/plain)
2017-02-01 19:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,71.44 KB, text/plain)
2017-02-01 19:27 UTC, Toralf Förster
Details
environment (environment,86.62 KB, text/plain)
2017-02-01 19:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.89 KB, application/x-bzip)
2017-02-01 19:27 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 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