[LLVMbugs] [Bug 1626] New: LLVM-gcc-4.0 compile error Sun/Solaris 10

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Aug 28 01:26:15 PDT 2007


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

           Summary: LLVM-gcc-4.0 compile error Sun/Solaris 10
           Product: new-bugs
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jyke.jokinen at tut.fi
                CC: llvmbugs at cs.uiuc.edu


LLVM 2.0 release gcc Front End source and
http://llvm.org/svn/llvm-project/llvm-gcc-4.0/trunk Revision 41534
both fail to compile on a Sun/sparc/Solaris 10 machine.

Configured with:
../llvm-gcc-4.0-source/configure --prefix=...SunOS/cfrontend
--program-prefix=llvm- --enable-languages=c,c++ --disable-shared
--disable-multilib --disable-nls --enable-llvm=.../LLVM/SunOS/OBJROOT

will result:
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition    -DHAVE_CONFIG_H -DENABLE_LLVM
-I.../LLVM/llvm-svn-src/include  -D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS 
 -I. -I. -I../../llvm-gcc-4.0-source/gcc -I../../llvm-gcc-4.0-source/gcc/.
-I../../llvm-gcc-4.0-source/gcc/../include
-I../../llvm-gcc-4.0-source/gcc/../libcpp/include 
-I...LLVM/llvm-svn-src/include -I...LLVM/SunOS/OBJROOT/include
../../llvm-gcc-4.0-source/gcc/function.c -o function.o
../../llvm-gcc-4.0-source/gcc/function.c: In function 'get_func_frame_size':
../../llvm-gcc-4.0-source/gcc/function.c:362: error: expected expression before
')' token
../../llvm-gcc-4.0-source/gcc/function.c: In function 'assign_stack_local_1':
../../llvm-gcc-4.0-source/gcc/function.c:428: error: expected expression before
')' token
../../llvm-gcc-4.0-source/gcc/function.c:457: error: expected expression before
')' token
../../llvm-gcc-4.0-source/gcc/function.c:489: error: expected expression before
')' token
../../llvm-gcc-4.0-source/gcc/function.c: In function
'assign_stack_temp_for_type':
../../llvm-gcc-4.0-source/gcc/function.c:734: error: expected expression before
')' token
../../llvm-gcc-4.0-source/gcc/function.c:740: error: expected expression before
')' token
gmake[1]: *** [function.o] Error 1
gmake[1]: Leaving directory `...LLVM/build-front/gcc'

compiler used is gcc 4.2.1


-- 
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