libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add cegcc support


From: Vincent Torri
Subject: Re: add cegcc support
Date: Fri, 18 Apr 2008 08:03:49 +0200 (CEST)



Two of them are expected failures.  For the third, try the patch below.
If it works, then no reason to post the testsuite.log again.

I will then apply your patch after we have sorted out the git mess.

Indeed, no more failure. I still have 2 problems with another lib

1) One is just a warning about --enable-auto-import:

libtool: link: arm-wince-cegcc-gcc -shared .libs/main.o -Wl,--whole-archive canvas/.libs/libevas_canvas.a data/.libs/libevas_data.a file/.libs/libevas_file.a cache/.libs/libevas_cache.a imaging/.libs/libevas_imaging.a engines/common/.libs/libevas_engine_common.a engines/common_16/.libs/libevas_engine_common_16.a -Wl,--no-whole-archive -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib /home/torri/local/wince/lib/libevil.dll.a -lws2 /home/torri/local/wince/lib/libmman.dll.a /home/torri/local/wince/lib/libdl.dll.a -lfreetype -lz -o .libs/libevas-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libevas.dll.a
Info: resolving __ctype_ptr by linking to __imp___ctype_ptr (auto-import)
Creating library file: .libs/libevas.dll.a
/home/torri/local/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.

I think that libtool.m4 is dealing with that. I've searched in my (patched) libtool.m4 "auto-import" and I've found 2 non-commented occurrences, but i do not see any ${wl}--enable-auto-import. Is it normal ? (i don't really know what I should do, here).

2) An error. I don't know if it is related with 1). I want to create a dll (without building the static lib). I get:

/bin/sh ../../../../libtool --tag=CC --tag=disable-static --mode=link arm-wince-cegcc-gcc -g -O2 -no-undefined -module -avoid-version -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o module.la -rpath /home/torri/local/wince/lib/evas/modules/engines/software_generic/cegcc-arm module_la-evas_engine.lo ../../../../src/lib/libevas.la libtool: link: arm-wince-cegcc-gcc -shared .libs/module_la-evas_engine.o -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib ../../../../src/lib/.libs/libevas.dll.a /home/torri/local/wince/lib/libevil.dll.a -lws2 /home/torri/local/wince/lib/libmman.dll.a /home/torri/local/wince/lib/libdl.dll.a -lfreetype -lz -o .libs/module.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/module.dll.a
Creating library file: .libs/module.dll.a
.libs/module_la-evas_engine.o: In function `eng_image_colorspace_set':
/home/torri/tmp/cvsroot2/e17/libs/evas/src/modules/engines/software_generic/evas_engine.c:421: undefined reference to `evas_cache_image_colorspace' /home/torri/tmp/cvsroot2/e17/libs/evas/src/modules/engines/software_generic/evas_engine.c:421: relocation truncated to fit: ARM_26 against undefined symbol `evas_cache_image_colorspace'


and the same undefined ref for other symbols

Is it related ?


thank you

Vincent Torri




reply via email to

[Prev in Thread] Current Thread [Next in Thread]