From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 22 19:00:18 2007 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6F7816A400 for ; Fri, 22 Jun 2007 19:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9137713C45B for ; Fri, 22 Jun 2007 19:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5MJ0Igs062968 for ; Fri, 22 Jun 2007 19:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5MJ0Ihw062967; Fri, 22 Jun 2007 19:00:18 GMT (envelope-from gnats) Date: Fri, 22 Jun 2007 19:00:18 GMT Message-Id: <200706221900.l5MJ0Ihw062967@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Joshua Isom Cc: Subject: Re: amd64/113793: STABLE fails to build on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joshua Isom List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 19:00:18 -0000 The following reply was made to PR amd64/113793; it has been noted by GNATS. From: Joshua Isom To: bug-followup@FreeBSD.org, jrisom@gmail.com Cc: Subject: Re: amd64/113793: STABLE fails to build on amd64 Date: Fri, 22 Jun 2007 13:31:23 -0500 I believe I have discovered the cause of this. After rebooting under a 6.2-RELEASE generic kernel and rebuilding world inside a jail running the 6.2-RELEASE userland and getting the same problem, I knew there had to be some misconfiguration somewhere. But to support testing a program that uses a shared library without installing it, I had LD_LIBRARY_PATH set to include '.' which seems to have caused the fault. The make scripts don't do anything to ignore LD_LIBRARY_PATH which causes 64-bit executables to try to use a 32-bit library in the present directory which fails.