Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 775110

Summary: sys-devel/lld-11.1.0-r1 - fails MachO tests
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ionen
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=812470
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
build.log (11.1.0-r1, ppc64)
emerge --info
build.log (11.1.0-r1, ppc64)

Description ernsteiswuerfel archtester 2021-03-09 18:57:32 UTC
Created attachment 690318 [details]
build.log

Failed Tests (45):
  lld :: COFF/thinlto-emit-imports.ll
  lld :: ELF/lto/resolution-err.ll
  lld :: ELF/lto/thinlto-cant-write-index.ll
  lld :: ELF/lto/thinlto-emit-imports.ll
  lld :: MachO/arch.s
  lld :: MachO/archive.s
  lld :: MachO/bss.s
  lld :: MachO/dylib.s
  lld :: MachO/dylink-lazy.s
  lld :: MachO/dylink.s
  lld :: MachO/entry-symbol.s
  lld :: MachO/export-trie.s
  lld :: MachO/fat-arch.s
  lld :: MachO/invalid/alignment-too-large.yaml
  lld :: MachO/invalid/bad-archive.s
  lld :: MachO/invalid/duplicate-symbol.s
  lld :: MachO/invalid/invalid-executable.s
  lld :: MachO/invalid/invalid-relocation-length.yaml
  lld :: MachO/invalid/invalid-relocation-pcrel.yaml
  lld :: MachO/invalid/missing-dylib.s
  lld :: MachO/invalid/no-id-dylink.yaml
  lld :: MachO/invalid/order-file-bad-arch.test
  lld :: MachO/invalid/order-file-bad-objfile.test
  lld :: MachO/invalid/reserved-section-name.s
  lld :: MachO/invalid/stub-link.s
  lld :: MachO/invalid/undefined-symbol.s
  lld :: MachO/link-search-order.s
  lld :: MachO/load-commands.s
  lld :: MachO/local-got.s
  lld :: MachO/no-exports-dylib.s
  lld :: MachO/order-file.s
  lld :: MachO/relocations.s
  lld :: MachO/resolution.s
  lld :: MachO/section-headers.s
  lld :: MachO/section-merge.s
  lld :: MachO/segments.s
  lld :: MachO/static-link.s
  lld :: MachO/stub-link.s
  lld :: MachO/sub-library.s
  lld :: MachO/subsections-section-relocs.s
  lld :: MachO/subsections-symbol-relocs.s
  lld :: MachO/symbol-order.s
  lld :: MachO/symtab.s
  lld :: MachO/x86-64-reloc-signed.s
  lld :: MachO/x86-64-reloc-unsigned.s


Testing Time: 94.45s
  Unsupported      :  318
  Passed           : 2068
  Expectedly Failed:    1
  Failed           :   45
FAILED: test/CMakeFiles/check-lld 
cd /var/tmp/portage/sys-devel/lld-11.0.1/work/lld-11.0.1_build/test && /usr/bin/python3.9 /usr/bin/lit -vv -j 16 /var/tmp/portage/sys-devel/lld-11.0.1/work/lld-11.0.1_build/test
ninja: build stopped: subcommand failed.
Comment 1 ernsteiswuerfel archtester 2021-03-09 18:57:51 UTC
Created attachment 690321 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2021-05-19 13:25:26 UTC
Created attachment 709791 [details]
build.log (11.1.0-r1, ppc64)

lld-11.1.0-r1 looks much better on ppc64 with current toolchain. Probably due to more 'correctly unsupported' tests.

********************
Failed Tests (2):
  lld :: ELF/lto/resolution-err.ll
  lld :: MachO/invalid/alignment-too-large.yaml


Testing Time: 8.97s
  Unsupported      : 1926
  Passed           :  503
  Expectedly Failed:    1
  Failed           :    2
Comment 3 ernsteiswuerfel archtester 2021-05-19 13:27:02 UTC
Created attachment 709794 [details]
emerge --info
Comment 4 ernsteiswuerfel archtester 2021-09-10 15:57:15 UTC
Created attachment 738835 [details]
build.log (11.1.0-r1, ppc64)

Forget what I said in comment #2. Tests originally failed were only skipped due to MachO not having been built...

Current testsuite for lld-11.1.0-r1 looks like this:

Failed Tests (41):
  lld :: MachO/arch.s
  lld :: MachO/archive.s
  lld :: MachO/bss.s
  lld :: MachO/dylib.s
  lld :: MachO/dylink-lazy.s
  lld :: MachO/dylink.s
  lld :: MachO/entry-symbol.s
  lld :: MachO/export-trie.s
  lld :: MachO/fat-arch.s
  lld :: MachO/invalid/alignment-too-large.yaml
  lld :: MachO/invalid/bad-archive.s
  lld :: MachO/invalid/duplicate-symbol.s
  lld :: MachO/invalid/invalid-executable.s
  lld :: MachO/invalid/invalid-relocation-length.yaml
  lld :: MachO/invalid/invalid-relocation-pcrel.yaml
  lld :: MachO/invalid/missing-dylib.s
  lld :: MachO/invalid/no-id-dylink.yaml
  lld :: MachO/invalid/order-file-bad-arch.test
  lld :: MachO/invalid/order-file-bad-objfile.test
  lld :: MachO/invalid/reserved-section-name.s
  lld :: MachO/invalid/stub-link.s
  lld :: MachO/invalid/undefined-symbol.s
  lld :: MachO/link-search-order.s
  lld :: MachO/load-commands.s
  lld :: MachO/local-got.s
  lld :: MachO/no-exports-dylib.s
  lld :: MachO/order-file.s
  lld :: MachO/relocations.s
  lld :: MachO/resolution.s
  lld :: MachO/section-headers.s
  lld :: MachO/section-merge.s
  lld :: MachO/segments.s
  lld :: MachO/static-link.s
  lld :: MachO/stub-link.s
  lld :: MachO/sub-library.s
  lld :: MachO/subsections-section-relocs.s
  lld :: MachO/subsections-symbol-relocs.s
  lld :: MachO/symbol-order.s
  lld :: MachO/symtab.s
  lld :: MachO/x86-64-reloc-signed.s
  lld :: MachO/x86-64-reloc-unsigned.s


Testing Time: 40.65s
  Unsupported      :   15
  Passed           : 2375
  Expectedly Failed:    1
  Failed           :   41
FAILED: test/CMakeFiles/check-lld
Comment 5 ernsteiswuerfel archtester 2022-02-16 22:32:34 UTC
Continued in bug #812470.