This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/48120] New: libpwl test must use g++


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

           Summary: libpwl test must use g++
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: spop@gcc.gnu.org
              Host: i386-pc-solaris2.10
            Target: i386-pc-solaris2.10
             Build: i386-pc-solaris2.10


The libpwl test in toplevel configure is bogus: it tries to link with gcc, but
libpwl is a C++ library and needs symbols from libstdc++, as can be seen in
this
excerpt from config.log of a failing bootstrap:

configure:5755: gcc -o conftest -g -O2   -L/vol/gcc/lib conftest.c -lpwl   >&5
Undefined                       first referenced
 symbol                             in file
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_st
ring(std::basic_string<char, std::char_traits<char>, std::allocator<char> >
cons
t&) /vol/gcc/lib/libpwl.a(Watchdog.o)
operator new(unsigned int)          /vol/gcc/lib/libpwl.a(Watchdog.o)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]