[LLVMbugs] [Bug 4529] New: llvm-gcc 4.2 on Solaris gives internal compiler error

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jul 10 11:43:28 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4529

           Summary: llvm-gcc 4.2 on Solaris gives internal compiler error
           Product: new-bugs
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pramach2 at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu


I am trying to compile llvm-gcc 4.2-2.5 source on sparc-sun-solaris11 (it is a
Niagara T2 running OpenSolais, which is practically the same as Solaris 10).
Release build for llvm 2.5, however, built with no problems. I am using gcc
4.2.2 on the solaris machine (built from source) and have configured llvm-gcc
with

--prefix=`pwd`/../install --program-prefix=llvm
--enable-llvm=`pwd`/../../llvm/obj --enable-languages=c --disable-shared
--disable-multilib --disable-bootstrap --with-as=/usr/sfw/bin/gas

This is the same bug that was previously reported on llvm-devel for
sparc-sun-solaris10
<http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-March/020794.html>. A snippet
is pasted below.

Does anyone know of a fix for this bug?

Thanks,
Pradeep.

gmake[4]: Entering directory
`/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build/gcc'
gmake[4]: Warning: File `crtbegin.o' has modification time 77 s in the future
gmake[4]: `crtend.o' is up to date.
gmake[4]: `gmon.o' is up to date.
gmake[4]: `crt1.o' is up to date.
gmake[4]: `crti.o' is up to date.
gmake[4]: `crtn.o' is up to date.
gmake[4]: `gcrt1.o' is up to date.
gmake[4]: `crtfastmath.o' is up to date.
gmake[4]: warning:  Clock skew detected.  Your build may be incomplete.
gmake[4]: Leaving directory
`/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build/gcc'
/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build/./gcc/xgcc
-B/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build/./gcc/
-B/llvm-gcc-install/sparc-sun-solaris2.11/bin/
-B/llvm-gcc-install/sparc-sun-solaris2.11/lib/ -isystem
/llvm-gcc-install/sparc-sun-solaris2.11/include -isystem
/llvm-gcc-install/sparc-sun-solaris2.11/sys-include  -O2  -O2 -g -O2  -DIN_GCC 
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I../../llvm-gcc4.2-2.5.source/gcc -I../../llvm-gcc4.2-2.5.source/gcc/.
-I../../llvm-gcc4.2-2.5.source/gcc/../include
-I../../llvm-gcc4.2-2.5.source/gcc/../libcpp/include 
-I../../llvm-gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber
-I/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-build/include
-I/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-2.5/include
-DL_powitf2 -c ../../llvm-gcc4.2-2.5.source/gcc/libgcc2.c -o
libgcc/./_powitf2.o
../../llvm-gcc4.2-2.5.source/gcc/libgcc2.c: In function
‘__powitf2’:
../../llvm-gcc4.2-2.5.source/gcc/libgcc2.c:1765: internal compiler error: in
HandleArgument, at llvm-abi.h:520
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
gmake[3]: *** [libgcc/./_powitf2.o] Error 1
gmake[3]: Leaving directory
`/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory
`/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory
`/home/pramach2/research/SoftBound-v1.1-solaris/SoftBound-v1.1/llvm-gcc-build'
gmake: *** [all] Error 2


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list