[Buildroot] Analysis of build results for 2016-02-21

Waldemar Brodkorb wbx at openadk.org
Wed Feb 24 21:30:03 UTC 2016


Hi,
Thomas Petazzoni wrote,

> Hello,
> 
> On Tue, 23 Feb 2016 09:34:31 +0200, Olivier Schonken wrote:
> 
> > The suggestion from Romain to disable -fPIE as below works for both
> > architectures.  Can I submit a patch for this? Or do you want to wait for a
> > response from Alexey and Waldemar?
> > 
> > # Remove -fPIE -pie from CFLAGS
> > ifeq ($(BR2_STATIC_LIBS),y)
> > CUPS_CONF_OPTS += LSB_BUILD=y
> > endif
> 
> Unfortunately, I don't like this, for several reasons:
> 
>  1/ LSB_BUILD=y will also disable stack protection support.
> 
>  2/ Only uClibc in static library build is affected by the problem, not
>     musl for example.

Oh, that is interesting. I always thought static PIE binaries on
Linux are not supported via the toolchain. So this is a C library
issue? 
We disabled for example package/openssh exactly because of the same reason.

best regards
 Waldemar 


More information about the buildroot mailing list