[LLVMbugs] [Bug 15321] New: Clang 3.2 (As shipped by Ubuntu 13.04 fails to compile poppler)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 21 07:56:16 PST 2013


            Bug ID: 15321
           Summary: Clang 3.2 (As shipped by Ubuntu 13.04 fails to compile
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: albert.astals at canonical.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

If i try to build poppler 0.22 git branch with clang 3.2-1~exp5ubuntu2 i get

Building CXX object CMakeFiles/poppler.dir/fofi/FoFiTrueType.cc.o
/usr/bin/clang++   -DHAVE_CONFIG_H=1 -Dpoppler_EXPORTS -O2 -g -DNDEBUG
-DQT_NO_DEBUG -fPIC -I/home/test/poppler -I/home/test/poppler/fofi
-I/home/test/poppler/goo -I/home/test/poppler/poppler
-I/home/test/poppler/build -I/home/test/poppler/build/poppler
-I/usr/include/freetype2    -o CMakeFiles/poppler.dir/fofi/FoFiTrueType.cc.o -c
fatal error: error in backend: Cannot select: 0x3acb180: i64 = fcos 0x3aca780
[ORD=1560] [ID=25]
  0x3aca780: i64 = sra 0x3b33fe0, 0x3aec860 [ORD=1558] [ID=23]
    0x3b33fe0: i64 = sub 0x3acab80, 0x3afb010 [ORD=1557] [ID=20]
      0x3acab80: i64,ch = CopyFromReg 0x39554b0, 0x3b557e0 [ORD=1555] [ID=18]
        0x3b557e0: i64 = Register %vreg39 [ORD=1555] [ID=2]
      0x3afb010: i64,ch = CopyFromReg 0x39554b0, 0x3aea930 [ORD=1554] [ID=17]
        0x3aea930: i64 = Register %vreg7 [ORD=1554] [ID=1]
    0x3aec860: i8 = Constant<4> [ORD=1558] [ID=3]
In function: _ZN12FoFiTrueType8cvtSfntsEPFvPvPKciES0_P9GooStringbPi

This is caused by a std::sort call, if i comment it, it compiles fine.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130221/031ccc56/attachment.html>

More information about the llvm-bugs mailing list