[LLVMbugs] [Bug 15331] New: cannot compile libclc on armv7l arch

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 22 04:15:26 PST 2013


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

            Bug ID: 15331
           Summary: cannot compile libclc on armv7l arch
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: alexander at mezon.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Good day.
I compile libclc package for rpm5 on my i.mx6 arm machine.
And i got an error:


Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.61454
+ umask 022
+ cd /home/user/libclc/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/user/libclc/BUILD
+ rm -rf libclc
+ /usr/bin/xz -dc /home/user/libclc/libclc-20130112.tar.xz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libclc
+ echo 'Patch #0 (0001-Better-FHS-compliance.patch):'
Patch #0 (0001-Better-FHS-compliance.patch):
+ /bin/cat /home/user/libclc/0001-Better-FHS-compliance.patch
+ /usr/bin/patch --fuzz=0 -s -U -p1 -b --suffix .0000~
+ echo 'Patch #1 (0002-Support-for-overriding-generic-implementations.patch):'
Patch #1 (0002-Support-for-overriding-generic-implementations.patch):
+ /bin/cat
/home/user/libclc/0002-Support-for-overriding-generic-implementations.patch
+ /usr/bin/patch --fuzz=0 -s -U -p1 -b --suffix .0001~
+ echo 'Patch #2 (0003-Add-r600-support.patch):'
Patch #2 (0003-Add-r600-support.patch):
+ /bin/cat /home/user/libclc/0003-Add-r600-support.patch
+ /usr/bin/patch --fuzz=0 -s -U -p1 -b --suffix .0002~
+ python configure.py --prefix=/usr --pkgconfigdir=/usr/share/pkgconfig
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.744
+ umask 022
+ cd /home/fdkit/libclc/BUILD
+ cd libclc
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -j4
LLVM-CC nvptx--nvidiacl/lib/synchronization/barrier.cl.bc
LLVM-CC nvptx--nvidiacl/lib/workitem/get_group_id.cl.bc
LLVM-CC nvptx--nvidiacl/lib/workitem/get_local_id.cl.bc
LLVM-CC nvptx--nvidiacl/lib/workitem/get_local_size.cl.bc
LLVM-CC nvptx--nvidiacl/lib/workitem/get_num_groups.cl.bc
LLVM-AS nvptx--nvidiacl/lib/integer/add_sat.ll.bc
LLVM-AS nvptx--nvidiacl/lib/integer/sub_sat.ll.bc
LLVM-CC nvptx--nvidiacl/lib/convert.cl.bc
LLVM-CC nvptx--nvidiacl/lib/geometric/cross.cl.bc
LLVM-CC nvptx--nvidiacl/lib/geometric/dot.cl.bc
LLVM-CC nvptx--nvidiacl/lib/geometric/length.cl.bc
LLVM-CC nvptx--nvidiacl/lib/geometric/normalize.cl.bc
LLVM-CC nvptx--nvidiacl/lib/integer/abs.cl.bc
LLVM-CC nvptx--nvidiacl/lib/integer/add_sat.cl.bc
LLVM-AS nvptx--nvidiacl/lib/integer/add_sat_impl.ll.bc
LLVM-CC nvptx--nvidiacl/lib/integer/sub_sat.cl.bc
LLVM-AS nvptx--nvidiacl/lib/integer/sub_sat_impl.ll.bc
LLVM-CC nvptx--nvidiacl/lib/math/hypot.cl.bc
LLVM-CC nvptx--nvidiacl/lib/math/mad.cl.bc
LLVM-CC nvptx--nvidiacl/lib/relational/any.cl.bc
LLVM-CC nvptx--nvidiacl/lib/workitem/get_global_id.cl.bc
LLVM-CC nvptx--nvidiacl/lib/workitem/get_global_size.cl.bc
LLVM-CXX utils/prepare-builtins.o
LLVM-CC nvptx64--nvidiacl/lib/synchronization/barrier.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/workitem/get_group_id.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/workitem/get_local_id.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/workitem/get_local_size.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/workitem/get_num_groups.cl.bc
LLVM-AS nvptx64--nvidiacl/lib/integer/add_sat.ll.bc
LLVM-AS nvptx64--nvidiacl/lib/integer/sub_sat.ll.bc
LLVM-CC nvptx64--nvidiacl/lib/convert.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/geometric/cross.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/geometric/dot.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/geometric/length.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/geometric/normalize.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/integer/abs.cl.bc
LLVM-CC nvptx64--nvidiacl/lib/integer/add_sat.cl.bc
In file included from utils/prepare-builtins.cpp:2:
In file included from /usr/include/llvm/Bitcode/ReaderWriter.h:17:
In file included from
/usr/lib/gcc/armv7l-mandriva-linux-gnueabi/4.7.3/../../../../include/c++/4.7.3/string:53:
In file included from
/usr/lib/gcc/armv7l-mandriva-linux-gnueabi/4.7.3/../../../../include/c++/4.7.3/bits/basic_string.h:40:
/usr/lib/gcc/armv7l-mandriva-linux-gnueabi/4.7.3/../../../../include/c++/4.7.3/ext/atomicity.h:48:12:
error: cannot compile this atomic library call yet
  { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LLVM-AS nvptx64--nvidiacl/lib/integer/add_sat_impl.ll.bc
LLVM-CC nvptx64--nvidiacl/lib/integer/sub_sat.cl.bc
LLVM-AS nvptx64--nvidiacl/lib/integer/sub_sat_impl.ll.bc
LLVM-CC nvptx64--nvidiacl/lib/math/hypot.cl.bc
1 error generated.
make: *** [utils/prepare-builtins.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.744 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.744 (%build)



rpm -qa | grep llvm

libllvm3.2-3.2-3-mdv2013.0.armv7l
llvm-3.2-3-mdv2013.0.armv7l
libllvm-devel-3.2-3-mdv2013.0.armv7l

rpm -qa | grep clang
libclang3.2-3.2-3-mdv2013.0.armv7l
clang-3.2-3-mdv2013.0.armv7l

-- 
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/20130222/9362121d/attachment.html>


More information about the llvm-bugs mailing list