Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175420
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: ppc64 architecture team <ppc64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
liboil-0.3.12-ppc64.patch quick and dirty patch patch Markus Rothe 2008-03-23 18:02 0000 309 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175420 depends on: 211146 Show dependency tree
Bug 175420 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-21 07:14 0000
Hello,

liboil was version bumped from 0.3.10-r1 to 0.3.11 keeping it's stable
keywords. this was a bad thing, because 0.3.11 failes on ppc64. I've revented
back to ~ppc64.

error on ppc64:

[...]
creating liboiltmp1.la
(cd .libs && rm -f liboiltmp1.la && ln -s ../liboiltmp1.la liboiltmp1.la)
/bin/sh ../libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I..    -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I.. -pipe
-mtune=970 -mcpu=970 -mabi=altivec -O2 -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
 powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -D_BSD_SOURCE
-D_GNU_SOURCE -I.. -pipe -mtune=970 -mcpu=970 -mabi=altivec -O2 -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}:65: Error: unsupported relocation against v0
{standard input}:65: Error: unsupported relocation against v0
{standard input}:65: Error: unsupported relocation against v0
make[3]: *** [liboil_0.3_la-liboilcpu.lo] Error 1
[...]


# emerge --info
Portage 2.1.2.2
(default-linux/ppc/ppc64/2007.0/64bit-userland/desktop/970/pmac, gcc-4.1.1,
glibc-2.5-r0, 2.6.20-gentoo-r5 ppc64)
=================================================================
System uname: 2.6.20-gentoo-r5 ppc64 PPC970FX, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 21 Apr 2007 06:31:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig collision-protect cvs distlocks
metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl aiglx alsa altivec amr apache2 asf avahi
bash-completion berkdb bitmap-fonts bzip2 cairo ccache cdinstall cdparanoia cdr
cli cracklib crypt cups curl cvs dbus dri dts dv dvd dvdr dvdread emboss enca
encode exif exscalibar fam ffmpeg firefox flac foomaticdb fortran fping gcj gd
gdbm ggi gif gimp gimpprint glib glitz gmp gnokii gnutls gphoto2 gpm graphviz
gs gstreamer gtk hal hfs highlight iconv ieee1394 imagemagick imap imlib ipv6
isdnlog jingle jpeg kdeenablefinal latex ldap libg++ libnotify mad matroska
mdnsresponder-compat midi mikmod mjpeg mp3 mp4 mpeg mplayer multiuser
musicbrainz mysql ncurses network nls no-old-linux nptl nptlonly nsplugin objc
objc++ offensive ogg openal opengl pam pcre pdf perl php plotutils plugins png
ppc64 ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline
reflection rtsp ruby samba scanner screen sdl session skins slp smp spell spl
ssl startup-notification stream subtitles subversion svg tcltk tcpd teamarena
tetex theora threads tiff trayicon truetype truetype-fonts type1-fonts unicode
upnp usb utempter vcd videos vim-pager vorbis wxwindows x264 xcb xcomposite
xine xml xorg xpm xscreensaver xv xvid xvmc zeroconf zlib"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #1 From Hanno Boeck 2007-04-21 07:25:55 0000 -------
Damn, this wasn't intended. I've now added ~ to all keywords and removed ppc64.

------- Comment #2 From Samuli Suominen 2007-09-17 14:51:16 0000 -------
uh.. completely missed this bug, please try 0.3.12.

------- Comment #3 From Brent Baude 2007-09-26 18:44:48 0000 -------
I just tried -0.3.12 and it failed compilation in the exact same way.

------- Comment #4 From Markus Rothe 2008-03-23 18:02:07 0000 -------
Created an attachment (id=147035) [details]
quick and dirty patch

this patch let's compile liboil here. "make check" passes.

I'm not sure this patch is correct. maybe the assembler command now uses the
general purpose registers instead of the vector register. I'm not expert, but
will try to find out if this patch is correct.

------- Comment #5 From Markus Rothe 2008-03-24 12:51:55 0000 -------
0.3.14 does not use this type of code any more.

I'll rekeyword liboil 0.3.14 once it hits portage. (bug #211146)

------- Comment #6 From Markus Rothe 2008-04-16 16:21:32 0000 -------
added ~ppc64

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug