[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'

tim at klingt dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 17 09:43:00 GMT 2006



------- Comment #9 from tim at klingt dot org  2006-08-17 09:43 -------
i have the same problem on my machine, using the latest snapshot.

i'm not sure, if the following information is helpful, but gcc -v gives me:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/gcc-4.2.0_alpha20060812/work/gcc-4.2-20060812/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.0-alpha20060812
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0-alpha20060812/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0-alpha20060812
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0-alpha20060812/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0-alpha20060812/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0-alpha20060812/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libmudflap --disable-libssp --disable-libgcj
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
--enable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.0-alpha20060812  (experimental) (Gentoo 4.2.0_alpha20060812)

the cflags and cxxflags to build gcc were: -march=pentium-m -pipe -O2

would be great, to have this resolved, soon ...


-- 

tim at klingt dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim at klingt dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28671



More information about the Gcc-bugs mailing list