mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
@ 2012-12-13 12:40 Schenk, Gavin
  2012-12-13 17:06 ` George McCollister
  2012-12-14  9:43 ` Michael Olbrich
  0 siblings, 2 replies; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-13 12:40 UTC (permalink / raw)
  To: ptxdist

Hi,

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.

<snip>
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
</snip>

On my old system content of libpng.vers was:
PNG12_0 {global:
png_libpng_ver;
png_pass_start;
png_pass_inc;
png_pass_ystart;
png_pass_yinc;
png_pass_mask;
png_pass_dsp_mask;
png_access_version_number;
png_set_sig_bytes;
png_sig_cmp;
png_check_sig;
png_create_read_struct;
png_create_write_struct;
png_get_compression_buffer_size;
png_set_compression_buffer_size;
png_reset_zstream;
png_create_read_struct_2;
png_create_write_struct_2;
png_write_chunk;
png_write_chunk_start;
png_write_chunk_data;
png_write_chunk_end;
png_create_info_struct;
png_info_init;
png_info_init_3;
png_write_info_before_PLTE;
png_write_info;
png_read_info;
png_convert_to_rfc1123;
png_convert_from_struct_tm;
png_convert_from_time_t;
png_set_expand;
png_set_expand_gray_1_2_4_to_8;
png_set_palette_to_rgb;
png_set_tRNS_to_alpha;
png_set_gray_1_2_4_to_8;
png_set_bgr;
png_set_gray_to_rgb;
png_set_rgb_to_gray;
png_set_rgb_to_gray_fixed;
png_get_rgb_to_gray_status;

Now the content is:
PNG12_0 {global:
local: *; };

The libpng.sym file is empty. Can you please assist me solving this error?

Best Regards,
Gavin Schenk
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-13 12:40 [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux Schenk, Gavin
@ 2012-12-13 17:06 ` George McCollister
  2012-12-13 18:46   ` Robert Schwebel
  2012-12-14  9:43 ` Michael Olbrich
  1 sibling, 1 reply; 16+ messages in thread
From: George McCollister @ 2012-12-13 17:06 UTC (permalink / raw)
  To: ptxdist

On 12/13/2012 06:40 AM, Schenk, Gavin wrote:
> Hi,
>
> 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.
>
> <snip>
I'm using libpng on Atom as well. I had a few unrelated (I think) 
problems with the new wrappers and a problem with CROSS python changes 
in ptxdist so I had to revert back to ptxdist as of November 12, 2012 
with 
OSELAS.Toolchain-2011.11.3/i686-unknown-linux-gnu/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized. 
I'll make it a point to try to get my build going with the newest 
ptxdist and toolchain and see if I run into the same problem.

Regards,
George McCollister

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-13 17:06 ` George McCollister
@ 2012-12-13 18:46   ` Robert Schwebel
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Schwebel @ 2012-12-13 18:46 UTC (permalink / raw)
  To: ptxdist

On Thu, Dec 13, 2012 at 11:06:22AM -0600, George McCollister wrote:
> I'm using libpng on Atom as well. I had a few unrelated (I think)
> problems with the new wrappers and a problem with CROSS python changes
> in ptxdist so I had to revert back to ptxdist as of November 12, 2012
> with
> OSELAS.Toolchain-2011.11.3/i686-unknown-linux-gnu/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized.
> I'll make it a point to try to get my build going with the newest
> ptxdist and toolchain and see if I run into the same problem.

Please send us your config and bug reports, we are very interested in
cleaning up the fallout of the new toolchains.

rsc
-- 
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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-13 12:40 [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux Schenk, Gavin
  2012-12-13 17:06 ` George McCollister
@ 2012-12-14  9:43 ` Michael Olbrich
  2012-12-14  9:48   ` Schenk, Gavin
  1 sibling, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-14  9:43 UTC (permalink / raw)
  To: ptxdist

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.
> 
> <snip>
> 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
> </snip>

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14  9:43 ` Michael Olbrich
@ 2012-12-14  9:48   ` Schenk, Gavin
  2012-12-14 10:07     ` Michael Olbrich
  0 siblings, 1 reply; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-14  9:48 UTC (permalink / raw)
  To: ptxdist

Hi,

the output:

gschenk@vm621deb-1:/var/projects/prodos3_experimental/ptxdist$ ./p compile libpng

----------------------
target: libpng.compile
----------------------

make[1]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50'
make  all-am
make[2]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50'
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c -o libpng12_la-png.lo `test -f 'png.c' || echo './'`png.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c -o libpng12_la-pngset.lo `test -f 'pngset.c' || echo './'`pngset.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c -o libpng12_la-pngget.lo `test -f 'pngget.c' || echo './'`pngget.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c -o libpng12_la-pngrutil.lo `test -f 'pngrutil.c' || echo './'`pngrutil.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c -o libpng12_la-pngtrans.lo `test -f 'pngtrans.c' || echo './'`pngtrans.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c -o libpng12_la-pngwutil.lo `test -f 'pngwutil.c' || echo './'`pngwutil.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c -o libpng12_la-pngread.lo `test -f 'pngread.c' || echo './'`pngread.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c -o libpng12_la-pngrio.lo `test -f 'pngrio.c' || echo './'`pngrio.c
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c pngrutil.c  -fPIC -DPIC -o .libs/libpng12_la-pngrutil.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c pngget.c  -fPIC -DPIC -o .libs/libpng12_la-pngget.o
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c -o libpng12_la-pngwio.lo `test -f 'pngwio.c' || echo './'`pngwio.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c -o libpng12_la-pngwrite.lo `test -f 'pngwrite.c' || echo './'`pngwrite.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c -o libpng12_la-pngrtran.lo `test -f 'pngrtran.c' || echo './'`pngrtran.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c -o libpng12_la-pngwtran.lo `test -f 'pngwtran.c' || echo './'`pngwtran.c
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c pngset.c  -fPIC -DPIC -o .libs/libpng12_la-pngset.o
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c -o libpng12_la-pngmem.lo `test -f 'pngmem.c' || echo './'`pngmem.c
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c pngwutil.c  -fPIC -DPIC -o .libs/libpng12_la-pngwutil.o
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c -o libpng12_la-pngerror.lo `test -f 'pngerror.c' || echo './'`pngerror.c
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c png.c  -fPIC -DPIC -o .libs/libpng12_la-png.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c pngrio.c  -fPIC -DPIC -o .libs/libpng12_la-pngrio.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c pngtrans.c  -fPIC -DPIC -o .libs/libpng12_la-pngtrans.o
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c -o libpng12_la-pngpread.lo `test -f 'pngpread.c' || echo './'`pngpread.c
rm -f libpng.sym libpng.sym.new
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c pngread.c  -fPIC -DPIC -o .libs/libpng12_la-pngread.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c pngwrite.c  -fPIC -DPIC -o .libs/libpng12_la-pngwrite.o
i686-atom-linux-gnu-cpp -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h | \
                /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed -n -e \
                's|^.*PNG_FUNCTION_EXPORT[      ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \
                -e 's|^.*PNG_DATA_EXPORT[       ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \
                        >libpng.sym.new
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c pngwio.c  -fPIC -DPIC -o .libs/libpng12_la-pngwio.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c pngwtran.c  -fPIC -DPIC -o .libs/libpng12_la-pngwtran.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c pngmem.c  -fPIC -DPIC -o .libs/libpng12_la-pngmem.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c pngerror.c  -fPIC -DPIC -o .libs/libpng12_la-pngerror.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c pngrtran.c  -fPIC -DPIC -o .libs/libpng12_la-pngrtran.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c pngpread.c  -fPIC -DPIC -o .libs/libpng12_la-pngpread.o
mv libpng.sym.new libpng.sym
cp libpng-config libpng12-config
cp libpng.pc libpng12.pc
rm -f libpng.vers libpng.vers.new
echo PNG12_0 '{global:' > libpng.vers.new
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c pngmem.c -o libpng12_la-pngmem.o >/dev/null 2>&1
/opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed s/$/\;/ libpng.sym >> libpng.vers.new
echo 'local: *; };' >> libpng.vers.new
mv libpng.vers.new libpng.vers
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c pngpread.c -o libpng12_la-pngpread.o >/dev/null 2>&1
mv -f .deps/libpng12_la-pngmem.Tpo .deps/libpng12_la-pngmem.Plo
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c pngrio.c -o libpng12_la-pngrio.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c pngset.c -o libpng12_la-pngset.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c pngget.c -o libpng12_la-pngget.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c pngwrite.c -o libpng12_la-pngwrite.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c pngread.c -o libpng12_la-pngread.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c pngtrans.c -o libpng12_la-pngtrans.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c pngwio.c -o libpng12_la-pngwio.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c pngwutil.c -o libpng12_la-pngwutil.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c pngrutil.c -o libpng12_la-pngrutil.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c pngerror.c -o libpng12_la-pngerror.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c pngrtran.c -o libpng12_la-pngrtran.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c png.c -o libpng12_la-png.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c pngwtran.c -o libpng12_la-pngwtran.o >/dev/null 2>&1
mv -f .deps/libpng12_la-pngrio.Tpo .deps/libpng12_la-pngrio.Plo
mv -f .deps/libpng12_la-pngget.Tpo .deps/libpng12_la-pngget.Plo
mv -f .deps/libpng12_la-pngread.Tpo .deps/libpng12_la-pngread.Plo
mv -f .deps/libpng12_la-pngwio.Tpo .deps/libpng12_la-pngwio.Plo
mv -f .deps/libpng12_la-png.Tpo .deps/libpng12_la-png.Plo
mv -f .deps/libpng12_la-pngerror.Tpo .deps/libpng12_la-pngerror.Plo
mv -f .deps/libpng12_la-pngset.Tpo .deps/libpng12_la-pngset.Plo
mv -f .deps/libpng12_la-pngwtran.Tpo .deps/libpng12_la-pngwtran.Plo
mv -f .deps/libpng12_la-pngpread.Tpo .deps/libpng12_la-pngpread.Plo
mv -f .deps/libpng12_la-pngrutil.Tpo .deps/libpng12_la-pngrutil.Plo
mv -f .deps/libpng12_la-pngrtran.Tpo .deps/libpng12_la-pngrtran.Plo
mv -f .deps/libpng12_la-pngtrans.Tpo .deps/libpng12_la-pngtrans.Plo
mv -f .deps/libpng12_la-pngwrite.Tpo .deps/libpng12_la-pngwrite.Plo
mv -f .deps/libpng12_la-pngwutil.Tpo .deps/libpng12_la-pngwutil.Plo
/bin/bash ./libtool --tag=CC   --mode=link i686-atom-linux-gnu-gcc  -g -O2 -no-undefined -export-dynamic -version-number 0:50:0 -Wl,--version-script=libpng.vers   -o libpng12.la -rpath /usr/lib libpng12_la-png.lo libpng12_la-pngset.lo libpng12_la-pngget.lo libpng12_la-pngrutil.lo libpng12_la-pngtrans.lo libpng12_la-pngwutil.lo libpng12_la-pngread.lo libpng12_la-pngrio.lo libpng12_la-pngwio.lo libpng12_la-pngwrite.lo libpng12_la-pngrtran.lo libpng12_la-pngwtran.lo libpng12_la-pngmem.lo libpng12_la-pngerror.lo libpng12_la-pngpread.lo  -lz -lm
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
gschenk@vm621deb-1:/var/projects/prodos3_experimental/ptxdist$


Regards,
Gavin Schenk
Dipl.-Inform. (FH)
Entwicklung
Customized Automation Systems

Eckelmann AG
Berliner Str. 161, 65205 Wiesbaden
Telefon +49 611 7103-258   Fax +49 611 7103-133
g.schenk@eckelmann.de   www.eckelmann.de

Eckelmann Group - Source of inspiration


> -----Original Message-----
> From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-
> bounces@pengutronix.de] On Behalf Of Michael Olbrich
> Sent: Friday, December 14, 2012 10:43 AM
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0,
> and new atom toolchain i686-atom-linux
>
> 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.
> >
> > <snip>
> > 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
> > </snip>
>
> 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
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14  9:48   ` Schenk, Gavin
@ 2012-12-14 10:07     ` Michael Olbrich
  2012-12-14 10:26       ` Schenk, Gavin
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-14 10:07 UTC (permalink / raw)
  To: ptxdist

On Fri, Dec 14, 2012 at 09:48:54AM +0000, Schenk, Gavin wrote:
> i686-atom-linux-gnu-cpp -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h | \
>                 /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed -n -e \
>                 's|^.*PNG_FUNCTION_EXPORT[      ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \
>                 -e 's|^.*PNG_DATA_EXPORT[       ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \
>                         >libpng.sym.new

The libpng.sym is generated here. Please run:
$ ptxdist clean libpng
$ ptxdist -v compile libpng

Now look at the logfile. There should be a line like this:

wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h

That's the actual command line that is called. Try to run this manually in
build-target/libpng-1.2.50/:
$ ../../selected_toolchain/i686-atom-linux-gnu-cpp [...]

Do you get some reasonable output here?

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14 10:07     ` Michael Olbrich
@ 2012-12-14 10:26       ` Schenk, Gavin
  2012-12-14 10:32         ` Michael Olbrich
  0 siblings, 1 reply; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-14 10:26 UTC (permalink / raw)
  To: ptxdist

./png.h:536:18: fatal error: zlib.h: No such file or directory
compilation terminated.

Gavin

> -----Original Message-----
> From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-
> bounces@pengutronix.de] On Behalf Of Michael Olbrich
> Sent: Friday, December 14, 2012 11:08 AM
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0,
> and new atom toolchain i686-atom-linux
>
> On Fri, Dec 14, 2012 at 09:48:54AM +0000, Schenk, Gavin wrote:
> > i686-atom-linux-gnu-cpp -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h
> | \
> >                 /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed -n -e \
> >                 's|^.*PNG_FUNCTION_EXPORT[
> ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).
> *$|\1|p' \
> >                 -e 's|^.*PNG_DATA_EXPORT[
> ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).
> *$|\1|p' \
> >                         >libpng.sym.new
>
> The libpng.sym is generated here. Please run:
> $ ptxdist clean libpng
> $ ptxdist -v compile libpng
>
> Now look at the logfile. There should be a line like this:
>
> wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -
> DPNG_BUILDSYMS ./png.h
>
> That's the actual command line that is called. Try to run this manually in
> build-target/libpng-1.2.50/:
> $ ../../selected_toolchain/i686-atom-linux-gnu-cpp [...]
>
> Do you get some reasonable output here?
>
> 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
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14 10:26       ` Schenk, Gavin
@ 2012-12-14 10:32         ` Michael Olbrich
  2012-12-14 13:46           ` Schenk, Gavin
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-14 10:32 UTC (permalink / raw)
  To: ptxdist

On Fri, Dec 14, 2012 at 10:26:24AM +0000, Schenk, Gavin wrote:
> ./png.h:536:18: fatal error: zlib.h: No such file or directory
> compilation terminated.

What's the complete commandline? The wrapper should add
"-isystem [...]/sysroot-target/usr/include". There should be a zlib.h
there.

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14 10:32         ` Michael Olbrich
@ 2012-12-14 13:46           ` Schenk, Gavin
  2012-12-14 18:19             ` Michael Olbrich
  0 siblings, 1 reply; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-14 13:46 UTC (permalink / raw)
  To: ptxdist

[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]

Hi,

I am a bit short in time today.... I do not find a line like:
wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h
Attached the complete log from ptxdist -v compile libpng.

The compilestage succeeds, if I disable ccache. Please try if you can reproduce the error when ccache is activated.

Regards,
Gavin

> -----Original Message-----
> From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-
> bounces@pengutronix.de] On Behalf Of Michael Olbrich
> Sent: Friday, December 14, 2012 11:33 AM
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0,
> and new atom toolchain i686-atom-linux
>
> On Fri, Dec 14, 2012 at 10:26:24AM +0000, Schenk, Gavin wrote:
> > ./png.h:536:18: fatal error: zlib.h: No such file or directory
> > compilation terminated.
>
> What's the complete commandline? The wrapper should add
> "-isystem [...]/sysroot-target/usr/include". There should be a zlib.h
> there.
>
> 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
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

[-- Attachment #2: p_v_compile_libpng.log --]
[-- Type: application/octet-stream, Size: 45995 bytes --]

           gschenk@vm621deb-1:/var/projects/prodos3_experimental/ptxdist$ ./p -v compile libpng

------------------
target: libpng.get
------------------

finished target libpng.get

----------------------
target: libpng.extract
----------------------

extract: pkg_src=/mnt/EAG.PTX.PackagePool/libpng-1.2.50.tar.xz
extract: pkg_extract_dir=ptxdist/platform-BB11QA6/build-target/libpng-1.2.50
patchin: git: initializing repository
patchin: git: done

pkg_patch_dir:     'ptxdist-2012.12.0/patches/libpng-1.2.50'
pkg_patch_series:  'ptxdist-2012.12.0/patches/libpng-1.2.50/series'

patchin: git: apply 'ptxdist-2012.12.0/patches/libpng-1.2.50/series'
libpng_config_sysroot.diff
patchin: git: done

finished target libpng.extract

---------------------------
target: libpng.extract.post
---------------------------

pkg_patch_autogen: '<none>'

patchin: fixup:
ptxdist/platform-BB11QA6/build-target/libpng-1.2.50/configure
ptxdist/platform-BB11QA6/build-target/libpng-1.2.50/ltmain.sh
patchin: fixup: done

finished target libpng.extract.post

----------------------
target: libpng.prepare
----------------------

pkg_deprecated_autoconf="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --host=i686-atom-linux-gnu --build=i686-host-linux-gnu --without-libpng-compat"

ptxdist: executing: PATH=/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-cross/bin:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-cross/sbin:\/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/lib/wrapper:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/lib/ccache:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/bin:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/sbin:/var/projects/prodos3_experimental/ptxdist/selected_toolchain:/opt/ptxdist/lib/ptxdist-2012.12.0/bin:/home/gschenk/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/share/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/share/pkgconfig' SYSROOT='/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target' V=1 VERBOSE=1 AR=i686-atom-linux-gnu-ar AS=i686-atom-linux-gnu-as LD=i686-atom-linux-gnu-ld NM=i686-atom-linux-gnu-nm CC=i686-atom-linux-gnu-gcc CXX=i686-atom-linux-gnu-g++ CPP=i686-atom-linux-gnu-cpp RANLIB=i686-atom-linux-gnu-ranlib READELF=i686-atom-linux-gnu-readelf OBJCOPY=i686-atom-linux-gnu-objcopy OBJDUMP=i686-atom-linux-gnu-objdump STRIP=i686-atom-linux-gnu-strip DLLTOOL=i686-atom-linux-gnu-dlltool GNAT=i686-atom-linux-gnu-gnat GNATBIND=i686-atom-linux-gnu-gnatbind GNATCHOP=i686-atom-linux-gnu-gnatchop GNATCLEAN=i686-atom-linux-gnu-gnatclean GNATFIND=i686-atom-linux-gnu-gnatfind GNATKR=i686-atom-linux-gnu-gnatkr GNATLINK=i686-atom-linux-gnu-gnatlink GNATLS=i686-atom-linux-gnu-gnatls GNATMAKE=i686-atom-linux-gnu-gnatmake GNATNAME=i686-atom-linux-gnu-gnatname GNATPREP=i686-atom-linux-gnu-gnatprep GNATXREF=i686-atom-linux-gnu-gnatxref CC_FOR_BUILD=gcc CPP_FOR_BUILD=gcc LINK_FOR_BUILD=gcc SYSROOT="/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target" PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/share/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/share/pkgconfig' PKG_CONFIG="/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-cross/bin/i686-atom-linux-gnu-pkg-config" enable_option_checking=fatal ac_cv_file__dev_random=yes ac_cv_file__proc_self_exe=yes ac_cv_file__proc_self_fd=yes ac_cv_file__proc_self_maps=yes ac_cv_func_dcgettext=yes ac_cv_func_getpgrp_void=yes ac_cv_func_getrlimit=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_clean=yes ac_cv_func_memcmp_working=yes ac_cv_func_nonposix_getgrgid_r=no ac_cv_func_nonposix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getpwnam_r=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_printf_unix98=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_setgrent_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_strstr=yes ac_cv_func_strtod=yes ac_cv_func_strtoul=yes ac_cv_func_vsnprintf_c99=yes ac_cv_func_wait3_rusage=yes ac_cv_have_abstract_sockets=yes ac_cv_lib_c_inet_aton=yes ac_cv_sizeof_long_double="12" ac_cv_sizeof_long_long=8 ac_cv_sysv_ipc=yes ac_cv_type_uintptr_t=yes bash_cv_func_ctype_nonascii=yes bash_cv_func_sigsetjmp=present bash_cv_func_strcoll_broken=no bash_cv_must_reinstall_sighandlers=no glib_cv_long_long_format="ll" gt_cv_func_gettext_libintl=yes ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_iconv_open=yes ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --host=i686-atom-linux-gnu --build=i686-host-linux-gnu --without-libpng-compat

checking for a BSD-compatible install... /opt/ptxdist/lib/ptxdist-2012.12.0/bin/install -c
checking whether build environment is sane... yes
checking for i686-atom-linux-gnu-strip... i686-atom-linux-gnu-strip
checking for a thread-safe mkdir -p... /opt/ptxdist/lib/ptxdist-2012.12.0/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-atom-linux-gnu-gcc... i686-atom-linux-gnu-gcc
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include --version
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -v
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -V
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -qversion
checking whether the C compiler works... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include conftest.c
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest conftest.c

checking whether we are cross compiling... yes
checking for suffix of object files... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c conftest.c
o
checking whether we are using the GNU C compiler... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c conftest.c
yes
checking whether i686-atom-linux-gnu-gcc accepts -g... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g conftest.c
yes
checking for i686-atom-linux-gnu-gcc option to accept ISO C89... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
none needed
checking for style of include used by make... GNU
checking dependency style of i686-atom-linux-gnu-gcc... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -MT sub/conftest.o -MD -MP -MF sub/conftest.TPo -c -o sub/conftest.o sub/conftest.c
gcc3
checking build system type... i686-host-linux-gnu
checking host system type... i686-atom-linux-gnu
checking for a sed that does not truncate output... /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-atom-linux-gnu-gcc... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -print-prog-name=ld
i686-atom-linux-gnu-ld
checking if the linker (i686-atom-linux-gnu-ld) is GNU ld... wrapper: /usr/bin/ccache i686-atom-linux-gnu-ld  -v
yes
checking how to run the C preprocessor... i686-atom-linux-gnu-cpp
wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include conftest.c
checking for i686-atom-linux-gnu-sed... /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... i686-atom-linux-gnu-nm
checking the name lister (i686-atom-linux-gnu-nm) interface... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
BSD nm
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for i686-atom-linux-gnu-ld option to reload object files... -r
checking for i686-atom-linux-gnu-objdump... i686-atom-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-atom-linux-gnu-ar... i686-atom-linux-gnu-ar
checking for i686-atom-linux-gnu-strip... (cached) i686-atom-linux-gnu-strip
checking for i686-atom-linux-gnu-ranlib... i686-atom-linux-gnu-ranlib
checking command to parse i686-atom-linux-gnu-nm output from i686-atom-linux-gnu-gcc object... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 conftest.c conftstm.o
ok
checking for ANSI C header files... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include conftest.c
yes
checking for sys/types.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for sys/stat.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for stdlib.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for string.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for memory.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for strings.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for inttypes.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for stdint.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for unistd.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for dlfcn.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for objdir... .libs
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 conftest.c
checking if i686-atom-linux-gnu-gcc supports -fno-rtti -fno-exceptions... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 -fno-rtti -fno-exceptions conftest.c
no
checking for i686-atom-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-atom-linux-gnu-gcc PIC flag -fPIC -DPIC works... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 -fPIC -DPIC -DPIC conftest.c
yes
checking if i686-atom-linux-gnu-gcc static flag -static works... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 -static conftest.c
yes
checking if i686-atom-linux-gnu-gcc supports -c -o file.o... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 -o out/conftest2.o conftest.c
yes
checking if i686-atom-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-atom-linux-gnu-gcc linker (i686-atom-linux-gnu-ld) supports shared libraries... wrapper: /usr/bin/ccache i686-atom-linux-gnu-ld  --help
wrapper: /usr/bin/ccache i686-atom-linux-gnu-ld  -v
wrapper: /usr/bin/ccache i686-atom-linux-gnu-ld  --help
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -V
yes
checking whether -lc should be explicitly linked in... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest
no
checking dynamic linker characteristics... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -print-search-dirs
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -g -O2 -print-multi-os-directory
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking malloc.h usability... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking malloc.h presence... wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include conftest.c
yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for an ANSI C-conforming const... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking for size_t... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking whether struct tm is in sys/time.h or time.h... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
time.h
checking for working strtod... (cached) yes
checking for memset... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 conftest.c
yes
checking for pow... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 conftest.c
no
checking for pow in -lm... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 conftest.c -lm
yes
checking for zlibVersion in -lz... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -L/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib -Wl,-rpath-link -Wl,/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -o conftest -g -O2 conftest.c -lz -lm
yes
checking if assembler code in pnggccrd.c can be compiled without PNG_NO_MMX_CODE... wrapper: /usr/bin/ccache i686-atom-linux-gnu-gcc  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -c -g -O2 conftest.c
yes
checking if libraries can be versioned... wrapper: /usr/bin/ccache i686-atom-linux-gnu-ld  --help
yes
checking for symbol prefix... wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp  -frecord-gcc-switches -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/include -isystem /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/include -

configure: pkgconfig directory is ${libdir}/pkgconfig
configure: libpng.so will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
finished target libpng.prepare

----------------------
target: libpng.compile
----------------------

ptxdist: executing: PATH=/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-cross/bin:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-cross/sbin:\/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/lib/wrapper:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/lib/ccache:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/bin:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-host/sbin:/var/projects/prodos3_experimental/ptxdist/selected_toolchain:/opt/ptxdist/lib/ptxdist-2012.12.0/bin:/home/gschenk/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/lib/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/lib/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/share/pkgconfig:/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target/usr/share/pkgconfig' SYSROOT='/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/sysroot-target' V=1 VERBOSE=1  make -C /var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50  -j16 

make[1]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50'
make  all-am
make[2]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50'
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c -o libpng12_la-png.lo `test -f 'png.c' || echo './'`png.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c -o libpng12_la-pngset.lo `test -f 'pngset.c' || echo './'`pngset.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c -o libpng12_la-pngget.lo `test -f 'pngget.c' || echo './'`pngget.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c -o libpng12_la-pngrutil.lo `test -f 'pngrutil.c' || echo './'`pngrutil.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c -o libpng12_la-pngtrans.lo `test -f 'pngtrans.c' || echo './'`pngtrans.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c -o libpng12_la-pngwutil.lo `test -f 'pngwutil.c' || echo './'`pngwutil.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c -o libpng12_la-pngread.lo `test -f 'pngread.c' || echo './'`pngread.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c -o libpng12_la-pngrio.lo `test -f 'pngrio.c' || echo './'`pngrio.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c -o libpng12_la-pngwio.lo `test -f 'pngwio.c' || echo './'`pngwio.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c -o libpng12_la-pngwrite.lo `test -f 'pngwrite.c' || echo './'`pngwrite.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c -o libpng12_la-pngrtran.lo `test -f 'pngrtran.c' || echo './'`pngrtran.c
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c png.c  -fPIC -DPIC -o .libs/libpng12_la-png.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c pngget.c  -fPIC -DPIC -o .libs/libpng12_la-pngget.o
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c -o libpng12_la-pngwtran.lo `test -f 'pngwtran.c' || echo './'`pngwtran.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c -o libpng12_la-pngmem.lo `test -f 'pngmem.c' || echo './'`pngmem.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c -o libpng12_la-pngerror.lo `test -f 'pngerror.c' || echo './'`pngerror.c
/bin/bash ./libtool  --tag=CC   --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DPNG_CONFIGURE_LIBPNG    -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c -o libpng12_la-pngpread.lo `test -f 'pngpread.c' || echo './'`pngpread.c
rm -f libpng.sym libpng.sym.new
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c pngrutil.c  -fPIC -DPIC -o .libs/libpng12_la-pngrutil.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c pngset.c  -fPIC -DPIC -o .libs/libpng12_la-pngset.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c pngwutil.c  -fPIC -DPIC -o .libs/libpng12_la-pngwutil.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c pngread.c  -fPIC -DPIC -o .libs/libpng12_la-pngread.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c png.c -o libpng12_la-png.o >/dev/null 2>&1
i686-atom-linux-gnu-cpp -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h | \
		/opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed -n -e \
		's|^.*PNG_FUNCTION_EXPORT[ 	]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \
		-e 's|^.*PNG_DATA_EXPORT[ 	]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \
			>libpng.sym.new
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c pngset.c -o libpng12_la-pngset.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c pngwio.c  -fPIC -DPIC -o .libs/libpng12_la-pngwio.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c pngtrans.c  -fPIC -DPIC -o .libs/libpng12_la-pngtrans.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c pngwrite.c  -fPIC -DPIC -o .libs/libpng12_la-pngwrite.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c pngpread.c  -fPIC -DPIC -o .libs/libpng12_la-pngpread.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c pngrio.c  -fPIC -DPIC -o .libs/libpng12_la-pngrio.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c pngerror.c  -fPIC -DPIC -o .libs/libpng12_la-pngerror.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c pngwtran.c  -fPIC -DPIC -o .libs/libpng12_la-pngwtran.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c pngread.c -o libpng12_la-pngread.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c pngmem.c  -fPIC -DPIC -o .libs/libpng12_la-pngmem.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c pngrtran.c  -fPIC -DPIC -o .libs/libpng12_la-pngrtran.o
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c pngerror.c -o libpng12_la-pngerror.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c pngrio.c -o libpng12_la-pngrio.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c pngget.c -o libpng12_la-pngget.o >/dev/null 2>&1
mv -f .deps/libpng12_la-png.Tpo .deps/libpng12_la-png.Plo
cp libpng-config libpng12-config
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c pngwrite.c -o libpng12_la-pngwrite.o >/dev/null 2>&1
cp libpng.pc libpng12.pc
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c pngwio.c -o libpng12_la-pngwio.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c pngtrans.c -o libpng12_la-pngtrans.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c pngwtran.c -o libpng12_la-pngwtran.o >/dev/null 2>&1
mv -f .deps/libpng12_la-pngread.Tpo .deps/libpng12_la-pngread.Plo
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c pngwutil.c -o libpng12_la-pngwutil.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c pngpread.c -o libpng12_la-pngpread.o >/dev/null 2>&1
mv -f .deps/libpng12_la-pngset.Tpo .deps/libpng12_la-pngset.Plo
mv libpng.sym.new libpng.sym
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c pngmem.c -o libpng12_la-pngmem.o >/dev/null 2>&1
mv -f .deps/libpng12_la-pngrio.Tpo .deps/libpng12_la-pngrio.Plo
mv -f .deps/libpng12_la-pngwtran.Tpo .deps/libpng12_la-pngwtran.Plo
rm -f libpng.vers libpng.vers.new
mv -f .deps/libpng12_la-pngerror.Tpo .deps/libpng12_la-pngerror.Plo
mv -f .deps/libpng12_la-pngwutil.Tpo .deps/libpng12_la-pngwutil.Plo
echo PNG12_0 '{global:' > libpng.vers.new
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c pngrtran.c -o libpng12_la-pngrtran.o >/dev/null 2>&1
libtool: compile:  i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c pngrutil.c -o libpng12_la-pngrutil.o >/dev/null 2>&1
mv -f .deps/libpng12_la-pngget.Tpo .deps/libpng12_la-pngget.Plo
mv -f .deps/libpng12_la-pngwio.Tpo .deps/libpng12_la-pngwio.Plo
mv -f .deps/libpng12_la-pngwrite.Tpo .deps/libpng12_la-pngwrite.Plo
mv -f .deps/libpng12_la-pngtrans.Tpo .deps/libpng12_la-pngtrans.Plo
mv -f .deps/libpng12_la-pngmem.Tpo .deps/libpng12_la-pngmem.Plo
/opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed s/$/\;/ libpng.sym >> libpng.vers.new
echo 'local: *; };' >> libpng.vers.new
mv libpng.vers.new libpng.vers
mv -f .deps/libpng12_la-pngpread.Tpo .deps/libpng12_la-pngpread.Plo
mv -f .deps/libpng12_la-pngrtran.Tpo .deps/libpng12_la-pngrtran.Plo
mv -f .deps/libpng12_la-pngrutil.Tpo .deps/libpng12_la-pngrutil.Plo
/bin/bash ./libtool --tag=CC   --mode=link i686-atom-linux-gnu-gcc  -g -O2 -no-undefined -export-dynamic -version-number 0:50:0 -Wl,--version-script=libpng.vers   -o libpng12.la -rpath /usr/lib libpng12_la-png.lo libpng12_la-pngset.lo libpng12_la-pngget.lo libpng12_la-pngrutil.lo libpng12_la-pngtrans.lo libpng12_la-pngwutil.lo libpng12_la-pngread.lo libpng12_la-pngrio.lo libpng12_la-pngwio.lo libpng12_la-pngwrite.lo libpng12_la-pngrtran.lo libpng12_la-pngwtran.lo libpng12_la-pngmem.lo libpng12_la-pngerror.lo libpng12_la-pngpread.lo  -lz -lm 
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
gschenk@vm621deb-1:/var/projects/prodos3_experimental/ptxdist$

[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14 13:46           ` Schenk, Gavin
@ 2012-12-14 18:19             ` Michael Olbrich
  2012-12-17 16:37               ` Michael Olbrich
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-14 18:19 UTC (permalink / raw)
  To: ptxdist, Marc Kleine-Budde

On Fri, Dec 14, 2012 at 01:46:01PM +0000, Schenk, Gavin wrote:
> I am a bit short in time today.... I do not find a line like:
> wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h
> Attached the complete log from ptxdist -v compile libpng.

Not the output in the shell but platform-BB11QA6/logfile.

> The compilestage succeeds, if I disable ccache. Please try if you can
> reproduce the error when ccache is activated.

I'll see, when I find some time. Christmas holidays start for me just about
now. :-)

I think ccache should not be called for cpp?
Marc: what do you think?

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-14 18:19             ` Michael Olbrich
@ 2012-12-17 16:37               ` Michael Olbrich
  2012-12-18 10:00                 ` Schenk, Gavin
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-17 16:37 UTC (permalink / raw)
  To: ptxdist; +Cc: Marc Kleine-Budde

On Fri, Dec 14, 2012 at 07:19:35PM +0100, Michael Olbrich wrote:
> On Fri, Dec 14, 2012 at 01:46:01PM +0000, Schenk, Gavin wrote:
> > I am a bit short in time today.... I do not find a line like:
> > wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h
> > Attached the complete log from ptxdist -v compile libpng.
> 
> Not the output in the shell but platform-BB11QA6/logfile.

And it's probably:
wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h

> > The compilestage succeeds, if I disable ccache. Please try if you can
> > reproduce the error when ccache is activated.
> 
> I'll see, when I find some time. Christmas holidays start for me just about
> now. :-)

I've enabled ccache. Still no error.

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-17 16:37               ` Michael Olbrich
@ 2012-12-18 10:00                 ` Schenk, Gavin
  2012-12-18 18:46                   ` Michael Olbrich
  0 siblings, 1 reply; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-18 10:00 UTC (permalink / raw)
  To: ptxdist; +Cc: Marc Kleine-Budde

[-- Attachment #1: Type: text/plain, Size: 4162 bytes --]

Hi,

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:

<snip>
/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 "<command-line>"
# 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);

</snip>

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.

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'
...

Thanks for your help,
Gavin

> -----Original Message-----
> From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-
> bounces@pengutronix.de] On Behalf Of Michael Olbrich
> Sent: Monday, December 17, 2012 5:38 PM
> To: ptxdist@pengutronix.de
> Cc: Marc Kleine-Budde
> Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0,
> and new atom toolchain i686-atom-linux
>
> On Fri, Dec 14, 2012 at 07:19:35PM +0100, Michael Olbrich wrote:
> > On Fri, Dec 14, 2012 at 01:46:01PM +0000, Schenk, Gavin wrote:
> > > I am a bit short in time today.... I do not find a line like:
> > > wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG   -
> DPNG_BUILDSYMS ./png.h
> > > Attached the complete log from ptxdist -v compile libpng.
> >
> > Not the output in the shell but platform-BB11QA6/logfile.
>
> And it's probably:
> wrapper: /usr/bin/ccache i686-atom-linux-gnu-cpp [...] -
> DPNG_CONFIGURE_LIBPNG   -DPNG_BUILDSYMS ./png.h
>
> > > The compilestage succeeds, if I disable ccache. Please try if you can
> > > reproduce the error when ccache is activated.
> >
> > I'll see, when I find some time. Christmas holidays start for me just
> about
> > now. :-)
>
> I've enabled ccache. Still no error.
>
> 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
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

[-- Attachment #2: logfiles.tgz --]
[-- Type: application/x-compressed, Size: 9709 bytes --]

[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-18 10:00                 ` Schenk, Gavin
@ 2012-12-18 18:46                   ` Michael Olbrich
  2012-12-19 11:22                     ` Schenk, Gavin
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-18 18:46 UTC (permalink / raw)
  To: ptxdist

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:
> 
> <snip>
> /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 "<command-line>"
> # 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);
> 
> </snip>

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-18 18:46                   ` Michael Olbrich
@ 2012-12-19 11:22                     ` Schenk, Gavin
  2012-12-19 11:42                       ` Michael Olbrich
  0 siblings, 1 reply; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-19 11:22 UTC (permalink / raw)
  To: ptxdist

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

Hi,

> Maybe a bad file in the cache? I've seen ccache picking the wrong file,
> resulting in build errors...
>
I will verify this on a second machine if I find some time. Meanwhile ccache -> disabled

> 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.
Works!

libgcrypt does not finish compile step
xterm does not finish compile step
Logs attached, can you confirm?

Thx again
Gavin

Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

[-- Attachment #2: logfiles2.tgz --]
[-- Type: application/x-compressed, Size: 20928 bytes --]

[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-19 11:22                     ` Schenk, Gavin
@ 2012-12-19 11:42                       ` Michael Olbrich
  2012-12-20 11:10                         ` Schenk, Gavin
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Olbrich @ 2012-12-19 11:42 UTC (permalink / raw)
  To: ptxdist

Hi,

On Wed, Dec 19, 2012 at 11:22:09AM +0000, Schenk, Gavin wrote:
> libgcrypt does not finish compile step
> xterm does not finish compile step
> Logs attached, can you confirm?

Ah, yes, I forgot about that. The latest version of binutils changed some
defaults. What happens is this:

libb.so links to liba.so
A program uses symbols from liba.so and libb.so. With the old binutils it
was ok to just add '-lb' when linking. liba.so was picked up indirectly.
With the new binutils it fails with the errors you're seeing. The real
solution would be to fix all packages with this problem. However this is a
lot of work, so for now, you can get the old behaviour by setting:
PTXCONF_TARGET_EXTRA_LDFLAGS="-Wl,--copy-dt-needed-entries"
in the platformconfig.

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
  2012-12-19 11:42                       ` Michael Olbrich
@ 2012-12-20 11:10                         ` Schenk, Gavin
  0 siblings, 0 replies; 16+ messages in thread
From: Schenk, Gavin @ 2012-12-20 11:10 UTC (permalink / raw)
  To: ptxdist

Hi,

I have reproduced the problem with "ccache" on a second machine.
Ccache feels not very confiding for me at the moment, I liked this feature ...
We decided to disable the "ccache" until further notice.

> lot of work, so for now, you can get the old behaviour by setting:
> PTXCONF_TARGET_EXTRA_LDFLAGS="-Wl,--copy-dt-needed-entries"
> in the platformconfig.
works perfect!

System is up again with all the shiny new stuff:
Ptxdist: 2012.10.0 -> 2012.12.0.
Toolchain: 2011.11.1 -> 2012.12.0 (i686-unknown-linux-gnu -> i686-atom-linux-gnu)
Kernel: 3.4.2rt -> 3.6.10rt

We are still testing, but system seems to run stable atm :)

Thanks again and Merry Christmas
Gavin
Eckelmann Aktiengesellschaft
Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender)
Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-12-20 11:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-13 12:40 [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux Schenk, Gavin
2012-12-13 17:06 ` George McCollister
2012-12-13 18:46   ` Robert Schwebel
2012-12-14  9:43 ` Michael Olbrich
2012-12-14  9:48   ` Schenk, Gavin
2012-12-14 10:07     ` Michael Olbrich
2012-12-14 10:26       ` Schenk, Gavin
2012-12-14 10:32         ` Michael Olbrich
2012-12-14 13:46           ` Schenk, Gavin
2012-12-14 18:19             ` Michael Olbrich
2012-12-17 16:37               ` Michael Olbrich
2012-12-18 10:00                 ` Schenk, Gavin
2012-12-18 18:46                   ` Michael Olbrich
2012-12-19 11:22                     ` Schenk, Gavin
2012-12-19 11:42                       ` Michael Olbrich
2012-12-20 11:10                         ` Schenk, Gavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox