Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2010 20:31:37 -0500
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Ollivier Robert <roberto@keltia.net>
Cc:        stable@freebsd.org
Subject:   Re: Build issue in libstdc++ at revision r216418
Message-ID:  <20101213203137.061562bb@kan.dnsalias.net>
In-Reply-To: <20101214002137.GD35142@lonrach.keltia.net>
References:  <20101214002137.GD35142@lonrach.keltia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/nXKYDaygNS9s1MqnAHVoj1x
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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?
>=20
> 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=3DRepeatabilityConsideredGood -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/a=
tomicity.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/at=
omicity.h:54:
> error: 'void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)'
> previously defined here *** Error code 1
>=20

Clean your obj, pretty please. Then do make cleandir couple of times in
src. Then repeat your build.

--=20
Alexander Kabaev

--Sig_/nXKYDaygNS9s1MqnAHVoj1x
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iD8DBQFNBsj9Q6z1jMm+XZYRAkVhAKDJnXXXqp/CMebxMwe6YBdIUbjV3wCbBm97
4/6NYejXd/rBi3nvNTDKoBg=
=Go2H
-----END PGP SIGNATURE-----

--Sig_/nXKYDaygNS9s1MqnAHVoj1x--



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