summaryrefslogtreecommitdiffstats
path: root/package/clamav/0001-clamdscan-proto.c-fix-build-error-due-to-missing-soc.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-07 22:20:34 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-13 22:28:26 +0200
commit85f9d0893476911dc8757893a281b55d2dc06309 (patch)
treec6665153218ce725fd05363e9fb564f6630e0753 /package/clamav/0001-clamdscan-proto.c-fix-build-error-due-to-missing-soc.patch
parent9113c0cbbaa9da796fef744700425eeff34f77b3 (diff)
downloadbuildroot-85f9d0893476911dc8757893a281b55d2dc06309.tar.gz
buildroot-85f9d0893476911dc8757893a281b55d2dc06309.zip
cifs-utils: unconditionally disable PIE
PIE support in Buildroot should be enabled via the global option BR2_RELRO_FULL option, and not done on a per-package basis, therefore PIE should unconditionally be disabled in the cifs-utils package. This has the added side-effect that it works around a binutils bug on SPARC causing the linker to segfault when PIE is enabled: sparc-linux-gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-z,relro,-z,now -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -o mount.cifs mount.cifs.o mtab.o resolve_host.o util.o -lcap-ng collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped This issue will reappear when we start testing BR2_RELRO_FULL in the autobuilders, but in the mean time it avoids the problem. Fixes: http://autobuild.buildroot.net/results/a5342890f39bdccae1324e7d3dbe0eab1aad28e5/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/clamav/0001-clamdscan-proto.c-fix-build-error-due-to-missing-soc.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud