[LLVMbugs] [Bug 21345] New: Test failure when compiling with PowerPC support
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 22 14:14:27 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21345
Bug ID: 21345
Summary: Test failure when compiling with PowerPC support
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: gold-plugin
Assignee: unassignedbugs at nondot.org
Reporter: tmroeder at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
If I configure with
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_BINUTILS_INCDIR=<path to binutils-2.24/include> <llvm dir>
and run
ninja && ninja check
I get an error on one of the ld gold tests:
[139/139] Running the LLVM regression tests
FAILED: cd /usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test &&
/usr/bin/python /usr/local/google/home/tmroeder/src/
llvm/llvm-git/utils/lit/lit.py -sv --param
llvm_site_config=/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/lit.si
te.cfg --param
llvm_unit_site_config=/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/Unit/lit.site.cfg
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test
-- Testing: 11766 tests, 32 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: LLVM :: tools/gold/mtriple.ll (10556 of 11766)
******************** TEST 'LLVM :: tools/gold/mtriple.ll' FAILED
********************
Script:
--
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/./bin/llvm-as
/usr/local/google/home/tmroeder/src/llvm/llvm-git/test/tools/gold/mtriple.ll -o
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.tmp.o
ld -plugin
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/./lib/LLVMgold.so -m
elf32ppc -plugin-opt=mtriple=powerp
c-linux-gnu
-plugin-opt=obj-path=/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.
tmp3.o -shared
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.tmp.o
-o
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.tmp2
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/./bin/llvm-readobj
--file-headers /usr/local/google/home/tmroeder/src/l
lvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.tmp2 |
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/./bin/FileC
heck --check-prefix=DSO
/usr/local/google/home/tmroeder/src/llvm/llvm-git/test/tools/gold/mtriple.ll
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/./bin/llvm-readobj
--file-headers /usr/local/google/home/tmroeder/src/l
lvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.tmp3.o |
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/./bin/Fil
eCheck --check-prefix=REL
/usr/local/google/home/tmroeder/src/llvm/llvm-git/test/tools/gold/mtriple.ll
--
Exit Code: 1
Command Output (stderr):
--
ld: error: unrecognized emulation elf32ppc
ld: error:
/usr/local/google/home/tmroeder/src/llvm/llvm-git-build/test/tools/gold/Output/mtriple.ll.tmp3.o:
not configured to
support 32-bit big-endian object
--
It looks like this is because PowerPC is set but my ld doesn't have support for
PowerPC. So, it looks like the conditions in the lit config are not sufficient
to detect this case.
--
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/20141022/18c15c70/attachment.html>
More information about the llvm-bugs
mailing list