Re: mingw win64 comatibility
Hello Raf, Any news? Can I do anything to help? Alon. On 10/21/08, Alon Bar-Lev [EMAIL PROTECTED] wrote: Hello, Used git head. Before I use cross compile, I tried to see if all tests pass on local compiler. My system (gentoo) has the following versions: sys-devel/m4-1.4.11 sys-devel/autoconf-2.61-r2 sys-devel/automake-1.10.1-r1 sys-devel/libtool-1.5.26 Attached is the native log and win64 log (after the fix). You should add *.exe to ignore... :) Thanks! Alon. On 10/21/08, Ralf Wildenhues [EMAIL PROTECTED] wrote: Hello Alon, Thanks for the report. * Alon Bar-Lev wrote on Mon, Oct 20, 2008 at 03:19:50PM CEST: The func_win32_libid is not working correctly when win64 objects are found. The file format is file format pe-x86-64. The attached patches for 1.5.26, 2.2.6a for the resulting libtool script. I did not know where to put this in libtool source, can you please look into it? It needs to be done in libltdl/config/ltmain.m4sh. --- libtool.2.2.6a2008-10-20 14:21:57.0 +0200 +++ libtool 2008-10-20 14:21:42.0 +0200 @@ -3073,7 +3073,7 @@ func_win32_libid () ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' /dev/null ; then + $EGREP 'file format pe-i386(.*architecture: i386)?|file format pe-x86-64?' /dev/null ; then The trailing ? after pe-x86-64 is wrong, pleasse drop it. win32_nmres=`eval $NM -f posix -A $1 | $SED -n -e ' 1,100{ Can you be bothered to check out the Libtool git tree or a nightly snapshot (see homepage for links) and, with above change, build it and run the testsuite on win64, please? We'd be interested in any failures of make -k check (add VERBOSE=yes for verbose output of the old testsuite, and send tests/testsuite.log for failure of the new one). You'd need Autoconf for rebuilding Libtool, and also Automake for running all tests. Thanks! Ralf ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: problem when cross compiling with mingw32ce
On Mon, 27 Oct 2008, Ralf Wildenhues wrote: It would help if you posted, for a library where this fails, the output of the './libtool --mode=link' line with --debug added as first argument; the command is: /bin/sh ../../../libtool --debug --tag=CC --mode=link arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la libtool_link.txt 21 the result is in the attached file libtool_link.txt also, please post the output of ./libtool --tag=CXX --config the result is in the attached file libtool_config.txt thank you Vincent Torrilibtool: enabling shell trace mode + test 17 -gt 0 + opt=--tag=CC + shift + case $opt in + func_opt_split --tag=CC + func_opt_split_opt=--tag + func_opt_split_arg=CC + set dummy --tag CC --mode=link arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la + shift + test 18 -gt 0 + opt=--tag + shift + case $opt in + test 17 -eq 0 + preserve_args=' --debug --tag CC' + func_enable_tag CC + tagname=CC + re_begincf='^# ### BEGIN LIBTOOL TAG CONFIG: CC$' + re_endcf='^# ### END LIBTOOL TAG CONFIG: CC$' + sed_extractcf='/^# ### BEGIN LIBTOOL TAG CONFIG: CC$/,/^# ### END LIBTOOL TAG CONFIG: CC$/p' + case $tagname in + case $tagname in + shift + test 16 -gt 0 + opt=--mode=link + shift + case $opt in + func_opt_split --mode=link + func_opt_split_opt=--mode + func_opt_split_arg=link + set dummy --mode link arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la + shift + test 17 -gt 0 + opt=--mode + shift + case $opt in + test 16 -eq 0 + case $1 in + mode=link + shift + test 15 -gt 0 + opt=arm-mingw32ce-gcc + shift + case $opt in + nonopt=arm-mingw32ce-gcc + break + case $host in + opt_duplicate_compiler_generated_deps=: + : 1 + false + func_check_version_match + test 1.3012 '!=' 1.3012 + test yes '!=' yes + test -z link + eval 'std_shrext=.dll' ++ std_shrext=.dll + test -n '' + generic_help='Try `libtool --help'\'' for more information.' + help='Try `libtool --help --mode=link'\'' for more information.' + false + test link = compile + false + test link = execute + test link = finish + test link = install + test link = link + func_mode_link -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la + set -x + case $host in + allow_undefined=yes + libtool_args=arm-mingw32ce-gcc + base_compile='arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la' + compile_command=arm-mingw32ce-gcc + finalize_command=arm-mingw32ce-gcc + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= ++ pwd + lib_search_path=/home/torri/tmp/svnroot_wince/e17/proto/evil/src/lib/.libs + inst_prefix_dir= + new_inherited_linker_flags= + avoid_version=no + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module=-Wl,-single_module + func_infer_tag arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la + set -x + test -n 'CXX ' + test -z CC + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + for arg in '$@' + case $arg in + test -n '' + test 14 -gt 0 + arg=-g + shift + func_quote_for_eval -g + case $1 in + func_quote_for_eval_unquoted_result=-g + case $func_quote_for_eval_unquoted_result