Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 17:14:14 +0200 (CEST)
From:      Michael Reifenberger <mike@Reifenberger.com>
To:        amd64@freebsd.org
Subject:   producing/using i386 libs/apps under amd64
Message-ID:  <20050524165452.A9190@fw.reifenberger.com>

next in thread | raw e-mail | index | archive | help
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@plaut.de | Priv: Michael@Reifenberger.com
       http://www.plaut.de           |       http://www.Reifenberger.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524165452.A9190>