Bug #10438 Raid stopped working because of change in atomic add detection
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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
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