Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 12:37:39 +0200
From:      "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Current FreeBSD <freebsd-current@FreeBSD.org>
Subject:   Re: r235510: recent buildworld fail
Message-ID:  <4FB62673.6050004@zedat.fu-berlin.de>
In-Reply-To: <4FB42926.1040103@FreeBSD.org>
References:  <4FB3F663.8090308@zedat.fu-berlin.de> <4FB42926.1040103@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB62673.6050004>