[Buildroot] [PATCH v3] libgdiplus: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Dec 18 19:04:46 UTC 2015


Dear Sergio Prado,

On Fri, 18 Dec 2015 16:12:57 -0200, Sergio Prado wrote:

> Beaglebone with uclibc
> arm-buildroot-linux-uclibcgnueabihf-gcc: WARNING: unsafe header/library
> path used in cross-compilation: '/lib'
> 
> Qemu x86 with glibc
> i686-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in
> cross-compilation: '/lib'
> 
> Why some toolchains generate an error and others a warning in this
> situation? Is there a configuration to enable this check when generating
> the toolchain?

It is not a matter of toolchain, it is a matter of whether you set the
option BR2_COMPILER_PARANOID_UNSAFE_PATH=y or not. By default it's
disabled, so those unsafe path messages are just warnings. In the
autobuilders, we turn this option on by default, so that just unsafe
path messages are treated as errors and abort the build.

This option simply sets an environment variable that makes the
toolchain wrapper error out when such unsafe paths are detected.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list