From owner-freebsd-current@FreeBSD.ORG Tue May 25 08:45:56 2010 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 BBE4E1065674; Tue, 25 May 2010 08:45:56 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (unknown [IPv6:2002:5bc2:5ac8:d:20c:29ff:fe19:7b2]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7608FC34; Tue, 25 May 2010 08:45:56 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1OGplr-0002HB-4B; Tue, 25 May 2010 10:45:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Tue, 25 May 2010 10:45:56 +0200 From: Bernhard Froehlich To: Mario Sergio Fujikawa Ferreira In-Reply-To: <20100521020553.80602.qmail@exxodus.fedaykin.here> References: <20100521020553.80602.qmail@exxodus.fedaykin.here> Message-ID: X-Sender: decke@FreeBSD.org User-Agent: RoundCube Webmail/0.4-beta X-Spam-Score: 0.2 (/) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, 20 May 2010 23:05:53 -0300, Mario Sergio Fujikawa Ferreira wrote: > Hi, > > I recently reinstalled my FreeBSD 8-STABLE box to move from > i386 to amd64. The hardware hasn't changed (except for an increase > from 4GB to 8GB ram). > > There have been some hiccups and I am still trying to tidy > up things together. > > One of the problems I am having is building virtualbox-ose > which previously built nicely on i386. > > I am running a vanilla 8-STABLE world (no special COPTFLAGS) from May > 17th. > > $ uname -a > FreeBSD exxodus.fedaykin.here 8.0-STABLE FreeBSD 8.0-STABLE #2: Mon May 17 > 19:53:30 BRT 2010 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX amd64 > > I have a clean and up to date ports tree from today. > All ports upgraded using portupgrade. > > I am trying to build the virtualbox-ose port with vanilla cflags. > > $ make -V CFLAGS > -O2 -pipe -fno-strict-aliasing > > The relevant message follows: > > --------- > > kBuild: Installing VBoxControl => > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE/out/freebsd.amd64/release/bin/additions/VBoxControl > kmk[2]: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h] > Segmentation fault: 11 (core dumped) > kmk[2]: *** Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h' > kmk[2]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE' > kmk[1]: *** [pass_binaries_this] Error 2 > kmk[1]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE' > kmk: *** [pass_binaries_order] Error 2 > *** Error code 2 > > --------- > > The complete build log can be found at > > http://people.freebsd.org/~lioux/virtualbox-ose_3.1.8_build.log.bz2 > > My virtualbox-ose work directory can be found at > (you need archivers/xz to extract it) > > http://people.freebsd.org/~lioux/virtualbox-ose__work.tar.xz > > Let me know if there is anything I can do [...] Content analysis details: (0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 1.6 AWL AWL: From: address is in the auto white-list Cc: freebsd-current@freebsd.org, vbox@FreeBSD.org Subject: gcc segfault: Cannot build virtualbox-ose on 8-STABLE amd64 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: Tue, 25 May 2010 08:45:56 -0000 On Thu, 20 May 2010 23:05:53 -0300, Mario Sergio Fujikawa Ferreira wrote: > Hi, > > I recently reinstalled my FreeBSD 8-STABLE box to move from > i386 to amd64. The hardware hasn't changed (except for an increase > from 4GB to 8GB ram). > > There have been some hiccups and I am still trying to tidy > up things together. > > One of the problems I am having is building virtualbox-ose > which previously built nicely on i386. > > I am running a vanilla 8-STABLE world (no special COPTFLAGS) from May > 17th. > > $ uname -a > FreeBSD exxodus.fedaykin.here 8.0-STABLE FreeBSD 8.0-STABLE #2: Mon May 17 > 19:53:30 BRT 2010 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX amd64 > > I have a clean and up to date ports tree from today. > All ports upgraded using portupgrade. > > I am trying to build the virtualbox-ose port with vanilla cflags. > > $ make -V CFLAGS > -O2 -pipe -fno-strict-aliasing > > The relevant message follows: > > --------- > > kBuild: Installing VBoxControl => > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE/out/freebsd.amd64/release/bin/additions/VBoxControl > kmk[2]: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h] > Segmentation fault: 11 (core dumped) > kmk[2]: *** Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h' > kmk[2]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE' > kmk[1]: *** [pass_binaries_this] Error 2 > kmk[1]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.8_OSE' > kmk: *** [pass_binaries_order] Error 2 > *** Error code 2 > > --------- > > The complete build log can be found at > > http://people.freebsd.org/~lioux/virtualbox-ose_3.1.8_build.log.bz2 > > My virtualbox-ose work directory can be found at > (you need archivers/xz to extract it) > > http://people.freebsd.org/~lioux/virtualbox-ose__work.tar.xz > > Let me know if there is anything I can do to help. > > Regards, > > ps: virtualbox-ose-kmod builds without a problem as well as my other > 1482 ports. :) Segmentation fault: 11 comes from gcc so this is likely to be a compiler bug and i'm not sure if we can help in this case so I cc'd current@. Could you try to get a backtrace from the core file that it has dumped? -- Bernhard Froehlich http://www.bluelife.at/