public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22063] New: link failure involving symbol visibility
@ 2005-06-14 14:18 mueller at kde dot org
  2005-06-14 14:19 ` [Bug c++/22063] " mueller at kde dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: mueller at kde dot org @ 2005-06-14 14:18 UTC (permalink / raw)
  To: gcc-bugs

I'm experiencing a build failure in a rather complex project which boils  
down to a class compiled with two different visibilities. it fails with this  
error, but only when using -fPIC  
 
linkfoo.o: In function `foo::foo()': 
linkfoo.cc:(.gnu.linkonce.t._ZN3fooC1Ev[foo::foo()]+0x11): undefined reference 
to `vtable for foo' 
/usr/lib/gcc/i586-suse-linux/4.0.1/../../../../i586-suse-linux/bin/ld: 
liblinkfoo.so: hidden symbol `vtable for foo' isn't defined 
/usr/lib/gcc/i586-suse-linux/4.0.1/../../../../i586-suse-linux/bin/ld: final 
link failed: Nonrepresentable section on output 
collect2: ld returned 1 exit status 
 
 
attaching testcase.

-- 
           Summary: link failure involving symbol visibility
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mueller at kde dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i386-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22063


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-22063-3563@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-04-19 19:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-14 14:18 [Bug c++/22063] New: link failure involving symbol visibility mueller at kde dot org
2005-06-14 14:19 ` [Bug c++/22063] " mueller at kde dot org
2005-06-14 15:03 ` matz at suse dot de
2005-06-14 15:49 ` pinskia at gcc dot gnu dot org
2005-06-14 16:13 ` matz at suse dot de
     [not found] <bug-22063-3563@http.gcc.gnu.org/bugzilla/>
2006-03-21  3:24 ` jason at gcc dot gnu dot org
2006-03-21 13:59 ` matz at suse dot de
2006-04-19 19:24 ` geoffk at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).