Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87129 - libgii-0.9.0 won't build on ppc64.
Summary: libgii-0.9.0 won't build on ppc64.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 43612
  Show dependency tree
 
Reported: 2005-03-29 08:57 UTC by Markus Rothe (RETIRED)
Modified: 2005-12-22 05:21 UTC (History)
1 user (show)

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


Attachments
fix bitops.h (asm-ppc64-signal.patch,1.77 KB, patch)
2005-09-11 19:57 UTC, Tom Gall (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 2005-03-29 08:57:09 UTC
libgii-0.9.0 won't build on ppc64:

(...)
powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c  -fPIC -DPIC -o ptsched.lo
powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT task.lo -MD -MP -MF .deps/task.Tpo -c task.c  -fPIC -DPIC -o task.lo
ptsched.c: In function `_gg_task_thread_waiter':
ptsched.c:200: error: label at end of compound statement
make[3]: *** [ptsched.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT cleanup_stubs.lo -MD -MP -MF .deps/cleanup_stubs.Tpo -c cleanup_stubs.c  -fPIC -DPIC -o cleanup_stubs.lo
make[3]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0'
make: *** [all] Error 2

!!! ERROR: media-libs/libgii-0.9.0 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


here is the emerge --info output:

Portage 2.0.51.19 (default-linux/ppc64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 ppc64)
=================================================================
System uname: 2.6.9-gentoo-r9 ppc64 PPC970, altivec supported
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.3-r2 [2.3.3 (#1, Mar 19 2005, 14:18:56)]
dev-lang/python:     2.3.3-r2
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X altivec apache2 audiofile bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib calendar cdb cdparanoia cdr cdrom chroot client crypt cups curl dba dedicated dga dict dio divx4linux dv dvd dvdr dvdread encode exif fam fame fbcon ffmpeg flac flatfile foomaticdb fortran fpx freetype ftp gcc-libffi gcj gd gdbm gif gimp gimpprint glade gnokii gnuplot gnustep gphoto2 gpm graphviz gs gstreamer gtk gtk2 iconv icq ieee1394 image imagemagick imap imlib2 ipv6 ipv6arpa jabber java javacomm javamail javascript jbig jpeg jpeg2k kde kdeenablefinal kerberos latex libwww live mad maildir md5sum mhash mime mimencode mixer mjpeg mng motif mozsvg mp3 mpeg mpeg4 mpi music native ncurses neXt nls nocardbus nowin nptl nptlonly objc oggvorbis openal opengl openssh pam pdf pdflib perl php physfs plotutils png pnp portaudio posix povray ppc64 ppds procmail python qt quicktime quotas quotes radius readline rtc sasl sdk serial server session silc slang smime sms sndfile sockets sounds spell ssl svg tcpd tetex tga theora tidy tiff tools transcode truetype truetype-fonts type1-fonts uml unicode uptimed usb v4l v4l2 vcd vhosts videos vidix vim wmf wxwindows xanim xchatdccserver xchattext xine xml2 xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ryan O'Hara 2005-04-04 15:53:15 UTC
The patch included with the ebuild in  http://bugs.gentoo.org/show_bug.cgi?id=83888 should fix the problem.
Comment 2 Ryan O'Hara 2005-04-04 16:00:47 UTC
This is a dupe of http://bugs.gentoo.org/show_bug.cgi?id=86941
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-04-04 23:06:00 UTC
thx. I'll try it again.
Comment 4 Tom Gall (RETIRED) gentoo-dev 2005-09-11 19:56:03 UTC
reopening bug,  this is actually valid,  but with the referenced bug, the build
still dies (but for different reasons)

Need to fix another ppc64 kernel header (and thus adding plasmaroo to the cc)
Comment 5 Tom Gall (RETIRED) gentoo-dev 2005-09-11 19:57:43 UTC
Created attachment 68218 [details, diff]
fix bitops.h

fixes /usr/include/asm-ppc64/bitops.h
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-12-22 05:21:52 UTC
Looks like the attached bitops.h headers fix went in a while ago so closing this as FIXED.