bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/11042] Unresolved symbols when using --as-needed


From: robert dot wohlrab at gmx dot de
Subject: [Bug gold/11042] Unresolved symbols when using --as-needed
Date: 2 Dec 2009 15:38:52 -0000

X-Bugzilla-Reason: CC


------- Additional Comments From robert dot wohlrab at gmx dot de  2009-12-02 
15:38 -------
Created an attachment (id=4438)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4438&action=view)
conftest.c created by gtk-2.0.m4

Use 

gcc -o conftest `pkg-config --cflags gtk+-x11-2.0` -Wl,--as-needed conftest.c
`pkg-config --libs gtk+-x11-2.0`

to compile it (with gcc and gold) and you should get an error when running it
with ./conftest

./conftest: symbol lookup error: ./conftest: undefined symbol:
gtk_minor_version

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11042

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]