Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27284 - gst-plugins-0.6.2-r1 fails to compile with "-march=pentium4"
Summary: gst-plugins-0.6.2-r1 fails to compile with "-march=pentium4"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 04:02 UTC by Hypnos
Modified: 2003-10-05 03:37 UTC (History)
1 user (show)

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


Attachments
Build log for gst-plugins-0.6.2-r1 (gst-plugins.log,128.92 KB, text/plain)
2003-08-25 05:01 UTC, Hypnos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2003-08-25 04:02:52 UTC
When I remove "-march=pentium4" from my CFLAGS (leaving "-mcpu=i686 -Os -pipe"),
the package builds fine.  Otherwise, I get an error concerning an illegal "movd"
assembly instruction when the "goom" plugin is compiling.  

Some possibly useful info:

* gcc = 3.2.3-r1, glibc = 2.3.2-r1, binutils = 2.14.90.0.2

* I use all the USE flags considered by the ebuild _except_ "aalib", "arts" and
"sdl"



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 foser (RETIRED) gentoo-dev 2003-08-25 04:29:46 UTC
please give your 'emerge info' as requested in the bugform (the one for dummies) and some more complete output maybe, where we can see what is actually going on.

Comment 2 Hypnos 2003-08-25 05:00:51 UTC
Very well -- emerge info is below, and build log is attached:

********************

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.18 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/home/system/portage"
USE="x86 oss avi crypt encode foomaticdb jpeg mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm slang readline tetex bonobo svga X gpm pam libwww ssl python esd imlib oggvorbis gnome gtk opengl mozilla ldap cdr acpi apache2 auctex bindist bots curl dga dnd doc dvb dvd evo faad flash freetds gd ginac gnomedb gphoto2 gps gstreamer gtk2 hbci imagemagick imap ipv6 jack kerberos krb4 ladcca lcms libgda matroska md5sum mdb moznocompose moznoirc moznomail mozp3p mozsvg oav offensive ofx openal parse-clocks pcmcia pda pic plotutils pnp radeon S3TC samba sasl sse trusted usb vim-with-x wavelan wmf wxwindows xvid -3dnow -apm -arts -cups -gif -java -kde -libg++ -motif -nls -qt -berkdb -tcltk -guile -sdl -tcpd -perl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -march=pentium4 -Os -pipe"
CXXFLAGS="-mcpu=i686 -march=pentium4 -Os -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Hypnos 2003-08-25 05:01:25 UTC
Created attachment 16586 [details]
 Build log for gst-plugins-0.6.2-r1
Comment 4 foser (RETIRED) gentoo-dev 2003-08-25 06:13:11 UTC
You positively have a pentium4 ?

The problem is not reproducable by the gstreamer people.
Comment 5 Brandy Westcott (RETIRED) gentoo-dev 2003-08-25 16:23:40 UTC
I have a pentium4 and can confirm that gst-plugins does not compile 
using the same CFLAGS as Sourav. I narrowed it down to a collision 
between -mcpu=i686 and -march=pentium4 which makes this bug 
seem quite similar to http://bugs.gentoo.org/show_bug.cgi?id=25461 
 
Comment 6 Hypnos 2003-08-25 18:27:10 UTC
Yes, it's a Pentium 4 Mobile, according to /proc/cpuinfo and the machine specs.
Comment 7 foser (RETIRED) gentoo-dev 2003-08-26 02:18:31 UTC
hmmm well, so there's not much todo about this. I'm tempted to close it as WONTFIX cause i don't think adding flagstripping for every possible situation is a good thing to do (and gst-plugins already strips a whole lot of stuff).
Comment 8 Mike Gardiner (RETIRED) gentoo-dev 2003-08-27 05:41:33 UTC
i can't reproduce this on a normal (non Mobile) p4, testing the CFLAGS provided by the reporters emerge info.
Comment 9 Hypnos 2003-08-27 12:24:38 UTC
FYI, I tried re-emerging binutils to rebuild the assembler, to no avail.
Comment 10 foser (RETIRED) gentoo-dev 2003-09-21 10:55:22 UTC
hmm yeah well, i'm about to close this as WONTFIX. It probably isn't even a gst problems problem per-se, but it looks like it happens in the imported goom code.

It only happens with the cpu->march combo i think. You could try install xmms-goom and see if it shows the same behaviour (the codebase should be partialy the same).

Any last comments before i close it down ?
Comment 11 Hypnos 2003-09-21 14:56:32 UTC
Yes, go ahead and close it -- we'll see what happens with the impending 0.7.0 release, as there have been a ton of changes.
Comment 12 foser (RETIRED) gentoo-dev 2003-09-22 04:37:43 UTC
the 0.7 series won't go in the tree, it's a development series. And i really doubt thats the problematic code here : it's probably imported goom code.
Comment 13 Hypnos 2003-09-22 08:19:39 UTC
Looking at my installation database, I got 0.6.3 to install with full flags without any problems.

I think it's safe to close this bug.
Comment 14 foser (RETIRED) gentoo-dev 2003-10-05 03:37:15 UTC
ill reproducable, closing