New user self-registration is disabled due to spam. For an account please email bugs-admin@lists.llvm.org with your e-mail address and full name.

Bug 44849 - llvm 10 rc1 fails to build on s390x - stage2 build
Summary: llvm 10 rc1 fails to build on s390x - stage2 build
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: SystemZ (show other bugs)
Version: trunk
Hardware: PC Linux
: P release blocker
Assignee: Jonas Paulsson
URL:
Keywords:
Depends on:
Blocks: release-10.0.0
  Show dependency tree
 
Reported: 2020-02-08 08:59 PST by Sylvestre Ledru
Modified: 2020-02-12 01:54 PST (History)
4 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvestre Ledru 2020-02-08 08:59:30 PST
fatal error: error in backend: Not supported instr: <MCInst 421 <MCOperand Reg:187> <MCOperand Reg:139>>
make[8]: *** [lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/build.make:326: lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ISelLowering.cpp.o] Error 70
make[8]: Leaving directory '/<<BUILDDIR>>/llvm-toolchain-10-10.0.0~+rc1/build-llvm/tools/clang/stage2-bins'
make[7]: *** [CMakeFiles/Makefile2:30692: lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/all] Error 2
make[7]: *** Waiting for unfinished jobs....


Full log:
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-10&arch=s390x&ver=1%3A10.0.0%7E%2Brc1-1%7Eexp1&stamp=1580899435&raw=0

Reported: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950900
Comment 1 Hans Wennborg 2020-02-10 05:24:04 PST
Would it be possible to get preprocessed source and compiler invocation so this can be reproduced?
Comment 2 Jonas Paulsson 2020-02-10 07:00:58 PST
I was just able to reproduce it... looking...
Comment 3 Jonas Paulsson 2020-02-10 12:18:33 PST
Suggested patch at https://reviews.llvm.org/D74352
Comment 4 Jonas Paulsson 2020-02-11 07:53:33 PST
Should be fixed by 0311e28.
Comment 5 Luke 2020-02-11 08:52:34 PST
Reopening for 10.0.0 backport 

https://github.com/llvm/llvm-project/commit/0311e28e9cc01a244faa774b8cab337b45404fa9
Comment 6 Hans Wennborg 2020-02-12 01:54:12 PST
Cherry-picked to 10.x in 3c94b2780126be9cf0e828bbd62729cdc5f421da