This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: libstdc++ related boostrap failure


On Thu, Feb 13, 2003 at 11:48:24AM +0100, Gerald Pfeifer wrote:
> 
> /files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/gthr-default.h:486: undefined reference to `__gnu_cxx::_Atomic_add_mutex'
> /files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/gthr-default.h:504: undefined reference to `__gnu_cxx::_Atomic_add_mutex'
> /files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/gthr-default.h:486: undefined reference to `__gnu_cxx::_Atomic_add_mutex'
> /files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/gthr-default.h:486: undefined reference to `__gnu_cxx::_Atomic_add_mutex'
> /files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/gthr-default.h:504: undefined reference to `__gnu_cxx::_Atomic_add_mutex'
> abi_check.o:/files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/gthr-default.h:504: more undefined references to `__gnu_cxx::_Atomic_add_mutex' follow

Okay, so
/files/pfeifer/OBJ-0213-1115/i386-unknown-freebsd4.7/libstdc++-v3/include/i386-unknown-freebsd4.7/bits/atomicity.h
should be pointing to config/abi/generic/atomicity.h.  And that file
unconditionally #defines _GLIBCPP_NEED_GENERIC_MUTEX.  Could you confirm
those two statements please?

src/misc-inst.cc should be defining that symbol for you (very end of
the file, in which I now see I made a comment typo).

Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


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