From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.eckelmann.de ([217.19.183.94]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tj85u-0000zo-RL for ptxdist@pengutronix.de; Thu, 13 Dec 2012 13:40:55 +0100 Received: from mail.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 66F20178AD93_C9CCD6B for ; Thu, 13 Dec 2012 12:40:54 +0000 (GMT) Received: from dag.eckelmann.group (ex-dag01.eckelmann.group [192.168.13.8]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "*.eckelmann.group", Issuer "Eckelmann Root CA" (not verified)) by mail.eckelmann.de (Sophos Email Appliance) with ESMTPS id 3D869178ACDA_C9CCD6F for ; Thu, 13 Dec 2012 12:40:54 +0000 (GMT) From: "Schenk, Gavin" Date: Thu, 13 Dec 2012 12:40:53 +0000 Message-ID: Content-Language: de-DE MIME-Version: 1.0 Subject: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" 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. 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 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