Boehm GC update busted?

Kris Kennaway kris at obsecurity.org
Sat May 3 15:40:38 PDT 2003


On Sat, May 03, 2003 at 05:17:59PM -0500, Juli Mallett wrote:
> Boehm GC update seems to be b?rken.  Any thoughts?  This is
> breaking Mono, and my ability to support it as such.
> 
> I can't imagine that nothing else is affected.  Is this due
> to some sort of c++ "features" added or such?  "gxx" smacks
> of g++.
> 
> (jmallett at dalek:~/Work/MonoHaq/mono)16% cat _.c
> void main() { GC_malloc(); }
> (jmallett at dalek:~/Work/MonoHaq/mono)17% cc _.c -L/usr/local/lib -lgc
> _.c: In function `main':
> _.c:1: warning: return type of `main' is not `int'
> /usr/local/lib/libgc.so: undefined reference to `__gxx_personality_v0'

This indicates that there is C++ code that is trying to be linked with
the C library.  This usually means that you have to use g++ to link
the binary instead of gcc.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030503/9474824e/attachment.bin


More information about the freebsd-ports mailing list