From owner-freebsd-current@FreeBSD.ORG Fri Sep 21 19:44:29 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 27DCC16A417 for ; Fri, 21 Sep 2007 19:44:29 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id D689D13C448 for ; Fri, 21 Sep 2007 19:44:28 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so643859wxd for ; Fri, 21 Sep 2007 12:44:27 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fPSVJSGOOLQml7nhnNvTyB+9+BNlVRq9WBqnYYkrOhw=; b=CBq6pKkWMwmi6GaILOzzjBvPU9j7iL4I+FsP2sLvu451apBh5he4kglprDaD892rrUfcZ7+nzd09VdzPOS6d+Mcv8aLYEu/wA4DNeryQdUfFGbqUKAa2DJWmOSYzk8SILFPI3603wa609RjuVv+m69JbZDmcOEmakghs1xWWGoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Za9LhpACey+adTk3KvATIixv4Sbh1Z/X7sWirrVxIm+qfE6donhNoNLOhQxD0ol+XPsp2ZI0dd8jBgb1zBS9mdI+/SD0ZRpkOilAfhVXebxuQCXcfSPLTI46yA0Zva5stPibOYk7RG+VkUmjPg9FAtkhc6d7NCASh/rktw+QuwQ= Received: by 10.90.63.16 with SMTP id l16mr2933084aga.1190403867131; Fri, 21 Sep 2007 12:44:27 -0700 (PDT) Received: by 10.90.106.19 with HTTP; Fri, 21 Sep 2007 12:44:27 -0700 (PDT) Message-ID: Date: Fri, 21 Sep 2007 14:44:27 -0500 From: Matt To: "Alexander Leidinger" In-Reply-To: <20070921211541.1b6d6ca0@deskjail> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070921211541.1b6d6ca0@deskjail> Cc: freebsd-current@freebsd.org Subject: Re: 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 19:44:29 -0000 On 9/21/07, Alexander Leidinger wrote: > Quoting Matt (Fri, 21 Sep 2007 13:36:24 -0500): > > > > > 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' > > I've seen something like this because of compiler bugs depending on the > optimization level. Try different optimization levels and have a look > what happens (complete rebuild of the source in question). > > Bye, > Alexander. > Thank you for the suggestion. I thought that a possibility as well, and I've changed all optimization levels to -O1 and added -fno-tree-vrp to CFLAGS as I've seen suggested for the various jdk15 and jdk16 build issues. This has unfortunately not helped. Matt