|
From: | hjl dot tools at gmail dot com |
Subject: | [Bug ld/11175] ld marks destructor hidden global |
Date: | 15 Jan 2010 19:04:51 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2010-01-15 19:04 ------- Created an attachment (id=4523) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4523&action=view) A simple testcase address@hidden pr11175]$ make cc -fPIC -c -o x.o x.c cc -fPIC -c -o foo.o foo.c cc -fPIC -c -o bar.o bar.c ld -shared -o libx.so foo.o bar.o ld -e main -o x x.o libx.so x.o: In function `main': x.c:(.text+0x5): undefined reference to `foo' make: *** [x] Error 1 address@hidden pr11175]$ -- http://sourceware.org/bugzilla/show_bug.cgi?id=11175 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] | Current Thread | [Next in Thread] |