Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118050 - [GCC4] media-plugins/libvisual-plugins-0.2.0 fails to compile mmx asm code
Summary: [GCC4] media-plugins/libvisual-plugins-0.2.0 fails to compile mmx asm code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-06 08:13 UTC by Matti Bickel (RETIRED)
Modified: 2006-01-07 14:49 UTC (History)
1 user (show)

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


Attachments
gcc-4 patch (libvisual-plugins-0.2.0-gcc4.patch,6.76 KB, patch)
2006-01-06 17:57 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Bickel (RETIRED) gentoo-dev 2006-01-06 08:13:10 UTC
Hi, i'm still wondering what this error means. The relevant source code has some mmx asm trickery in this lines. Having no clue on x86-asm and mmx in particular, could someone enlighten me?

mkdir .libs
mkdir: cannot create directory `.libs': File exists
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -march=athlon -O2 -pipe -DUNIX_X -D_REENTRANT -MT display.lo -MD -MP -MF .deps/display.Tpo -c display.c  -fPIC -DPIC -o .libs/display.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -march=athlon -O2 -pipe -DUNIX_X -D_REENTRANT -MT compute.lo -MD -MP -MF .deps/compute.Tpo -c compute.c  -fPIC -DPIC -o .libs/compute.o
display.c: In function '_inf_compute_surface':
display.c:115: error: memory input 1 is not directly addressable
make[4]: *** [display.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor/infinite'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins/actor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libvisual-plugins-0.2.0/work/libvisual-plugins-0.2.0'
make: *** [all] Error 2

!!! ERROR: media-plugins/libvisual-plugins-0.2.0 failed.
!!! Function src_compile, Line 41, Exitcode 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 08:20:46 UTC
emerge --info, please...
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2006-01-06 08:23:36 UTC
ouch, sorry

Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-rc7-20060101-2 i686)
=================================================================
System uname: 2.6.15-rc7-20060101-2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://ftp.romnet.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 ipv6 kdeenablefinal nptl opengl pic unicode zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-01-06 17:57:26 UTC
Created attachment 76423 [details, diff]
gcc-4 patch

Here's the upstream fix.
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2006-01-07 12:18:17 UTC
Thanks a bundle, the patch indeed solves the problem.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2006-01-07 14:49:51 UTC
In CVS now, will reach the regular portage tree in under two hours. Matti, thanks for your bug report. Mark, thanks for the research.