Unexpected gcc linking behavior on -CURRENT

From: Matt <datahead4_at_gmail.com>
Date: Fri, 21 Sep 2007 13:36:24 -0500
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
Received on Fri Sep 21 2007 - 16:36:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC