From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TjRnU-0002AZ-Jj for ptxdist@pengutronix.de; Fri, 14 Dec 2012 10:43:12 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TjRnU-0002Wp-Fd for ptxdist@pengutronix.de; Fri, 14 Dec 2012 10:43:12 +0100 Date: Fri, 14 Dec 2012 10:43:12 +0100 From: Michael Olbrich Message-ID: <20121214094312.GD32091@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux 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 On Thu, Dec 13, 2012 at 12:40:53PM +0000, Schenk, Gavin wrote: > yesterday I read about the new toolchain, that has Atom optimization by default. > > I decided to give it a try and: > Compiled the new toolchain: gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized > Migrated my project: 2012.10.0 to 2012.12.0 > Update Kernel and rt-patchstack: 3.4.2 to 3.6.10 > > Now the compilation fails on libpng 1.2.50 that is the same version as in ptxdist-2012.10.0. > > > libtool: link: i686-atom-linux-gnu-gcc -shared .libs/libpng12_la-png.o .libs/libpng12_la-pngset.o .libs/libpng12_la-pngget.o .libs/libpng12_la-pngrutil.o .libs/libpng12_la-pngtrans.o .libs/libpng12_la-pngwutil.o .libs/libpng12_la-pngread.o .libs/libpng12_la-pngrio.o .libs/libpng12_la-pngwio.o .libs/libpng12_la-pngwrite.o .libs/libpng12_la-pngrtran.o .libs/libpng12_la-pngwtran.o .libs/libpng12_la-pngmem.o .libs/libpng12_la-pngerror.o .libs/libpng12_la-pngpread.o -lz -lm -Wl,--version-script=libpng.vers -Wl,-soname -Wl,libpng12.so.0 -o .libs/libpng12.so.0.50.0 > /opt/OSELAS.Toolchain-2012.12.0/i686-atom-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/i686-atom-linux-gnu/4.7.2/../../../../i686-atom-linux-gnu/bin/ld:libpng.vers:2: syntax error in VERSION script > collect2: error: ld returned 1 exit status > make[2]: *** [libpng12.la] Error 1 > make[2]: Leaving directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50' > make: *** [/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/state/libpng.compile] Error 2 > I cannot reproduce this here so far. Please sent the output of the whole compile stage. There should be some output about creating libpng.vers. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de