Re: r235510: recent buildworld fail

From: Hartmann, O. <ohartman_at_zedat.fu-berlin.de>
Date: Fri, 18 May 2012 12:37:39 +0200
On 05/17/12 00:24, Dimitry Andric wrote:
> On 2012-05-16 20:48, O. Hartmann wrote:> When compiling world (make buildworld) I receive the bewlo error, which
>> seems very strange!
>> The error occured out of the blue on a FreeBSD 10.0-CURRENT/amd64 box.
> ...
>> /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol
>> `_ZNSi6ignoreEv_at_GLIBCXX_3.4' changed from 243 in
>> /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 211 in
>> /usr/obj/usr/src/tmp/usr/lib/libstdc++.so
>>
>> looks like a "mixed up" between CLANG and legacy GCC 4.2.1, as far as I
>> remember this error was typical for a mismatch.
> 
> Where did you read that?  In any case, I think this may be a problem
> with one of the settings in your make.conf, not those in src.conf,
> specifically CFLAGS or CXXFLAGS.  Can you please post those?


I tried to build the system with the legacy gcc and it turns out to fail
like this:

mkdep -f .depend -a
-I/usr/src/lib/libc++/../../contrib/libc++/include
-I/usr/src/lib/libc++/../../contrib/libcxxrt -DLIBCXXRT -std=c++0x
/usr/src/lib/libc++/../../contrib/libc++/src/algorithm.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/bind.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/chrono.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/condition_variable.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/debug.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/exception.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/future.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/hash.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/ios.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/iostream.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/locale.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/memory.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/mutex.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/new.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/random.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/regex.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/stdexcept.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/string.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/strstream.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/system_error.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/thread.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/typeinfo.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/utility.cpp
/usr/src/lib/libc++/../../contrib/libc++/src/valarray.cpp
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
mkdep: compile failed
*** [.depend] Error code 1

Stop in /usr/src/lib/libc++.
*** [depend] Error code 1

Stop in /usr/src/lib.
*** [lib__L] Error code 1

Stop in /usr/src.
*** [libraries] Error code 1

Stop in /usr/src.
*** [_libraries] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1
Received on Fri May 18 2012 - 08:37:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC