Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Folks
I'm trying to complie sybperl-2.18 on a Solaris 10 system using gcc (4.2.0) with a perl version of 5.8.8.
I'm getting the following error during the make
Can anybody shed some light on what might be wrong ?
gcc -c -I/opt/sybase/software/OCS/12_5_EBF12505/OCS-12_5/include -fn +o-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/in +clude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTE +NV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTE +NV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTE +NV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"2. +18\" -DXS_VERSION=\"2.18\" -fPIC "-I/opt/database/software/perlsrc/p +erlbld/lib/5.8.8/sun4-solaris/CORE" -DDBLIBVS=1000 -DSYBPLVER='"2.18 +"' -DDO_TIE DBlib.c 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>. *** Error code 1 make: Fatal error: Command failed for target `DBlib.o' Current working directory /opt/database/software/perlsrc/sybperl-2.18/ +DBlib *** Error code 1 The following command caused the error: cd DBlib && make -f Makefile all LIBPERL_A="libperl.a" LINKTYPE="dynam +ic" OPTIMIZE="-O" PREFIX="/opt/database/software/perlsrc/perlbld" make: Fatal error: Command failed for target `subdirs'

Replies are listed 'Best First'.
Re: sybperl compile error
by moritz (Cardinal) on Feb 08, 2008 at 09:23 UTC
    The gcc: Internal error: Abort (program iropt) is certainly a gcc bug and should be reported.

    Did you read on?

    Please submit a full bug report to <URL:http://forum.java.sun.com/forum.jspa?forumID=905>.

    What are you waiting for?