Bug 11134 - Can't build liboil on PPC64
Summary: Can't build liboil on PPC64
Status: RESOLVED FIXED
Alias: None
Product: liboil
Classification: Unclassified
Component: unknown (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Schleef
QA Contact: David Schleef
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-04 04:35 UTC by Bastien Nocera
Modified: 2007-06-04 13:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
liboil-0.3.12-ppc64-detection.patch (619 bytes, patch)
2007-06-04 06:26 UTC, Bastien Nocera
Details | Splinter Review

Description Bastien Nocera 2007-06-04 04:35:14 UTC
From https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=242418

---8<---
f /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
  -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I.. -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mminimal-toc -MT liboil_0.3_la-liboilcpu.lo -MD -MP -MF
".deps/liboil_0.3_la-liboilcpu.Tpo" -c -o liboil_0.3_la-liboilcpu.lo `test -f
'liboilcpu.c' || echo './'`liboilcpu.c; \
	then mv -f ".deps/liboil_0.3_la-liboilcpu.Tpo"
".deps/liboil_0.3_la-liboilcpu.Plo"; else rm -f
".deps/liboil_0.3_la-liboilcpu.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I.. -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mminimal-toc -MT liboil_0.3_la-liboilcpu.lo -MD
-MP -MF .deps/liboil_0.3_la-liboilcpu.Tpo -c liboilcpu.c  -fPIC -DPIC -o
.libs/liboil_0.3_la-liboilcpu.o
{standard input}: Assembler messages:
{standard input}:101: Error: unsupported relocation against v0
{standard input}:101: Error: unsupported relocation against v0
{standard input}:101: Error: unsupported relocation against v0
make[3]: *** [liboil_0.3_la-liboilcpu.lo] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/liboil-0.3.12/liboil'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/liboil-0.3.12/liboil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/liboil-0.3.12'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.58316 (%build)
---8<---

Full build log at:
http://koji.fedoraproject.org/koji/getfile?taskID=25422&name=build.log
Comment 1 Bastien Nocera 2007-06-04 06:26:38 UTC
Created attachment 10174 [details] [review]
liboil-0.3.12-ppc64-detection.patch

Adapted from the downstream patch.
Comment 2 David Schleef 2007-06-04 13:25:20 UTC
Applied, thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.