From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eu1sys200aog122.obsmtp.com ([207.126.144.153]) by metis.ext.pengutronix.de with smtp (Exim 4.72) (envelope-from ) id 1Y9Zde-0004Jw-IX for ptxdist@pengutronix.de; Fri, 09 Jan 2015 14:30:07 +0100 Received: by mail-we0-f182.google.com with SMTP id w62so7953918wes.13 for ; Fri, 09 Jan 2015 05:30:03 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 9 Jan 2015 14:30:03 +0100 Message-ID: From: Martin Hejnfelt Subject: Re: [ptxdist] splashutils fails to build Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 2015-01-08 7:46 GMT+01:00 Martin Hejnfelt : > Hi, > > After upgrading to OSELAS-Toolchain-2014.12.0, using > gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16 for > i686-atom-linux-gnu, suddenly splashutils (of ptxdist-2014.12.0) does > not build anymore. It fails with this: > > CC fbsplashctl-util.o > CC fbsplashctl-fbsplashctl.o > CCLD fbsplashctl > /opt/OSELAS.Toolchain-2014.12.0/i686-atom-linux-gnu/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized/lib/gcc/i686-atom-linux-gnu/4.9.2/../../../../i686-atom-linux-gnu/bin/ld: > attempted static link of dynamic object `./.libs/libfbsplashrender.so' > collect2: error: ld returned 1 exit status > > It worked with OSELAS-Toolchain-2013.12.2. so I guess this is an issue > due to the upgraded compiler tools, however I am no autotools master, > so I am struggling to iron out why it suddenly refers to the dynamic > libfbsplashrender.so instead of the static libfbsplashrender.la one... > Ok apparently something has changed somewhere so static libraries are not compiled by default (even though the configure options state them to be). Thus to get this compiling, I needed to explicitly set --enable-static in the .make file, and do the same for libpng and libjpeg (probably also for other libraries that might be needed depending on the configuration through menuconfig). Is this a change created by ptxdist, gcc or what? Thanks :) Kind regards, Martin Hejnfelt -- ptxdist mailing list ptxdist@pengutronix.de