Greetings! Gabriel Dos Reis <g...@integrable-solutions.net> writes:
> On Fri, Aug 13, 2010 at 11:31 AM, Camm Maguire <c...@maguirefamily.org> wrote: >> Greetings! >> >> I've done a cvs update of open axiom, and I still have libtool >> problems. I've checked in fixes to the gcl 2.6.8pre branch that >> enables standalone compiler::link under mingw/wine for me. I've also >> verified a maxima/gcl-ansi/wine build. > > Hi Camm, > > Thanks for the update and fixes. > I'm currently on the "road" with only a windows 64-bit, so I cannot test > the new patches on the windows 32-bit. But I'll do early next week. > >> I've extended the custom elf relocation facility to arm, mips, mipsel, >> alpha, s390, sh4, ppc, sparc, amd64, and i386. I'm about to release a >> debian package -63 to test this on the autobuilders. All that is >> missing is ia64 and hppa elf for native loading. All known macho and >> coff targets work. >> >> If someone wants to volunteer for the ia64 and hppa relocs, that would >> be great. Just a small file needed, e.g. elf64_ia64_reloc.h -- see >> examples already in place. > > Unfortunately, all my non-windows 64-bit boxes are amd64 (or my operating > system pretends so.) > >> >> I think all the other path issues regarding wine/mingw are fixed. >> I've checked in a 'gcc' to the unixport/msys build which will >> hopefully not tie up the native mingw build. I have not looked at >> mingw64, though someone should if they have time. > > Great! > >> I'll be away for one week starting tomorrow. >> >> Even with --host=mingw32, open axiom is still complaining on its own C >> code, so I can't really test this further. > > Is it the error the same as you reported earlier, or is it something else? > The reason I am asking is that I have tested the codes on msys/mingw32, > opensuse, fedora, and opensolaris with no problem. > Could you send me the exact error messages? Here is the attempt with --host=mingw32 ============================================================================= export CC=/usr/bin/i586-mingw32msvc-gcc c...@localhost:~/debian/axiom/oa.build$ ../oa.trunk/configure --with-lisp=gcl --host=mingw configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linuxaout checking host system type... Invalid configuration `mingw': machine `mingw' not recognized configure: error: /bin/bash ../oa.trunk/config/config.sub mingw failed c...@localhost:~/debian/axiom/oa.build$ ../oa.trunk/configure --with-lisp=gcl --host=mingw32 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linuxaout checking host system type... i386-pc-mingw32 checking target system type... i386-pc-mingw32 configure: WARNING: Cross build is not supported. configure: WARNING: Please notify open-axiom-de...@open-axiom.org if you succeed. checking for mingw32-gcc... /usr/bin/i586-mingw32msvc-gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/i586-mingw32msvc-gcc accepts -g... yes checking for /usr/bin/i586-mingw32msvc-gcc option to accept ISO C89... none needed checking for mingw32-g++... no checking for mingw32-c++... no checking for mingw32-gpp... no checking for mingw32-aCC... no checking for mingw32-CC... no checking for mingw32-cxx... no checking for mingw32-cc++... no checking for mingw32-cl.exe... no checking for mingw32-FCC... no checking for mingw32-KCC... no checking for mingw32-RCC... no checking for mingw32-xlC_r... no checking for mingw32-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... /usr/bin/i586-mingw32msvc-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /usr/bin/i586-mingw32msvc-gcc... /usr/i586-mingw32msvc/bin/ld checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... no checking for mingw32-dumpbin... no checking for mingw32-link... no checking for dumpbin... no checking for link... link -dump -symbols checking the name lister (link -dump -symbols) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i586-mingw32msvc/bin/ld option to reload object files... -r checking for mingw32-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for mingw32-ar... no checking for ar... ar checking for mingw32-strip... no checking for strip... strip checking for mingw32-ranlib... no checking for ranlib... ranlib checking command to parse link -dump -symbols output from /usr/bin/i586-mingw32msvc-gcc object... failed checking for dlfcn.h... no checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for mingw32-as... no checking for as... as checking for mingw32-dlltool... no checking for dlltool... no checking for mingw32-objdump... objdump checking for objdir... .libs checking if /usr/bin/i586-mingw32msvc-gcc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/i586-mingw32msvc-gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if /usr/bin/i586-mingw32msvc-gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if /usr/bin/i586-mingw32msvc-gcc static flag -static works... yes checking if /usr/bin/i586-mingw32msvc-gcc supports -c -o file.o... yes checking if /usr/bin/i586-mingw32msvc-gcc supports -c -o file.o... (cached) yes checking whether the /usr/bin/i586-mingw32msvc-gcc linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe 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 ld used by g++... /usr/i586-mingw32msvc/bin/ld checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for notepad.exe... no checking for make... make checking for a BSD-compatible install... /usr/bin/install -c checking for touch... touch checking for mktemp... mktemp checking for gawk... gawk checking for awk... /usr/bin/awk checking for ar... ar checking for pdflatex... /usr/bin/pdflatex checking for makeindex... makeindex checking for notangle... notangle checking for noweave... noweave checking gcl version... "GCL 2.6.7" checking which flavor of Lisp... gcl checking compiled Lisp file extension... o checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for uint8_t... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking whether sigaction is declared... no checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking whether getuid is declared... no checking whether geteuid is declared... no checking whether getgid is declared... no checking whether getegid is declared... no checking whether kill is declared... no checking winsock2.h usability... yes checking winsock2.h presence... yes checking for winsock2.h... yes checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking whether fork is declared... no checking sys/ioctl.h usability... no checking sys/ioctl.h presence... no checking for sys/ioctl.h... no checking pty.h usability... no checking pty.h presence... no checking for pty.h... no checking util.h usability... no checking util.h presence... no checking for util.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking termios.h usability... no checking termios.h presence... no checking for termios.h... no checking whether openpty is declared... no configure: Superman component is disabled. checking for X... libraries /usr/lib, headers /usr/include checking whether -R must be followed by a space... neither works checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... no checking for gethostbyname in -lnsl... no checking for gethostbyname in -lbsd... no checking for connect... no checking for connect in -lsocket... no checking for remove... yes checking for shmat... no checking for shmat in -lipc... no checking for IceConnectionNumber in -lICE... no checking for moc... no checking for qmake... no checking regex.h usability... no checking regex.h presence... no checking for regex.h... no configure: creating ./config.status config.status: creating src/graph/Makefile config.status: creating src/graph/Gdraws/Makefile config.status: creating src/graph/view2D/Makefile config.status: creating src/graph/view3D/Makefile config.status: creating src/graph/viewAlone/Makefile config.status: creating src/graph/viewman/Makefile config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/hyper/Makefile config.status: creating src/driver/Makefile config.status: creating src/lisp/Makefile config.status: creating src/boot/Makefile config.status: creating src/interp/Makefile config.status: creating src/share/Makefile config.status: creating src/algebra/Makefile config.status: creating src/input/Makefile config.status: creating src/etc/Makefile config.status: creating src/doc/Makefile config.status: creating src/hyper/presea config.status: creating build/scripts/document config.status: creating config/openaxiom-c-macros.h config.status: executing libtool commands extracting list of SPAD type definitions...done Type 'make' (without quotes) to build OpenAxiom c...@localhost:~/debian/axiom/oa.build$ export PATH=~/debian/gcl/gcl8mac3/bin:$PATH c...@localhost:~/debian/axiom/oa.build$ make cd "./src" && make all-src make[1]: Entering directory `/home/camm/debian/axiom/oa.build/src' make[2]: Entering directory `/home/camm/debian/axiom/oa.build/src/lib' ../../libtool --tag=CC --mode=compile /usr/bin/i586-mingw32msvc-gcc -c -prefer-pic -no-suppress -o bsdsignal.lo -O2 -Wall -D_GNU_SOURCE -g \ -I../../../oa.trunk/src/include -I../../config -I/usr/include ../../../oa.trunk/src/lib/bsdsignal.c libtool: compile: /usr/bin/i586-mingw32msvc-gcc -c -O2 -Wall -D_GNU_SOURCE -g -I../../../oa.trunk/src/include -I../../config -I/usr/include ../../../oa.trunk/src/lib/bsdsignal.c -DDLL_EXPORT -DPIC -o .libs/bsdsignal.o libtool: compile: /usr/bin/i586-mingw32msvc-gcc -c -O2 -Wall -D_GNU_SOURCE -g -I../../../oa.trunk/src/include -I../../config -I/usr/include ../../../oa.trunk/src/lib/bsdsignal.c -o bsdsignal.o ../../libtool --tag=CC --mode=compile /usr/bin/i586-mingw32msvc-gcc -c -prefer-pic -no-suppress -o cfuns-c.lo -O2 -Wall -D_GNU_SOURCE -g \ -I../../../oa.trunk/src/include -I../../config -I/usr/include ../../../oa.trunk/src/lib/cfuns-c.c libtool: compile: /usr/bin/i586-mingw32msvc-gcc -c -O2 -Wall -D_GNU_SOURCE -g -I../../../oa.trunk/src/include -I../../config -I/usr/include ../../../oa.trunk/src/lib/cfuns-c.c -DDLL_EXPORT -DPIC -o .libs/cfuns-c.o In file included from /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/windows.h:98, from ../../../oa.trunk/src/lib/cfuns-c.c:51: /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/winsock2.h:64: error: conflicting types for ‘fd_set’ /usr/include/sys/select.h:78: error: previous declaration of ‘fd_set’ was here /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/winsock2.h:109: error: redefinition of ‘struct timeval’ /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/winsock2.h:632: error: conflicting types for ‘select’ /usr/include/sys/select.h:112: error: previous declaration of ‘select’ was here /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/winsock2.h:635: error: conflicting types for ‘gethostname’ /usr/include/unistd.h:895: error: previous declaration of ‘gethostname’ was here ../../../oa.trunk/src/lib/cfuns-c.c: In function ‘oa_spawn’: ../../../oa.trunk/src/lib/cfuns-c.c:785: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘DWORD’ make[2]: *** [cfuns-c.lo] Error 1 make[2]: Leaving directory `/home/camm/debian/axiom/oa.build/src/lib' make[1]: *** [all-lib] Error 2 make[1]: Leaving directory `/home/camm/debian/axiom/oa.build/src' make: *** [all-src] Error 2 ============================================================================= Without this, I get through the first compiler::link, and libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' so I eliminate the libtool from the command, and /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -lutil collect2: ld returned 1 exit status so I try eliminating this and /home/camm/debian/axiom/oa.build/src/lib/bsdsignal.o: In function `bsdSignal': /home/camm/debian/axiom/oa.build/src/lib/../../../oa.trunk/src/lib/bsdsignal.c:42: undefined reference to `_GLOBAL_OFFSET_TABLE_' /home/camm/debian/axiom/oa.build/src/lib/../../../oa.trunk/src/lib/bsdsignal.c:58: undefined reference to `sigaction' /home/camm/debian/axiom/oa.build/src/lib/cfuns-c.o: In function `oa_get_tmpdir': /home/camm/debian/axiom/oa.build/src/lib/../../../oa.trunk/src/lib/cfuns-c.c:642: undefined reference to `_GLOBAL_OFFSET_TABLE_' /home/camm/debian/axiom/oa.build/src/lib/cfuns-c.o: In function `plus_infinity': /home/camm/debian/axiom/oa.build/src/lib/../../../oa.trunk/src/lib/cfuns-c.c:701: undefined reference to `_GLOBAL_OFFSET_TABLE_' .... because these files are elf, not coff, compiled with gcc instead of mingw gcc. Take care, > > Thanks! > > -- Gaby > > > > -- Camm Maguire c...@maguirefamily.org ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org http://lists.gnu.org/mailman/listinfo/gcl-devel