Description:
Might be that the new detection of HAVE_ATOMIC_ADD broke the
USE_MYSYS_NEW on Linux/IA64, as this problem just occured.
if ccache gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DDATADIR="\"/usr/local/mysql/data\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DSHAREDIR="\"/u\
sr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_\
MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -MT my_new.o -MD -MP -MF ".deps/my_new.Tpo" -c -o my_new.o my_new.cc; \
then mv -f ".deps/my_new.Tpo" ".deps/my_new.Po"; else rm -f ".deps/my_new.Tpo"; exit 1; fi
In file included from ../include/my_global.h:286,
from mysys_priv.h:17,
from my_new.cc:22:
/usr/include/asm/atomic.h: In function `int ia64_atomic_add(int, atomic_t*)':
/usr/include/asm/atomic.h:33: syntax error before `new'
/usr/include/asm/atomic.h:39: syntax error before `=' token
/usr/include/asm/atomic.h:41: syntax error before `;' token
/usr/include/asm/atomic.h: In function `int ia64_atomic_sub(int, atomic_t*)':
/usr/include/asm/atomic.h:47: syntax error before `new'
/usr/include/asm/atomic.h:53: syntax error before `=' token
/usr/include/asm/atomic.h:54: syntax error before `)' token
/usr/include/asm/atomic.h:54: `_n_' undeclared (first use this function)
/usr/include/asm/atomic.h:54: (Each undeclared identifier is reported only once
for each function it appears in.)
/usr/include/asm/atomic.h:55: syntax error before `;' token
gmake[2]: *** [my_new.o] Error 1
How to repeat:
Compile on Linux/IA64