List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:December 27 1999 10:37pm
Subject:gcc-2.95.2 compiler failure with mysql-3.22.27
View as plain text  
Hi!

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!

Regards,
Monty


>>>>> "Robert" == Robert Benites <benites@stripped> writes:

>> Description:

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:

<cut>

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

<cut>
Thread
gcc-2.95.2 compiler failure with mysql-3.22.27Robert Benites3 Dec
  • Re: gcc-2.95.2 compiler failure with mysql-3.22.27Ed Carp3 Dec
  • gcc-2.95.2 compiler failure with mysql-3.22.27Michael Widenius28 Dec