From owner-freebsd-amd64@FreeBSD.ORG Tue May 24 15:14:50 2005 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DDA816A41C for ; Tue, 24 May 2005 15:14:50 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9804C43D48 for ; Tue, 24 May 2005 15:14:49 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from fwd21.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1Dab7E-0004d4-00; Tue, 24 May 2005 17:14:44 +0200 Received: from fw.reifenberger.com (EIJ1TYZTweCUeoE89ySGHW0uI7VvbadM1wt+hrWqOyHHkYd9ap8cri@[84.152.77.151]) by fwd21.sul.t-online.de with esmtp id 1Dab71-1WTwsC0; Tue, 24 May 2005 17:14:31 +0200 Received: from localhost (mike@localhost) by fw.reifenberger.com (8.13.3/8.13.3/Submit) with ESMTP id j4OFEEL9009688 for ; Tue, 24 May 2005 17:14:14 +0200 (CEST) (envelope-from mike@reifenberger.com) X-Authentication-Warning: fw.reifenberger.com: mike owned process doing -bs Date: Tue, 24 May 2005 17:14:14 +0200 (CEST) From: Michael Reifenberger To: amd64@freebsd.org Message-ID: <20050524165452.A9190@fw.reifenberger.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ID: EIJ1TYZTweCUeoE89ySGHW0uI7VvbadM1wt+hrWqOyHHkYd9ap8cri@t-dialin.net X-TOI-MSGID: ed52ed7b-a8b3-449b-b1b9-1fa491ac1898 Cc: Subject: producing/using i386 libs/apps under amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 15:14:50 -0000 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