<div dir="ltr">this is very likely caused by this revision:<div><br></div>r309633 step 20 green: <a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3239">http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3239</a><br>r309634 step 20 red: <a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/3423">http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/3423</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 1, 2017 at 3:37 PM, Vitaly Buka <span dir="ltr"><<a href="mailto:vitalybuka@google.com" target="_blank">vitalybuka@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3228" target="_blank">http://lab.llvm.org:8011/<wbr>builders/sanitizer-ppc64le-<wbr>linux/builds/3228</a><br></div><div><div><span style="color:rgb(0,0,0);font-family:"Courier New",courier,monotype,monospace;font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Courier New",courier,monotype,monospace;font-size:medium">FAIL: Builtins-powerpc64le-linux :: fixunsxfti_test.c (710 of 1848)</span><br></div><div><pre style="font-family:"Courier New",courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class="m_-721121745156757207gmail-stdout">******************** TEST 'Builtins-powerpc64le-linux :: fixunsxfti_test.c' FAILED ********************
Script:
--
/home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/test/builtins/Unit/<wbr>fixunsxfti_test.c /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/lib/<wbr>linux/libclang_rt.builtins-<wbr>powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>fixunsxfti_test.c.tmp && /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>fixunsxfti_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __fixunsxfti(0X1P+0) = 0x0000000000000000000000000000<wbr>0000, expected 0x0000000000000000000000000000<wbr>0001
--
********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Builtins-powerpc64le-linux :: fixxfti_test.c (718 of 1848)
******************** TEST 'Builtins-powerpc64le-linux :: fixxfti_test.c' FAILED ********************
Script:
--
/home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/test/builtins/Unit/fixxfti_<wbr>test.c /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/lib/<wbr>linux/libclang_rt.builtins-<wbr>powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>fixxfti_test.c.tmp && /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>fixxfti_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __fixxfti(0X1P+0) = 0x0000000000000000000000000000<wbr>0000, expected 0x0000000000000000000000000000<wbr>0001
--
********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Builtins-powerpc64le-linux :: floattixf_test.c (735 of 1848)
******************** TEST 'Builtins-powerpc64le-linux :: floattixf_test.c' FAILED **</span><span class="m_-721121745156757207gmail-stdout">******************
</span><span class="m_-721121745156757207gmail-stdout">Script:
--
/home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/test/builtins/Unit/<wbr>floattixf_test.c /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/lib/<wbr>linux/libclang_rt.builtins-<wbr>powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>floattixf_test.c.tmp && /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>floattixf_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __floattixf(<wbr>0x0000000000000000000000000000<wbr>0001) = 0X0.000000000000EP-1022, expected 0X1P+0
--
********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Builtins-powerpc64le-linux :: floatuntixf_test.c (739 of 1848)
******************** TEST 'Builtins-powerpc64le-linux :: floatuntixf_test.c' FAILED ********************
Script:
--
/home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm_build64/bin/clang -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/llvm/projects/compiler-<wbr>rt/test/builtins/Unit/<wbr>floatuntixf_test.c /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/lib/<wbr>linux/libclang_rt.builtins-<wbr>powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>floatuntixf_test.c.tmp && /home/buildbots/ppc64le-<wbr>sanitizer/sanitizer-ppc64le/<wbr>build/compiler_rt_build/test/<wbr>builtins/Unit/<wbr>POWERPC64LELinuxConfig/Output/<wbr>floatuntixf_test.c.tmp
--
Exit Code: 1
Command Output (stdout):
--
error in __floatuntixf(<wbr>0x0000000000000000000000000000<wbr>0001) = 0X0.000000000000EP-1022, expected 0X1P+0
--
********************</span></pre></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 31, 2017 at 3:23 PM, Sterling Augustine via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: saugustine<br>
Date: Mon Jul 31 15:23:17 2017<br>
New Revision: 309634<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=309634&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject?rev=309634&view=rev</a><br>
Log:<br>
Add powerpc64 to compiler-rt build infrastructure.<br>
<br>
Summary: Add powerpc64 to compiler-rt build infrastructure.<br>
<br>
Reviewers: timshen<br>
<br>
Reviewed By: timshen<br>
<br>
Subscribers: nemanjai, dberris, mgorny, aheejin, cfe-commits<br>
<br>
Differential Revision: <a href="https://reviews.llvm.org/D36108" rel="noreferrer" target="_blank">https://reviews.llvm.org/D3610<wbr>8</a><br>
<br>
Modified:<br>
compiler-rt/trunk/cmake/Module<wbr>s/CompilerRTUtils.cmake<br>
compiler-rt/trunk/cmake/builti<wbr>n-config-ix.cmake<br>
compiler-rt/trunk/lib/builtins<wbr>/CMakeLists.txt<br>
compiler-rt/trunk/lib/builtins<wbr>/clear_cache.c<br>
<br>
Modified: compiler-rt/trunk/cmake/Module<wbr>s/CompilerRTUtils.cmake<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/compiler-rt/trunk/cmake/<wbr>Modules/CompilerRTUtils.cmake?<wbr>rev=309634&r1=309633&r2=309634<wbr>&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/cmake/Module<wbr>s/CompilerRTUtils.cmake (original)<br>
+++ compiler-rt/trunk/cmake/Module<wbr>s/CompilerRTUtils.cmake Mon Jul 31 15:23:17 2017<br>
@@ -167,6 +167,8 @@ macro(detect_target_arch)<br>
check_symbol_exists(__i386__ "" __I386)<br>
check_symbol_exists(__mips__ "" __MIPS)<br>
check_symbol_exists(__mips64_<wbr>_ "" __MIPS64)<br>
+ check_symbol_exists(__powerpc6<wbr>4__ "" __PPC64)<br>
+ check_symbol_exists(__powerpc6<wbr>4le__ "" __PPC64LE)<br>
check_symbol_exists(__s390x__ "" __S390X)<br>
check_symbol_exists(__wasm32_<wbr>_ "" __WEBASSEMBLY32)<br>
check_symbol_exists(__wasm64_<wbr>_ "" __WEBASSEMBLY64)<br>
@@ -184,6 +186,10 @@ macro(detect_target_arch)<br>
add_default_target_arch(mips6<wbr>4)<br>
elseif(__MIPS)<br>
add_default_target_arch(mips)<br>
+ elseif(__PPC64)<br>
+ add_default_target_arch(powerp<wbr>c64)<br>
+ elseif(__PPC64LE)<br>
+ add_default_target_arch(powerp<wbr>c64le)<br>
elseif(__S390X)<br>
add_default_target_arch(<wbr>s390x)<br>
elseif(__WEBASSEMBLY32)<br>
<br>
Modified: compiler-rt/trunk/cmake/builti<wbr>n-config-ix.cmake<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/builtin-config-ix.cmake?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/compiler-rt/trunk/cmake/<wbr>builtin-config-ix.cmake?rev=<wbr>309634&r1=309633&r2=309634&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/cmake/builti<wbr>n-config-ix.cmake (original)<br>
+++ compiler-rt/trunk/cmake/builti<wbr>n-config-ix.cmake Mon Jul 31 15:23:17 2017<br>
@@ -40,7 +40,7 @@ if(APPLE)<br>
endif()<br>
<br>
set(ALL_BUILTIN_SUPPORTED_<wbr>ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}<br>
- ${MIPS32} ${MIPS64} ${WASM32} ${WASM64})<br>
+ ${MIPS32} ${MIPS64} ${PPC64} ${WASM32} ${WASM64})<br>
<br>
include(CompilerRTUtils)<br>
include(<wbr>CompilerRTDarwinUtils)<br>
<br>
Modified: compiler-rt/trunk/lib/builtins<wbr>/CMakeLists.txt<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/CMakeLists.txt?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/compiler-rt/trunk/lib/bu<wbr>iltins/CMakeLists.txt?rev=3096<wbr>34&r1=309633&r2=309634&view=<wbr>diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/lib/builtins<wbr>/CMakeLists.txt (original)<br>
+++ compiler-rt/trunk/lib/builtins<wbr>/CMakeLists.txt Mon Jul 31 15:23:17 2017<br>
@@ -458,6 +458,20 @@ set(mips64_SOURCES ${GENERIC_TF_SOURCES}<br>
set(mips64el_SOURCES ${GENERIC_TF_SOURCES}<br>
${mips_SOURCES})<br>
<br>
+set(powerpc64_SOURCES<br>
+ ppc/divtc3.c<br>
+ ppc/fixtfdi.c<br>
+ ppc/fixunstfdi.c<br>
+ ppc/floatditf.c<br>
+ ppc/floatunditf.c<br>
+ ppc/gcc_qadd.c<br>
+ ppc/gcc_qdiv.c<br>
+ ppc/gcc_qmul.c<br>
+ ppc/gcc_qsub.c<br>
+ ppc/multc3.c<br>
+ ${GENERIC_SOURCES})<br>
+set(powerpc64le_SOURCES ${powerpc64_SOURCES})<br>
+<br>
set(wasm32_SOURCES ${GENERIC_SOURCES})<br>
set(wasm64_SOURCES ${GENERIC_SOURCES})<br>
<br>
<br>
Modified: compiler-rt/trunk/lib/builtins<wbr>/clear_cache.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/clear_cache.c?rev=309634&r1=309633&r2=309634&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/compiler-rt/trunk/lib/bu<wbr>iltins/clear_cache.c?rev=30963<wbr>4&r1=309633&r2=309634&view=<wbr>diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- compiler-rt/trunk/lib/builtins<wbr>/clear_cache.c (original)<br>
+++ compiler-rt/trunk/lib/builtins<wbr>/clear_cache.c Mon Jul 31 15:23:17 2017<br>
@@ -165,7 +165,7 @@ void __clear_cache(void *start, void *en<br>
for (addr = xstart; addr < xend; addr += icache_line_size)<br>
__asm __volatile("ic ivau, %0" :: "r"(addr));<br>
__asm __volatile("isb sy");<br>
-#elif defined (__powerpc64__) && defined(__LITTLE_ENDIAN__)<br>
+#elif defined (__powerpc64__)<br>
const size_t line_size = 32;<br>
const size_t len = (uintptr_t)end - (uintptr_t)start;<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>