Error compiling Apache 2.2.8 with gccfss 4.2
807575May 1 2008 — edited Jun 30 2008Hi All,
I used CFLAGS="-O3 -mcpu=ultrasparc -fomit-frame-pointer" and I got the following error.
gcc -O3 -mcpu=ultrasparc -fomit-frame-pointer -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/opt/root/httpd-2.2.8/srclib/pcre -I. -I/opt/root/httpd-2.2.8/os/unix -I/opt/root/httpd-2.2.8/server/mpm/worker -I/opt/root/httpd-2.2.8/modules/http -I/opt/root/httpd-2.2.8/modules/filters -I/opt/root/httpd-2.2.8/modules/proxy -I/opt/root/httpd-2.2.8/include -I/opt/root/httpd-2.2.8/modules/generators -I/opt/root/httpd-2.2.8/modules/mappers -I/opt/root/httpd-2.2.8/modules/database -I/opt/root/httpd-2.2.8/srclib/apr/include -I/opt/root/httpd-2.2.8/srclib/apr-util/include -I/opt/root/ldapcsdk/include -I/usr/local/include -I/opt/root/httpd-2.2.8/server -I/opt/root/httpd-2.2.8/modules/proxy/../generators -I/opt/openssl/include -I/opt/root/httpd-2.2.8/modules/ssl -I/opt/root/httpd-2.2.8/modules/dav/main -c /opt/root/httpd-2.2.8/server/buildmark.c
/opt/root/httpd-2.2.8/srclib/apr/libtool silent mode=link gcc -O3 -mcpu=ultrasparc -fomit-frame-pointer -L/opt/root/ldapcsdk/lib -L/usr/local/lib -R/usr/local/lib -L/opt/openssl/lib -R/opt/openssl/lib -R/opt/home/windch/apache2/lib -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/http/libmod_http.la modules/mappers/libmod_so.la server/mpm/worker/libworker.la os/unix/libos.la -lm /opt/root/httpd-2.2.8/srclib/pcre/libpcre.la /opt/root/httpd-2.2.8/srclib/apr-util/libaprutil-1.la -lldap50 -lnspr4 -lplc4 -lplds4 -liutil50 -llber50 -lldif50 -lnss3 -lprldap50 -lssl3 -lssldap50 -lexpat /opt/root/httpd-2.2.8/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread
Assertion failed: tp_to_be_modified->op == IR_ASSIGN, file ../src/cond_expr.c, line 2814
gcc: Internal error: Abort (program iropt)
Please submit a full bug report to
<URL:http://forum.java.sun.com/forum.jspa?forumID=905>.
make[4]: *** [ssl_engine_config.slo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/opt/root/httpd-2.2.8/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/opt/root/httpd-2.2.8/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/opt/root/httpd-2.2.8/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/opt/root/httpd-2.2.8'
make: *** [all-recursive] Error 1
It failed on compiling the mod_ssl module. I don't have any problem with regular gcc with the same CFLAGS.
Any idea?
Thanks,
Harry