producing/using i386 libs/apps under amd64
Michael Reifenberger
mike at Reifenberger.com
Tue May 24 08:14:50 PDT 2005
Hi,
there seems to be at last two instances of the same problem
when using freebsd/amd64:
(openoffice-1.1.4):
After compiling all base libs for i386 (into /usr/lib32)
and fetching the missing i386 libs from an i386 machine (into /usr/lib32)
starting openoffice.org-1.1.4 leads to:
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXmu.so.6: unsupported file layout
( It seems to be the wrong linker which uses the wrong lib... )
(/sys/boot/ficl/):
make testmain fails with:
cc -O -pipe -fno-strict-aliasing -ffreestanding -mpreferred-stack-boundary=2
-DTESTMAIN -D_TESTMAIN -m32 -I. -I/usr/src/sys/boot/ficl
-I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -c
/usr/src/sys/boot/ficl/testmain.c
cc -O -pipe -fno-strict-aliasing -ffreestanding -mpreferred-stack-boundary=2
-DTESTMAIN -D_TESTMAIN -m32 -I. -I/usr/src/sys/boot/ficl
-I/usr/src/sys/boot/ficl/i386 -I/usr/src/sys/boot/ficl/../common -o testmain
dict.o ficl.o fileaccess.o float.o loader.o math64.o prefix.o search.o stack.o
tools.o vm.o words.o sysdep.o softcore.o testmain.o
/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc
*** Error code 1
(Here it seems that the linker is not aware of the -m32 option)
Is someone working in this area?
Or are there workarounds available?
Thanks!
Bye/2
---
Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting
Comp: Michael.Reifenberger at plaut.de | Priv: Michael at Reifenberger.com
http://www.plaut.de | http://www.Reifenberger.com
More information about the freebsd-amd64
mailing list