[Buildroot] [autobuild.buildroot.net] Build results for 2017-05-21

Baruch Siach baruch at tkos.co.il
Mon May 22 15:22:55 UTC 2017


Hi Waldemar,

On Mon, May 22, 2017 at 04:14:28PM +0200, Waldemar Brodkorb wrote:
> take a look here:
> https://github.com/richfelker/musl-cross-make/blob/master/patches/gcc-6.3.0/0010-static-pie-support.diff

Thanks for the pointer.

I don't see this, or equivalent, patch in any gcc version that Buildroot 
supports. Is this the right fix to the cifs-utils build failure?

diff --git a/package/cifs-utils/cifs-utils.mk b/package/cifs-utils/cifs-utils.mk
index 152a3eeccf8a..ceedcf5de86f 100644
--- a/package/cifs-utils/cifs-utils.mk
+++ b/package/cifs-utils/cifs-utils.mk
@@ -12,6 +12,8 @@ CIFS_UTILS_LICENSE_FILES = COPYING
 
 ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
 CIFS_UTILS_CONF_OPTS += --disable-pie
+else ifeq ($(BR2_STATIC_LIBS),y)
+CIFS_UTILS_CONF_OPTS += --disable-pie
 endif
 
 ifeq ($(BR2_PACKAGE_KEYUTILS),y)

baruch

> > Am 22.05.2017 um 14:07 schrieb Baruch Siach <baruch at tkos.co.il>:
> > 
> >> On Mon, May 22, 2017 at 08:30:13AM +0200, Thomas Petazzoni wrote: 
> >>      x86_64 |                 cifs-utils-6.6 | NOK | http://autobuild.buildroot.net/results/d19bcfcfb33cc5f5b082b97bbd5852d479823b97 |     
> > 
> > In commit 3c93901bcd2 (toolchain: add hidden symbol for PIE support) you 
> > mentioned
> > 
> >  With musl toolchains you might have static PIE support with little
> >  patching of gcc.
> > 
> > What patch of gcc do you refer to? Commit 3c93901bcd2 enables 
> > BR2_TOOLCHAIN_SUPPORTS_PIE for musl toolchains unconditionally. But this 
> > cifs-utils build failure indicates that there is still an issue with musl and 
> > static PIE.
> > 
> > Any idea?

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -



More information about the buildroot mailing list