[compiler-rt] r309634 - Add powerpc64 to compiler-rt build infrastructure.

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 15:39:16 PDT 2017


this is very likely caused by this revision:

r309633 step 20 green:
http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3239
r309634 step 20 red:
http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/3423

On Tue, Aug 1, 2017 at 3:37 PM, Vitaly Buka <vitalybuka at google.com> wrote:

> http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3228
>
> FAIL: Builtins-powerpc64le-linux :: fixunsxfti_test.c (710 of 1848)
>
> ******************** TEST 'Builtins-powerpc64le-linux :: fixunsxfti_test.c' FAILED ********************
> Script:
> --
> /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang  -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/fixunsxfti_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixunsxfti_test.c.tmp &&  /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixunsxfti_test.c.tmp
> --
> Exit Code: 1
>
> Command Output (stdout):
> --
> error in __fixunsxfti(0X1P+0) = 0x00000000000000000000000000000000, expected 0x00000000000000000000000000000001
>
> --
>
> ********************
> 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-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang  -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/fixxfti_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixxfti_test.c.tmp &&  /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/fixxfti_test.c.tmp
> --
> Exit Code: 1
>
> Command Output (stdout):
> --
> error in __fixxfti(0X1P+0) = 0x00000000000000000000000000000000, expected 0x00000000000000000000000000000001
>
> --
>
> ********************
> Testing: 0 .. 10.. 20.. 30..
> FAIL: Builtins-powerpc64le-linux :: floattixf_test.c (735 of 1848)
> ******************** TEST 'Builtins-powerpc64le-linux :: floattixf_test.c' FAILED ********************Script:
> --
> /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang  -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/floattixf_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floattixf_test.c.tmp &&  /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floattixf_test.c.tmp
> --
> Exit Code: 1
>
> Command Output (stdout):
> --
> error in __floattixf(0x00000000000000000000000000000001) = 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-sanitizer/sanitizer-ppc64le/build/llvm_build64/bin/clang  -gline-tables-only -m64 -fno-function-sections -fno-builtin -I /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm/projects/compiler-rt/test/builtins/Unit/floatuntixf_test.c /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/lib/linux/libclang_rt.builtins-powerpc64le.a -lc -lm -o /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floatuntixf_test.c.tmp &&  /home/buildbots/ppc64le-sanitizer/sanitizer-ppc64le/build/compiler_rt_build/test/builtins/Unit/POWERPC64LELinuxConfig/Output/floatuntixf_test.c.tmp
> --
> Exit Code: 1
>
> Command Output (stdout):
> --
> error in __floatuntixf(0x00000000000000000000000000000001) = 0X0.000000000000EP-1022, expected 0X1P+0
>
> --
>
> ********************
>
>
> On Mon, Jul 31, 2017 at 3:23 PM, Sterling Augustine via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> Author: saugustine
>> Date: Mon Jul 31 15:23:17 2017
>> New Revision: 309634
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=309634&view=rev
>> Log:
>> Add powerpc64 to compiler-rt build infrastructure.
>>
>> Summary: Add powerpc64 to compiler-rt build infrastructure.
>>
>> Reviewers: timshen
>>
>> Reviewed By: timshen
>>
>> Subscribers: nemanjai, dberris, mgorny, aheejin, cfe-commits
>>
>> Differential Revision: https://reviews.llvm.org/D36108
>>
>> Modified:
>>     compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake
>>     compiler-rt/trunk/cmake/builtin-config-ix.cmake
>>     compiler-rt/trunk/lib/builtins/CMakeLists.txt
>>     compiler-rt/trunk/lib/builtins/clear_cache.c
>>
>> Modified: compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/
>> Modules/CompilerRTUtils.cmake?rev=309634&r1=309633&r2=309634&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake (original)
>> +++ compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake Mon Jul 31
>> 15:23:17 2017
>> @@ -167,6 +167,8 @@ macro(detect_target_arch)
>>    check_symbol_exists(__i386__ "" __I386)
>>    check_symbol_exists(__mips__ "" __MIPS)
>>    check_symbol_exists(__mips64__ "" __MIPS64)
>> +  check_symbol_exists(__powerpc64__ "" __PPC64)
>> +  check_symbol_exists(__powerpc64le__ "" __PPC64LE)
>>    check_symbol_exists(__s390x__ "" __S390X)
>>    check_symbol_exists(__wasm32__ "" __WEBASSEMBLY32)
>>    check_symbol_exists(__wasm64__ "" __WEBASSEMBLY64)
>> @@ -184,6 +186,10 @@ macro(detect_target_arch)
>>      add_default_target_arch(mips64)
>>    elseif(__MIPS)
>>      add_default_target_arch(mips)
>> +  elseif(__PPC64)
>> +    add_default_target_arch(powerpc64)
>> +  elseif(__PPC64LE)
>> +    add_default_target_arch(powerpc64le)
>>    elseif(__S390X)
>>      add_default_target_arch(s390x)
>>    elseif(__WEBASSEMBLY32)
>>
>> Modified: compiler-rt/trunk/cmake/builtin-config-ix.cmake
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/
>> builtin-config-ix.cmake?rev=309634&r1=309633&r2=309634&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/cmake/builtin-config-ix.cmake (original)
>> +++ compiler-rt/trunk/cmake/builtin-config-ix.cmake Mon Jul 31 15:23:17
>> 2017
>> @@ -40,7 +40,7 @@ if(APPLE)
>>  endif()
>>
>>  set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
>> -    ${MIPS32} ${MIPS64} ${WASM32} ${WASM64})
>> +    ${MIPS32} ${MIPS64} ${PPC64} ${WASM32} ${WASM64})
>>
>>  include(CompilerRTUtils)
>>  include(CompilerRTDarwinUtils)
>>
>> Modified: compiler-rt/trunk/lib/builtins/CMakeLists.txt
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/bu
>> iltins/CMakeLists.txt?rev=309634&r1=309633&r2=309634&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
>> +++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Mon Jul 31 15:23:17
>> 2017
>> @@ -458,6 +458,20 @@ set(mips64_SOURCES ${GENERIC_TF_SOURCES}
>>  set(mips64el_SOURCES ${GENERIC_TF_SOURCES}
>>                       ${mips_SOURCES})
>>
>> +set(powerpc64_SOURCES
>> +  ppc/divtc3.c
>> +  ppc/fixtfdi.c
>> +  ppc/fixunstfdi.c
>> +  ppc/floatditf.c
>> +  ppc/floatunditf.c
>> +  ppc/gcc_qadd.c
>> +  ppc/gcc_qdiv.c
>> +  ppc/gcc_qmul.c
>> +  ppc/gcc_qsub.c
>> +  ppc/multc3.c
>> +  ${GENERIC_SOURCES})
>> +set(powerpc64le_SOURCES ${powerpc64_SOURCES})
>> +
>>  set(wasm32_SOURCES ${GENERIC_SOURCES})
>>  set(wasm64_SOURCES ${GENERIC_SOURCES})
>>
>>
>> Modified: compiler-rt/trunk/lib/builtins/clear_cache.c
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/bu
>> iltins/clear_cache.c?rev=309634&r1=309633&r2=309634&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/lib/builtins/clear_cache.c (original)
>> +++ compiler-rt/trunk/lib/builtins/clear_cache.c Mon Jul 31 15:23:17 2017
>> @@ -165,7 +165,7 @@ void __clear_cache(void *start, void *en
>>    for (addr = xstart; addr < xend; addr += icache_line_size)
>>      __asm __volatile("ic ivau, %0" :: "r"(addr));
>>    __asm __volatile("isb sy");
>> -#elif defined (__powerpc64__) && defined(__LITTLE_ENDIAN__)
>> +#elif defined (__powerpc64__)
>>    const size_t line_size = 32;
>>    const size_t len = (uintptr_t)end - (uintptr_t)start;
>>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/0c4aa1ba/attachment.html>


More information about the llvm-commits mailing list