From owner-freebsd-stable@FreeBSD.ORG Tue Dec 23 05:56:01 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790FB106564A for ; Tue, 23 Dec 2008 05:56:01 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 508A68FC13 for ; Tue, 23 Dec 2008 05:55:58 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3732177rvf.43 for ; Mon, 22 Dec 2008 21:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=ITCr+cEvHHaHMpsCHwFofJAuT7ePxUmhJ78XUCgDz68=; b=SKNIh7XFMPqvy5MD9BsF1jVdx6OszFvf7/xNEYvufppFH56v9Vdp8HAnCz+MZX67MS iT1JyIJBw6SPhlAoG4wfl0J6fi9ISghWP2K8FB64tL23zhoMFwRo1xwDbzQay15z9MJf tzGTlVemcVQlT7uxNIDbPwJt9wbFYMCkJy36E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=wFpw06gNDftsSwCjOrT41ZrLotWcHJm+wTZX9alNbj+HMSYBHCaOr0IzmFzkEJK9Sf mlPXEo4hSpdfhTKpjfAuBIcZBEAOABe5oP1mbnKhIROPFx678riT3dpU8ZTFXZL41cju 9Qs1xJPux0EKDJOs3XDrisVoKyuQZU4LoUAXk= Received: by 10.140.188.10 with SMTP id l10mr3573095rvf.94.1230010556759; Mon, 22 Dec 2008 21:35:56 -0800 (PST) Received: by 10.140.135.2 with HTTP; Mon, 22 Dec 2008 21:35:56 -0800 (PST) Message-ID: <7d6fde3d0812222135l753daf54geb37b696c9c1cf8@mail.gmail.com> Date: Mon, 22 Dec 2008 21:35:56 -0800 From: "Garrett Cooper" To: amd64@freebsd.org, stable MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: -m32 broken on bi-arch amd64 systems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 05:56:01 -0000 Hi guys, I think I may have found an issue today with our bi-endian structure, and I wanted to make sure whether or not it was an already known issue (-m32 is broken for gcc with lib32/libgcc.a): [root@fbsd-7-test]# gcc -o boo boo.c # Compiles [root@fbsd-7-test]# gcc -m32 -o boo boo.c /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc [root@fbsd-7-test]# file /usr/lib32/libgcc_s.so.1 /usr/lib32/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped [root@fbsd-7-test]# uname -a FreeBSD fbsd-7-test.gateway.2wire.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sun Nov 23 16:19:09 UTC 2008 root@fbsd-7-test.gateway.2wire.net:/usr/obj/usr/src/sys/STARR amd64 I wish I had my amd64 CURRENT machine in front of me to confirm this, but I don't. Please keep me CC'ed as I am not subscribed to either amd64@ or stable@. Thanks! -Garrett