Just trying to update my 8.1-PRERELEASE to 8.2-PRERELEASE and it tumbles upon this error in libstdc++. Any idea? 2 -O -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I. -frandom-seed=RepeatabilityConsideredGood -fstack-protector -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated -c atomicity.cc atomicity.cc: In function '_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)': atomicity.cc:36: error: redefinition of '_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)' /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/ext/atomicity.h:50: error: '_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)' previously defined here atomicity.cc: In function 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)': atomicity.cc:47: error: redefinition of 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)'/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/ext/atomicity.h:54: error: 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)' previously defined here *** Error code 1 Stop in /usr/src/gnu/lib/libstdc++. *** Error code 1 Stop in /usr/src/gnu/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 162.46 real 111.68 user 45.58 sys Tue Dec 14 00:42:55 CET 2010 -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/
On Tue, 14 Dec 2010 01:21:37 +0100 Ollivier Robert <roberto@keltia.net> wrote:> Just trying to update my 8.1-PRERELEASE to 8.2-PRERELEASE and it > tumbles upon this error in libstdc++. Any idea? > > 2 -O -pipe -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H > -I/usr/src/gnu/lib/libstdc++ > -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ > -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc > -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include > -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcclibs/include > -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -I. > -frandom-seed=RepeatabilityConsideredGood -fstack-protector > -fno-implicit-templates -ffunction-sections -fdata-sections > -Wno-deprecated -c atomicity.cc atomicity.cc: In function > '_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, > int)': atomicity.cc:36: error: redefinition of '_Atomic_word > __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, > int)' /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/ext/atomicity.h:50: > error: '_Atomic_word __gnu_cxx::__exchange_and_add(volatile > _Atomic_word*, int)' previously defined here atomicity.cc: In > function 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)': > atomicity.cc:47: error: redefinition of 'void > __gnu_cxx::__atomic_add(volatile _Atomic_word*, > int)'/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/ext/atomicity.h:54: > error: 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)' > previously defined here *** Error code 1 >Clean your obj, pretty please. Then do make cleandir couple of times in src. Then repeat your build. -- Alexander Kabaev -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20101214/6a629575/signature.pgp
Le 14 d?c. 2010 ? 02:31, Alexander Kabaev <kabaev@gmail.com> a ?crit :> Clean your obj, pretty please. Then do make cleandir couple of times in > src. Then repeat your build.Obj was empty but cleandir did the trick, thanks!