Bug 1623305 - clang fails to compile binaries on ppc64le with -flto
Summary: clang fails to compile binaries on ppc64le with -flto
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clang
Version: 28
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-29 02:07 UTC by Shawn Anastasio
Modified: 2018-09-11 16:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-11 16:52:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
clang output demonstrating error (2.53 KB, text/plain)
2018-08-29 02:07 UTC, Shawn Anastasio
no flags Details

Description Shawn Anastasio 2018-08-29 02:07:27 UTC
Created attachment 1479378 [details]
clang output demonstrating error

Description of problem:
Compiling a C binary with clang 6.0.1 from Fedora 28 repositories on ppc64le fails with an error "/usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory"

Version-Release number of selected component (if applicable):
clang-6.0.1-1.fc28.ppc64le

How reproducible:
100% reproducible

Steps to Reproduce:
1. echo 'int main() {}' | clang -xc - -flto -v

Actual results:
/usr/bin/ld: /usr/bin/../lib64/LLVMgold.so: error loading plugin: /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)

Expected results:
Program compiles successfully and produces a.out

Additional info:
Attached full output of above clang command with -v

Comment 1 Fedora Update System 2018-09-05 01:22:31 UTC
llvm-6.0.1-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-40c765c890

Comment 2 Fedora Update System 2018-09-07 00:07:12 UTC
llvm-6.0.1-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-40c765c890

Comment 3 Fedora Update System 2018-09-07 00:07:40 UTC
llvm-6.0.1-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-40c765c890

Comment 4 Fedora Update System 2018-09-11 16:52:58 UTC
llvm-6.0.1-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.