I was scanning old mails to check if we have any unsolved problems and
come across the belove mail message. Do you still have this problem
or have you managed to solve this?
Anyway, the fix is to compile sql_acl.cc without the -O option. After
this, all other files will compile ok!
>>>>> "Robert" == Robert Benites <benites@stripped> writes:
Robert> This is not a MySQL error, per se, and more to find out if anyone else
Robert> has experienced this problem. Here's some OS/compiler information:
Robert> Operating System: Compaq Tru64 (aka Digital) UNIX 4.0F with patch kit
Robert> #1 installed
Robert> gcc: 2.95.2 with dec-osf-shlibstdc++.patch installed
Robert> gcc configured with the following command:
Robert> ../gcc-2.95.2/configure --enable-shared --enable-languages="c++,f77"
Robert> The error output at the end of this message was during a compile
Robert> of mysql-3.22.27. MySQL was configured with the following command:
Robert> env CC="cc -pthread" CFLAGS=-I./include CXX=gcc CXXFLAGS=-O3 ./configure \
Robert> --with-low-memory --with-named-thread-libs="-lpthread -lmach -lexc"
Robert> The above configure was used to create a running instance of MySQL on
Robert> another system: Compaq Tru64 UNIX 4.0E with the following version
Robert> of gcc:
Robert> 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)':
Robert> sql_acl.cc:1370: Internal compiler error in `scan_region', at except.c:2566