From owner-freebsd-current@FreeBSD.ORG Fri Sep 21 18:36:25 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE15A16A41B for ; Fri, 21 Sep 2007 18:36:25 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA8913C494 for ; Fri, 21 Sep 2007 18:36:25 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so632457wxd for ; Fri, 21 Sep 2007 11:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=+WYg61yG8WRgIn3DKxY1SdeC9TbUEV3IycPogRrCs24=; b=NEryLR5pswuj/RoJOJhOXDEgnupyeQwCgtJ3ovaolXFbTFdmfjHPReLYr+U4WI0Nitjt6Vr8xCFJQBNqgfnb/as/DzCJ0nR+tR8pMk0PAqQSV+R5+jU9T04TNYozzFFxTnqXmGiNkZ37O1m30YYE7CJD2zeHY+fpHcTD2INItoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dUpkNrMZW+h0ClDKytk6CKcPSjw1ZbK0RnFkQFT0SLHhdibTXtS9JV9vrxMkvSRGcOocpV6/1qLnm1mCTOSoWBW2L4RF5rDuJGQN8HmcmtDGRAG1HixK7/Smwu70TjQmV1Y5SFD1irGBqnfypzQ2oQV8eq14TKOzJ71u1c75TAY= Received: by 10.90.52.18 with SMTP id z18mr2841271agz.1190399784617; Fri, 21 Sep 2007 11:36:24 -0700 (PDT) Received: by 10.90.106.19 with HTTP; Fri, 21 Sep 2007 11:36:24 -0700 (PDT) Message-ID: Date: Fri, 21 Sep 2007 13:36:24 -0500 From: Matt To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Unexpected gcc linking behavior on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 18:36:25 -0000 Hello all. I've been working on getting VirtualBox to build on -CURRENT and have hit what I think might be a compiler snag based on the error and some of the mails I've seen to the freebsd-java mailing list over the last months. Any insights into how to isolate and hopefully correct this error would be greatly appreciated. The code builds cleanly on a 6.2-RELEASE box using gcc 3.4.6. The error on -CURRENT (from 9/13) using gcc 4.2.1 is as follows: kBuild: Linking VBoxSVCout/freebsd.x86/release/obj/src/VBox/Main/VBoxSVC/linux/server.o(.text+0x313): In function `__static_initialization_and_destruction_0': src/VBox/Main/linux/server.cpp:594: undefined reference to `_292' out/freebsd.x86/release/obj/src/VBox/Main/VBoxSVC/linux/server.o(.text+0x31d):src/VBox/Main/linux/server.cpp:594: undefined reference to `_292' out/freebsd.x86/release/obj/src/VBox/Main/VBoxSVC/linux/server.o(.text+0x327):src/VBox/Main/linux/server.cpp:594: undefined reference to `_292' out/freebsd.x86/release/obj/src/VBox/Main/VBoxSVC/linux/server.o(.text+0x331):src/VBox/Main/linux/server.cpp:594: undefined reference to `_292' kmk[3]: *** [out/freebsd.x86/release/obj/src/VBox/Main/VBoxSVC/VBoxSVC] Error 1 Thank you, Matt