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 1Tl2B4-0006cu-UQ for ptxdist@pengutronix.de; Tue, 18 Dec 2012 19:46:06 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Tl2B4-0005HP-Sp for ptxdist@pengutronix.de; Tue, 18 Dec 2012 19:46:06 +0100 Date: Tue, 18 Dec 2012 19:46:06 +0100 From: Michael Olbrich Message-ID: <20121218184606.GR32091@pengutronix.de> References: <20121214094312.GD32091@pengutronix.de> <20121214100734.GF32091@pengutronix.de> <20121214103255.GI32091@pengutronix.de> <20121214181935.GN32091@pengutronix.de> <20121217163739.GO32091@pengutronix.de> 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 Tue, Dec 18, 2012 at 10:00:47AM +0000, Schenk, Gavin wrote: > enjoy your holidays, I have no time pressure switching to the new toolchain! > > After learning about logfiles and ptxdist :D, the command-wrapper produces > reasonable output on console in the libpng folder. There is no output when I > prefix ccache, but calling the compiler directly the output is like this: > > > /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/bin/i686-atom-linux-gnu-cpp -frecord-gcc-switches -isystem /home/gschenk/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /home/gschenk/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -DPNG_CONFIGURE_LIBPNG -DPNG_BUILDSYMS ./png.h > > # 1 "./png.h" > # 1 "" > # 1 "./png.h" > # 536 "./png.h" > # 1 "/home/gschenk/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include/zlib.h" 1 3 4 > # 34 "/home/gschenk/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include/zlib.h" 3 4 > # 1 "/home/gschenk/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include/zconf.h" 1 3 4 > # 365 "/home/gschenk/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include/zconf.h" 3 4 > typedef unsigned char Byte; > > typedef unsigned int uInt; > typedef unsigned long uLong; > > ... > > extern PNG_FUNCTION_EXPORT png_save_uint_16 END > (png_bytep buf, unsigned int i); > > This is what you should get. > Attached you find two logfiles, one with ccache enabled, one without. I tried > to figure out what is going on, but I need a Guru ... THATS YOU :D. I hope to > become more familiar with ptxdist in future. > > Maybe it is the order, or parallelization of build process? I have a Multi-CPU system with 8 cores. Maybe a bad file in the cache? I've seen ccache picking the wrong file, resulting in build errors... > Even when I disable ccache the buildprocess does not finish. Next I am bailing out at building gdbserver. > make[1]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/gdbserver-7.2-build > ... > /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/gdbserver-7.2/gdb/gdbserver/linux-low.c:4691:40: error: invalid application of 'sizeof' to incomplete type 'struct siginfo' > ... Change the gdb version to 7.5 (like the gdb in the toolchain). gcc-4.7 has problems compiling gdbserver-7.2 and the versions should match anyways. 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