[LLVMbugs] [Bug 11408] New: errors occur while compiling libjava

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 19 22:46:40 PST 2011


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

             Bug #: 11408
           Summary: errors occur while compiling libjava
           Product: new-bugs
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dongzhaoyu_th at 163.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7630
  --> http://llvm.org/bugs/attachment.cgi?id=7630
the java-signal.h header file causing the error

I am compiling the LLVM-GCC front end on an linux machine.

I follows the instruction in README.LLVM. The configure and make commands are
as below:

./configure --target=i686-pc-linux-gnu --with-tune=generic --with-arch=pentium4
--prefix=`pwd`/../install --program-prefix=llvm-  --enable-llvm=/usr/local
--enable-languages=c,c++

Make LLVM_VERSION_INFO=2.9

While building under directory libjava, compiler prompt an error saying the
file
java-sginal.h used function "void restore()" but don't define it.

The error log is as blow:

../../../libjava/prims.cc:107: warning: deprecated conversion from string
constant to 'char*'
../../../libjava/prims.cc: In function 'void catch_fpe(int)':
../../../libjava/prims.cc:173: warning: dereferencing type-punned pointer will
break strict-aliasing rules
./include/java-signal.h: At global scope:
./include/java-signal.h:112: error: 'void restore()' used but never defined

I attached the java-sginal.h file.

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