[Buildroot] [PATCHv2 05/12] binutils/arc-4.8-R3: add patch to warn about unsafe library paths

Romain Naour romain.naour at openwide.fr
Mon Dec 8 22:58:10 UTC 2014


Hi Thomas,

Le 01/12/2014 22:55, Thomas Petazzoni a écrit :
> This commit adds a patch to binutils borrowed from CodeSourcery/Yocto
> that warns about unsafe library paths (i.e /usr/lib, /usr/local/lib,
> etc.). The patch was adapted to binutils arc-4.8-R3, and modified to
> support the BR_COMPILER_PARANOID_UNSAFE_PATH environment variable to
> error out instead of just warn when unsafe paths are used. Even though
> erroring out can be chosen by passing
> --error-poison-system-directories, we are not sure this option in
> LDFLAGS will always be passed, so having an environment variable
> guarantees it will always be passed, and also allows to have an
> identical behavior to the external toolchain wrapper.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  .../arc-4.8-R3/600-poison-system-directories.patch | 279 +++++++++++++++++++++
>  1 file changed, 279 insertions(+)
>  create mode 100644 package/binutils/arc-4.8-R3/600-poison-system-directories.patch

NAK.
The arc toolchain has been updated to arc-2014.08 by Alexey Brodkin.

Best regards,
-- 
Romain Naour

OPEN WIDE Ingénierie - Paris
23/25, rue Daviel| 75013 PARIS
http://ingenierie.openwide.fr

Le blog des technologies libres et embarquées :
http://www.linuxembedded.fr



More information about the buildroot mailing list