Linking Mono with gold

Ian Lance Taylor iant@google.com
Mon Jun 23 17:45:00 GMT 2008


Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr> writes:

> gcc -I../.. -I../../libgc/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -g -O2 -fno-strict-aliasing
> -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
> -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
> -Wwrite-strings -mno-tls-direct-seg-refs
> -Wl,-version-script=./ldscript.mono -Wl,--export-dynamic -o mono main.o
> -pthread -Wl,--export-dynamic  ./.libs/libmono-static.a
> /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -lrt -ldl -lpthread
> -lm
> /usr/bin/ld: internal error in script_register_vers_node, at
> ../../gold/script.cc:2210

Looks like http://sourceware.org/bugzilla/show_bug.cgi?id=6647 .

> If yyscript.y is calling script_register_vers_node with tag NULL, why is
> script_register_vers_node asserting tag != NULL?

It's a bug.  I expect to fix it next week if nobody else does it first
(I'm on vacation this week).

Ian



More information about the Binutils mailing list