public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28370]  New: undefined reference (to a complicated template construct) at link time
@ 2006-07-13  9:41 caolanm at redhat dot com
  2006-07-13  9:42 ` [Bug c++/28370] " caolanm at redhat dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: caolanm at redhat dot com @ 2006-07-13  9:41 UTC (permalink / raw)
  To: gcc-bugs

../unxlngi6.pro/slo/uuid.o: In function `create':
../../inc/rtl/instance.hxx:292: undefined reference to `(anonymous
namespace)::rtl_Instance<(anonymous namespace)::Pool, rtl::Static<(anonymous
namespace)::Pool, (anonymous namespace)::PoolHolder>::StaticInstance,
osl::Guard<osl::Mutex>, osl::GetGlobalMutex, int, int>::m_pInstance'

So, attachment 1 is my testcase testme.ii

with "g++ -c -fPIC -o testme.o testme.ii"

compiled with "g++ (GCC) 4.1.1 20060629 (Red Hat 4.1.1-6)" I get the following
attachment 2 output from nm

compiled with "g++ (GCC) 4.1.1 20060711 (Red Hat 4.1.1-7)" I get the following
attachment 3 output from nm

the above missing symbol is U in -7 and V in -6


-- 
           Summary: undefined reference (to a complicated template
                    construct) at link time
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: caolanm at redhat dot com


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-08-28 12:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-13  9:41 [Bug c++/28370] New: undefined reference (to a complicated template construct) at link time caolanm at redhat dot com
2006-07-13  9:42 ` [Bug c++/28370] " caolanm at redhat dot com
2006-07-13  9:43 ` caolanm at redhat dot com
2006-07-13  9:43 ` caolanm at redhat dot com
2006-07-13 11:06 ` caolanm at redhat dot com
2006-07-13 11:54 ` pinskia at gcc dot gnu dot org
2006-07-13 11:55 ` pinskia at gcc dot gnu dot org
2006-07-13 12:19 ` pinskia at gcc dot gnu dot org
2006-07-13 14:08 ` [Bug c++/28370] [4.2 Regression] undefined reference to template class static variable in an anonymous namespace pinskia at gcc dot gnu dot org
2006-07-13 16:25 ` jakub at gcc dot gnu dot org
2006-07-13 16:50 ` jakub at gcc dot gnu dot org
2006-07-16 20:17 ` jakub at gcc dot gnu dot org
2006-07-16 22:24 ` pinskia at gcc dot gnu dot org
2006-08-28 12:29 ` jakub 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).