diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-07-03 10:41:07 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-22 23:35:14 +0200 |
commit | 00ecd72c28f103fc7d166f718db81a8b6c4919fa (patch) | |
tree | d932f89639bc92853976f2f52a77b5754cc4b2e4 /support | |
parent | 91a08ecc998ae232ea6f3525540ed129d8176d18 (diff) | |
download | buildroot-00ecd72c28f103fc7d166f718db81a8b6c4919fa.tar.gz buildroot-00ecd72c28f103fc7d166f718db81a8b6c4919fa.zip |
package/aespipe: fix host compile
Building host-aespipe fails on Debian stretch at linking stage:
/usr/bin/gcc -L/home/buildroot/br6/output/host/lib -L/home/buildroot/br6/output/host/usr/lib -Wl,-rpath,/home/buildroot/br6/output/host/usr/lib -o aespipe aespipe.o aes-amd64.o md5-amd64.o md5-2x-amd64.o aes-intel64.o sha512.o rmd160.o
/usr/bin/ld: aes-amd64.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
The same problem apparently exists on recent Ubuntu and Gentoo.
Fix is also used in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837393
[Peter: add comment explaining why]
[Arnout: use host-cc-option to discover if -no-pie is available;
cfr. 57b628a932b9b4a3c4bf80f4c82a81da5adcb173]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions