Hi,
This is probably something that'll have to be fixed after 7.1...
I'm having some trouble buildin MySQL on my alpha system, It stops after
the following:
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/\""
-DDATADIR="\"/var/lib/mysql\""
-DSHAREDIR="\"/usr/share
/mysql\"" -DHAVE_CONFIG_H -I./../include
-I./../regex -I. -I../include -I.. -I.
-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF
-fno-implicit-tem
plates -c sql_acl.cc
sql_acl.cc: In function `int replace_column_table(THD *, GRANT_TABLE *,
TABLE *,
const LEX_USER &, List<LEX_COLUMN> &, const char *, const char *,
unsigned int,
bool)':
sql_acl.cc:1367: Internal compiler error in `scan_region', at
except.c:2566
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
make[3]: *** [sql_acl.o] Error 1
make[3]: Leaving directory
`/data/users/stefan/RPM/BUILD/mysql-3.22.32/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/data/users/stefan/RPM/BUILD/mysql-3.22.32/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/users/stefan/RPM/BUILD/mysql-3.22.32'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.17953 (%build)
This seems to be a "well know" error on the alpha platform (Tru64 + gcc
also has this
problem)... Take a look at the following sites:
===
http://www.xray.mpe.mpg.de/mailing-lists/tru64-unix-managers/2000-03/msg00635.html
Thanks Ian 'Ivo' Veach
Here's the answer:
> a) cd sql
> b) take the gcc compile statement that failed with the above
> message, and change all the -O3 optimizations to -O0. That
> should work, and compile the sql portion.
> c) cd .. ; make
> (this will continue and finish the compile)
Here's the problem:
> sql_acl.cc: In function 'int replace_column_table(THD *, GRANT_TABLE *,
> TABLE *, const LEX_USER &, List<LEX_COLUMN> &, const char *, const char
> *, unsigned int, bool)':
> sql_acl.cc:1367: Internal compiler error in 'scan_region', at
> except.c:2566
===
http://www.mysql.com/Manual/manual_toc.html#Alpha-DEC-OSF1
With gcc 2.95.2, you will probably run into the following compile error:
sql_acl.cc:1456: Internal compiler error in `scan_region', at
except.c:2566
Please submit a full bug report.
To fix this you should change to the sql directory and do a 'cut and
paste' of the last gcc line, but change -O3 to -O0 (or add -O0
immediately after gcc if you don't
have any -O option on your compile line. After this is done you can just
change back to the top level directly and run make again.
===
The http://www.mysql.com/Manual/manual.html#Linux-Alpha section doesn't
mention any of this...
OK... what's going to be the strategy on this?
regards,
Stefan van der Eijk