Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175420 - Try to rekeyword dev-libs/liboil-0.3.14
Summary: Try to rekeyword dev-libs/liboil-0.3.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on: 211146
Blocks:
  Show dependency tree
 
Reported: 2007-04-21 07:14 UTC by Markus Rothe (RETIRED)
Modified: 2008-04-16 16:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quick and dirty patch (liboil-0.3.12-ppc64.patch,309 bytes, patch)
2008-03-23 18:02 UTC, Markus Rothe (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2007-04-21 07:14:46 UTC
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 Hanno Böck gentoo-dev 2007-04-21 07:25:55 UTC
Damn, this wasn't intended. I've now added ~ to all keywords and removed ppc64.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-09-17 14:51:16 UTC
uh.. completely missed this bug, please try 0.3.12.
Comment 3 Brent Baude (RETIRED) gentoo-dev 2007-09-26 18:44:48 UTC
I just tried -0.3.12 and it failed compilation in the exact same way.
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-03-23 18:02:07 UTC
Created attachment 147035 [details, diff]
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 Markus Rothe (RETIRED) gentoo-dev 2008-03-24 12:51:55 UTC
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 Markus Rothe (RETIRED) gentoo-dev 2008-04-16 16:21:32 UTC
added ~ppc64