[llvm-bugs] [Bug 36786] New: gold tests fail with binutils 2.30

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 18 06:30:20 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36786

            Bug ID: 36786
           Summary: gold tests fail with binutils 2.30
           Product: Test Suite
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: shea at shealevy.com
                CC: daniel at zuster.org, llvm-bugs at lists.llvm.org

When building llvm 5.0.1 or 6.0.0 against binutils 2.30, I get two test
failures. The full log for the llvm 5.0.1 build is at
https://nix-cache.s3.amazonaws.com/log/inrqlk022666ii8hxwh0v76m4p2gqz07-llvm-5.0.1.drv.
Other than the binutils version bump, the build is exactly the same as a
previously successful build. Failure output follows:

FAIL: LLVM :: tools/gold/X86/comdat.ll (20938 of 21436)
******************** TEST 'LLVM :: tools/gold/X86/comdat.ll' FAILED
********************
Script:
--
/build/llvm/build/./bin/llvm-as /build/llvm/test/tools/gold/X86/comdat.ll -o
/build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp1.o
/build/llvm/build/./bin/llvm-as
/build/llvm/test/tools/gold/X86/Inputs/comdat.ll -o
/build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp2.o
/nix/store/59hlbbsv01q3anaf4hrkb9zfa4k0m6i4-gcc-wrapper-7.3.0/bin/ld.gold
-shared -o /build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp3.o
-plugin /build/llvm/build/./lib/LLVMgold.so
/build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp1.o
/build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp2.o   -m elf_x86_64  
-plugin-opt=save-temps
/build/llvm/build/./bin/FileCheck --check-prefix=RES
/build/llvm/test/tools/gold/X86/comdat.ll <
/build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp3.o.resolution.txt
/build/llvm/build/./bin/llvm-readobj -t
/build/llvm/build/test/tools/gold/X86/Output/comdat.ll.tmp3.o |
/build/llvm/build/./bin/FileCheck --check-prefix=OBJ
/build/llvm/test/tools/gold/X86/comdat.ll
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm/test/tools/gold/X86/comdat.ll:63:13: error: expected string not
found in input
; OBJ-NEXT: Other [
            ^
<stdin>:233:8: note: scanning from here
 Type: Function (0x2)
       ^
<stdin>:234:2: note: possible intended match here
 Other: 0
 ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LLVM :: tools/gold/X86/visibility.ll (21005 of 21436)
******************** TEST 'LLVM :: tools/gold/X86/visibility.ll' FAILED
********************
Script:
--
/build/llvm/build/./bin/llvm-as /build/llvm/test/tools/gold/X86/visibility.ll
-o /build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp.o
/build/llvm/build/./bin/llvm-as
/build/llvm/test/tools/gold/X86/Inputs/visibility.ll -o
/build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp2.o
/nix/store/59hlbbsv01q3anaf4hrkb9zfa4k0m6i4-gcc-wrapper-7.3.0/bin/ld.gold
-plugin /build/llvm/build/./lib/LLVMgold.so     -m elf_x86_64    
--plugin-opt=save-temps     -shared
/build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp.o
/build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp2.o -o
/build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp.so
/build/llvm/build/./bin/llvm-readobj -t
/build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp.so |
/build/llvm/build/./bin/FileCheck /build/llvm/test/tools/gold/X86/visibility.ll
/build/llvm/build/./bin/llvm-dis
/build/llvm/build/test/tools/gold/X86/Output/visibility.ll.tmp.so.0.2.internalize.bc
-o - | /build/llvm/build/./bin/FileCheck --check-prefix=IR
/build/llvm/test/tools/gold/X86/visibility.ll
--
Exit Code: 1

Command Output (stderr):
--
/build/llvm/test/tools/gold/X86/visibility.ll:14:15: error: expected string not
found in input
; CHECK-NEXT: Binding: Global
              ^
<stdin>:67:8: note: scanning from here
 Size: 1
       ^
<stdin>:68:2: note: possible intended match here
 Binding: Weak (0x2)
 ^

-- 
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/20180318/be142aa4/attachment-0001.html>


More information about the llvm-bugs mailing list