[Buildroot] [PATCH v4 2/2] support/testing/tests/core: SSP & hardening flags
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Aug 20 22:20:37 UTC 2018
Hello,
On Mon, 13 Aug 2018 20:17:57 -0500, Matt Weber wrote:
> Catch the commonly used options of SSP, Relro, and fortify.
>
> Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
I can't really apply this one currently, because it depends on the
wrapper stuff I believe. Indeed the TestRelro test fails to build with:
/home/thomas/projets/outputs/TestRelro/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/6.4.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.build:264: applets/built-in.o] Error 1
make[2]: *** [Makefile:372: applets_dir] Error 2
make[1]: *** [package/pkg-generic.mk:232: /home/thomas/projets/outputs/TestRelro/build/busybox-1.29.1/.stamp_built]
Error 2
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list