[LLVMbugs] [Bug 13753] New: Dragonegg 3.1 Build error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Sep 1 20:59:48 PDT 2012


             Bug #: 13753
           Summary: Dragonegg 3.1 Build error
           Product: dragonegg
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: anupama.rasale at amd.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


   I am trying to build dragon-3.1.src. I have used llvm 3.1 source and
gcc-4.6.3. (These are also I built them from source)

When I try to build the dragon-3.1.src, I get the following error:

dragonegg-3.1.src/include/dragonegg/Trees.h:26:16: error: operator '<' has no
left operand

The source line of error in Trees.h is:
#if (GCC_MINOR < 7)

If I define this GCC_MINOR and proceed further I get the following error:

dragonegg-3.1.src/include/unknown/dragonegg/OS.h:1:2: error: #error Unknown
target operating system

Note: I am building and running on the same platform.

Configure command to build gcc:
../gcc-4.6.3/configure --disable-bootstrap --enable-lto --enable-plugin
--enable-languages=c,c++,fortran --prefix=/llvm/gcc-4.6.3/install/  --with-gmp
--with-mpfr --with-mpc
followed by make all /make install

Configure command to build llvm-3.1:
./configure --enable-optimized --enable-targets=x86_64
--prefix=/llvm/llvm-dragonegg/install --with-binutils-include=<include path to
binutils 2.22> --enable-pic                          
make install

Can anyone let me know why this issue is seen and a work around to this


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