This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libatomic failure compiling 4.8 on TILE-Gx
- From: Walter Lee <walt at tilera dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 2 Oct 2012 10:20:16 -0400
- Subject: libatomic failure compiling 4.8 on TILE-Gx
- Reply-to: Walter Lee <walt at tilera dot com>
I'm getting the following failure trying to compile gcc 4.8 on
TILE-Gx:
In file included from /home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/tas_n.c:25:0:
/home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/tas_n.c: In function 'libat_test_and_set_8':
/home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/tas_n.c:58:20: error: 'INVERT_MASK_8' undeclared (first use in this function)
shift = SIZE(INVERT_MASK);
^
/home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/libatomic_i.h:42:20: note: in definition of macro 'C3_'
#define C3_(X,Y,Z) X ## Y ## Z
^
/home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/libatomic_i.h:119:18: note: in expansion of macro 'C3'
#define SIZE(X) C3(X,_,N)
^
/home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/tas_n.c:58:15: note: in expansion of macro 'SIZE'
shift = SIZE(INVERT_MASK);
^
/home/scratch/walt/gcc-svn/gcc-4.8.0-190448/libatomic/tas_n.c:58:20: note: each undeclared identifier is reported only once for each function it appears in
shift = SIZE(INVERT_MASK);
^
make[4]: *** [tas_8_.lo] Error 1
make[4]: Leaving directory `/home/scratch/walt/tmp/gx/2012-10-01/gcc-4.8.x/build/tilegx-unknown-linux-gnu/libatomic'
It seems like libatomic_i.h might be missing definitions for MASK_8
and INVERT_MASK_8?
Thanks,
Walter