List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 21 1999 9:02pm
Subject:Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.1 19990816
(release)
View as plain text  
>>>>> "Jesse" == Jesse Trucks <jtrucks@stripped> writes:

Jesse> Oddly enough this identical problem occurs with gcc 2.95 as well.
Jesse> Everything runs smoothly until the system appears to hang on:

Jesse> c++ -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME="\"/usr/local\"" 
Jesse> -DDATADIR="\"/var/db/mysql\""  -DSHAREDIR="\"/usr/local/share/mysql\"" 
Jesse> -DHAVE_CONFIG_H -I./../include  -I./../regex  -I. -I../include -I.. -I. 
Jesse> -O2    -pthread  -fno-inline -DDBUG_OFF -fno-inline -c sql_yacc.cc

Jesse> I have waited as long as 7 hours (the system was left alone to compile,
Jesse> much to my chagrin to discover my server was useless while it sat there).
Jesse> This system is a PII-350 running:

Jesse> OpenBSD ruth 2.5 GENERIC#619 i386

Jesse> Anyone have any ideas? I just updated the system and compiler in an
Jesse> attempt to fix this. Nothing has changed in its behavior either. If I
Jesse> CTRL-C out of the compile, the server begins to respond again. I have
Jesse> asked for help on this on the OpenBSD lists before, and not gotten ANY
Jesse> response. Can anyone give an idea of a direction to head in this? 

Jesse> Thanks!

Hi!

Try to type the above compile line in the shell, but substitute -O2
with '-O1' or -O0.

Regards,
Monty
Thread
Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.1 19990816 (release)Jesse Trucks21 Sep
  • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.1 19990816 (release)Dan Nelson21 Sep
    • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.119990816 (release)Jesse Trucks21 Sep
      • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.119990816 (release)Chris Cappuccio21 Sep
  • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.119990816 (release)Chris Cappuccio21 Sep
    • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.119990816 (release)Vivek Khera21 Sep
      • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version2.95.1 19990816 (release)Dan O'Reilly21 Sep
  • Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.1 19990816 (release)Michael Widenius22 Sep
  • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.1 19990816 (release)Jesse Trucks29 Sep
    • Re: Compile hang with mysql-3.22.22/OpenBSD-2.5/gcc version 2.95.1 19990816 (release)Michael Widenius30 Sep