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

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