Bug #55857 HP 11.23 Community build failing: with aCC: error 1922
Submitted: 9 Aug 2010 19:33
Reporter: Karen Langford Email Updates:
Status: Verified Impact on me:
None 
Category:Tools Severity:S3 (Non-critical)
Version:5.1.50 OS:HP/UX (11.23 ia64)
Assigned to: CPU Architecture:Any
Tags: aCC: error 1922, HP-UX 11.23 ia64

[9 Aug 2010 19:33] Karen Langford
Description:
The 5.1.50 community build(only) is failing on HP-UX 11.23 ia64 (hpita2.mysql.com)

aCC -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DMYSQL_DATADIR="\"/usr/local/mysql/data\"" -DSHAREDIR="\"/usr/local/mysql/share\"" -DPLUGINDIR="\"/usr/local/mysql/lib/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../zlib -I../include -I../include -I../regex -I.   -DPTHREAD_COMPAT_MODE  +O2 -g +O2 +DD64 +DSitanium2 -mt -Aa   -DHPUX11  -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -D_INCLUDE_LONGLONG -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -c -o sql_yacc.o sql_yacc.cc
"sql_yacc.yy", line 9055: warning #2111-D: statement is unreachable
      break;
      ^

"sql_yacc.yy", line 9246: warning #2111-D: statement is unreachable
      break;
      ^

"sql_yacc.yy", line 9261: warning #2111-D: statement is unreachable
      break;
      ^

"sql_yacc.yy", line 10364: warning #2111-D: statement is unreachable
      break;
      ^

"sql_yacc.yy", line 10374: warning #2111-D: statement is unreachable
      break;
      ^

"sql_yacc.yy", line 12124: warning #2111-D: statement is unreachable
      break;
      ^

"sql_yacc.yy", line 12187: warning #2550-D: variable "spv" was set but never used
              sp_variable_t *spv;
                             ^

aCC: error 1922: "/opt/aCC/lbin/ecom" terminated with signal 11
gmake[3]: *** [sql_yacc.o] Error 1
gmake[3]: Leaving directory `/data/mysqldev/tmp-201008031515-5.1.50-22318/hpux11.23-ia64/mysql-5.1.50/sql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/data/mysqldev/tmp-201008031515-5.1.50-22318/hpux11.23-ia64/mysql-5.1.50/sql'

How to repeat:
Try to build 5.1.50 Community on hpita2.mysql.com.

Suggested fix:
I was able to manually build this platform by 
cd mysql-5.1.50
/usr/local/bin/gmake 2>&1 | tee ../../Logs/test_make.log

We suspect we are extremely close to some machine limit (swap space?  RAM?), so that the hierarchy of processes calling "gmake" makes the difference.