Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130217 - xine-lib forces -Wa,-m7400 for ppc/altivec users which can break builds
Summary: xine-lib forces -Wa,-m7400 for ppc/altivec users which can break builds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC All
: High normal
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-16 23:19 UTC by SpanKY
Modified: 2006-04-17 06:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-04-16 23:19:21 UTC
i'm hitting some build failures on my G5 and it's because i have -mcpu=970 in my CFLAGS ... it's incompatible with the -Wa,-m7400 the xine-lib configure script forces on all ppc/altivec users ... if i drop the -Wa,-m7400 crap, xine-lib builds just fine

root@G5[ppc] 1 xine-utils # make
/bin/sh ../../libtool --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils  -I../../src/input -I../../src/input  -I../../lib    -Wa,-m7400 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -DENABLE_IPV6 -O2 -mcpu=970 -pipe -frename-registers -ffunction-sections -c -o color.lo `test -f 'color.c' || echo './'`color.c
 powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -Wa,-m7400 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O2 -mcpu=970 -pipe -frename-registers -ffunction-sections -c color.c  -fPIC -DPIC -o .libs/color.o
{standard input}: Assembler messages:
{standard input}:1214: Error: junk at end of line: `128'
make: *** [color.lo] Error 1




Portage 2.1_pre7-r5 (default-linux/ppc/2005.1/ppc, gcc-4.1.0, glibc-2.4-r2, 2.6.16-gentoo ppc)
=================================================================
System uname: 2.6.16-gentoo ppc PPC970MP, altivec supported
Gentoo Base System version 1.12.0_pre17
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.15.90.0.3-r5, 2.16.1-r2, 2.16.91.0.3, 2.16.91.0.4, 2.16.91.0.5, 2.16.91.0.6, 2.16.91.0.7
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=970 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer noauto noinfo parallel-fetch sandbox sfperms splitdebug"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,-z,relro"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages/powerpc-unknown-linux-gnu"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib acl alsa altivec asf audiofile berkdb bitmap-fonts boundschecking bzip2 cairo cddb cdparanoia cdr crypt css cups curl directfb dri dts dvd dvdr dvdread emboss encode fame ffmpeg flac fontconfig gd gif glitz gpm gstreamer gtk gtk2 imagemagick ipv6 isdnlog jbig jpeg jpeg2k kde libcaca libwww lzo mad matroska mikmod mjpeg mng modplug motif mp3 mpeg multislot musepack ncurses nls nptl nptlonly ogg oggvorbis openal opengl pdf pdflib perl php png pppd python qt quicktime readline rle samba sdl sndfile spell ssl subversion tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode vcd vidix vorbis xanim xinetd xml xml2 xmms xpm xprint xrandr xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-17 02:02:13 UTC
Let me wake up and I'll see what I can do.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-17 06:35:56 UTC
Fixed in patchset 30 for xine-lib-1.1.2_pre20060328. Going upstream now.