This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Linking Mono with gold
- From: Ian Lance Taylor <iant at google dot com>
- To: Seo Sanghyeon <tinuviel at sparcs dot kaist dot ac dot kr>
- Cc: binutils at sourceware dot org
- Date: Mon, 23 Jun 2008 06:43:39 -0700
- Subject: Re: Linking Mono with gold
- References: <20080622034439.GA20568@sparcs.kaist.ac.kr>
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