public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/54314] New: undefined references to 'construction vtable for std::ostream-in-std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >'
@ 2012-08-18 10:32 vanboxem.ruben at gmail dot com
  2012-08-18 14:54 ` [Bug regression/54314] " jojelino at gmail dot com
                   ` (40 more replies)
  0 siblings, 41 replies; 42+ messages in thread
From: vanboxem.ruben at gmail dot com @ 2012-08-18 10:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54314
           Summary: undefined references to 'construction vtable for
                    std::ostream-in-std::basic_ostringstream<char,
                    std::char_traits<char>, std::allocator<char> >'
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vanboxem.ruben@gmail.com


I'm trying to build GCC 4.8 for x86_64-w64-mingw32. I have a cross-compiler but
I cannot build my C++ code with it.

The error is exactly the same as the one detailed here:
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01142.html

I seem to be unable to detect when exactly this problem shows up, but I run
into it when building PPL-0.12.1 with the Linux->Windows cross-compiler:

/bin/bash ../../libtool  --tag=CXX   --mode=link x86_64-w64-mingw32-g++  -g -O2
-frounding-math  -W -Wall   -o ppl_pips.exe ppl_pips.o ../../src/libppl.la
../../utils/libppl_utils.a
-L/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install/lib -lgmpxx -lgmp 
libtool: link: x86_64-w64-mingw32-g++ -g -O2 -frounding-math -W -Wall -o
ppl_pips.exe ppl_pips.o  ../../src/.libs/libppl.a
-L/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install/lib
../../utils/libppl_utils.a
/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install/lib/libgmpxx.a
/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install/lib/libgmp.a
ppl_pips.o: In function `basic_istream':
/home/ruben/mingw-w64/linux64mingw64/mingw64/x86_64-w64-mingw32/include/c++/4.8.0/istream:609:
undefined reference to `construction vtable for
std::istream-in-std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >'
/home/ruben/mingw-w64/linux64mingw64/mingw64/x86_64-w64-mingw32/include/c++/4.8.0/istream:609:
undefined reference to `construction vtable for
std::istream-in-std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >'
ppl_pips.o: In function `~basic_istream':
/home/ruben/mingw-w64/linux64mingw64/mingw64/x86_64-w64-mingw32/include/c++/4.8.0/istream:106:
undefined reference to `construction vtable for
std::istream-in-std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >'
ppl_pips.o: In function `basic_istream':
/home/ruben/mingw-w64/linux64mingw64/mingw64/x86_64-w64-mingw32/include/c++/4.8.0/istream:609:
undefined reference to `construction vtable for
std::istream-in-std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >'
/home/ruben/mingw-w64/linux64mingw64/mingw64/x86_64-w64-mingw32/include/c++/4.8.0/istream:609:
undefined reference to `construction vtable for
std::istream-in-std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >'
ppl_pips.o:/home/ruben/mingw-w64/linux64mingw64/mingw64/x86_64-w64-mingw32/include/c++/4.8.0/istream:106:
more undefined references to `construction vtable for
std::istream-in-std::basic_istringstream<char, std::char_traits<char>,
std::allocator<char> >' follow
collect2: error: ld returned 1 exit status

This effectively makes g++ useless. I seem to remember only non-debug builds
are affected.


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

end of thread, other threads:[~2013-09-10 16:19 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18 10:32 [Bug regression/54314] New: undefined references to 'construction vtable for std::ostream-in-std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >' vanboxem.ruben at gmail dot com
2012-08-18 14:54 ` [Bug regression/54314] " jojelino at gmail dot com
2012-08-20  7:00 ` [Bug c++/54314] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-08-20 15:22 ` jojelino at gmail dot com
2012-08-20 16:15 ` jojelino at gmail dot com
2012-08-21 13:39 ` jojelino at gmail dot com
2012-08-21 20:10 ` jojelino at gmail dot com
2012-09-04 19:28 ` [Bug libstdc++/54314] " jason at gcc dot gnu.org
2012-09-05 10:25 ` paolo.carlini at oracle dot com
2012-09-10 11:45 ` ktietz at gcc dot gnu.org
2012-09-25  8:11 ` vanboxem.ruben at gmail dot com
2012-09-26  9:01 ` paolo.carlini at oracle dot com
2012-09-26  9:02 ` paolo.carlini at oracle dot com
2012-09-26 19:06 ` bkoz at gcc dot gnu.org
2012-09-26 20:09 ` ktietz at gcc dot gnu.org
2012-09-26 21:06 ` paolo.carlini at oracle dot com
2012-09-27  0:05 ` bkoz at gcc dot gnu.org
2012-09-27 17:05 ` bkoz at gcc dot gnu.org
2013-01-25 20:36 ` jason at gcc dot gnu.org
2013-01-25 20:37 ` jason at gcc dot gnu.org
2013-01-26  5:39 ` jason at gcc dot gnu.org
2013-01-26 10:06 ` jakub at gcc dot gnu.org
2013-01-26 10:39 ` jakub at gcc dot gnu.org
2013-01-26 18:32 ` hubicka at ucw dot cz
2013-01-27  1:45 ` jason at gcc dot gnu.org
2013-01-28 11:28 ` jakub at gcc dot gnu.org
2013-01-28 14:56 ` hubicka at ucw dot cz
2013-01-28 15:43 ` jason at gcc dot gnu.org
2013-01-28 19:05 ` hubicka at ucw dot cz
2013-01-29 17:25 ` jason at gcc dot gnu.org
2013-01-29 17:49 ` jason at gcc dot gnu.org
2013-02-04 10:16 ` ro at gcc dot gnu.org
2013-02-04 10:22 ` jakub at gcc dot gnu.org
2013-02-04 10:44 ` jakub at gcc dot gnu.org
2013-02-04 17:20 ` jakub at gcc dot gnu.org
2013-03-12 12:43 ` hubicka at gcc dot gnu.org
2013-03-12 13:06 ` jason at gcc dot gnu.org
2013-03-12 13:32 ` hubicka at ucw dot cz
2013-03-12 14:03 ` jason at gcc dot gnu.org
2013-09-10  9:46 ` pluto at agmk dot net
2013-09-10 15:30 ` pluto at agmk dot net
2013-09-10 16:19 ` ktietz at gcc dot gnu.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).