-
Notifications
You must be signed in to change notification settings - Fork 15
llvm-objcopy: error: invalid output format: 'elf64-s390' #1530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, same issue as before, s390 does not appear to be supported with This is reproducible with just
cc @uweigand in case I am missing something. |
Same workaround as |
The s390 folks have updated their asm to work with the integrated assembler. Enable it for s390 builds on -next. We cannot switch to LLVM=1 because ld.lld and llvm-objcopy do not support s390: ClangBuiltLinux/linux#1524 ClangBuiltLinux/linux#1530 For now, we will just use 'CC=clang LLVM_IAS=1'. Closes: ClangBuiltLinux#363 Signed-off-by: Nathan Chancellor <[email protected]>
…inline The s390 folks have updated their asm to work with the integrated assembler. Enable it for s390 builds on -next and mainline. We cannot switch to LLVM=1 because ld.lld and llvm-objcopy do not support s390: ClangBuiltLinux/linux#1524 ClangBuiltLinux/linux#1530 For now, we will just use 'CC=clang LLVM_IAS=1'. Closes: ClangBuiltLinux#363 Signed-off-by: Nathan Chancellor <[email protected]>
Re: llvm-objcopy: error: invalid output format: 'elf64-s390' ----------- > All errors (new ones prefixed by >>): > > >> llvm-objcopy: error: invalid output format: 'elf64-s390' This is expected, as llvm-objcopy needs support for s390: ClangBuiltLinux/linux#1530 Please use GNU objcopy for the time being by explicitly providing OBJCOPY=${CROSS_COMPILE}objcopy to make. Cheers, Nathan ----------- Link: https://lore.kernel.org/lkml/YpJMIz%[email protected]/ Signed-off-by: Chen Rong <[email protected]> Signed-off-by: Philip Li <[email protected]>
Re: llvm-objcopy: error: invalid output format: 'elf64-s390' ----------- > All errors (new ones prefixed by >>): > > >> llvm-objcopy: error: invalid output format: 'elf64-s390' This is expected, as llvm-objcopy needs support for s390: ClangBuiltLinux/linux#1530 Please use GNU objcopy for the time being by explicitly providing OBJCOPY=${CROSS_COMPILE}objcopy to make. Cheers, Nathan ----------- Link: https://lore.kernel.org/lkml/YpJMIz%[email protected]/ Signed-off-by: Chen Rong <[email protected]> Signed-off-by: Philip Li <[email protected]> Signed-off-by: Ammar Faizi <[email protected]>
This is also necessary for enabling ClangBuiltLinux: ClangBuiltLinux/linux#1530
This is also necessary for enabling ClangBuiltLinux: ClangBuiltLinux/linux#1530
This is also necessary for enabling ClangBuiltLinux: ClangBuiltLinux/linux#1530 (cherry picked from commit 3c02cb7)
Fixed: llvm/llvm-project@3c02cb7 |
This is also necessary for enabling ClangBuiltLinux: ClangBuiltLinux/linux#1530 (cherry picked from commit 3c02cb7)
This can be a duplicate of #1524. s390 build fails at the final state as
This can be reproduced by
The text was updated successfully, but these errors were encountered: