Bug 1083128 - llvm ppc64le support
Summary: llvm ppc64le support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-04-01 14:13 UTC by Menanteau Guy
Modified: 2014-11-18 16:44 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-18 16:44:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
spec changes (1.18 KB, text/x-c)
2014-04-01 14:13 UTC, Menanteau Guy
no flags Details

Description Menanteau Guy 2014-04-01 14:13:02 UTC
Created attachment 881367 [details]
spec changes

Description of problem:
Build failed for ppc64le arch 

Version-Release number of selected component (if applicable):
llvm-3.4-5

There are basically two problems families.

First are problems due to abiv2 changes (suppression of .opd section...)
How reproducible:
rpmbuild --target ppc64le
Actual results:
/bin/ld: .opd not allowed in ABI version 2
/home/root/rpmbuild/BUILD/llvm-3.4/Release/lib/libLLVMPowerPCCodeGen.a(PPCJITInfo.o): error adding symbols: Bad value
collect2: error: ld returned 1 exit status

Those problems are corrected using patches described in 
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140310/208270.html

Second are problems due to bad spec file for llvm-devel files when make check is not executed.
How reproducible:
rpmbuild --target ppc64le --nocheck
Actual results:
Processing files: llvm-devel-3.4-5.fc21.ppc64le
error: Directory not found: /home/root/rpmbuild/BUILDROOT/llvm-3.4-5.fc21.ppc64le/usr/share/doc/llvm-devel

These problems are corrected by changeing spec file to define llvm-devel doc dir in %files devel and clang-devel doc dir and in %files -n clang-devel only
when make check is not run.
see llvm.spec.diff file in attachment


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