Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48953 - gstreamer-0.8.1 compile failure with gcc-3.4: error: PIC register `ebx' clobbered in `asm'
Summary: gstreamer-0.8.1 compile failure with gcc-3.4: error: PIC register `ebx' clobb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-25 10:07 UTC by Ed Catmur
Modified: 2004-04-30 03:39 UTC (History)
1 user (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 Ed Catmur 2004-04-25 10:07:24 UTC
On x86 (i686-pc-linux-gnu):

if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2
  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I..  -Wall
-DGST_DISABLE_DEPRECATED -g -I../libs -I../include 
-DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_MAJORMINOR=\""0.8"\"  -O2 -pipe
-march=athlon-xp -fprefetch-loop-arrays -MT libgstreamer_0.8_la-gstelement.lo
-MD -MP -MF ".deps/libgstreamer_0.8_la-gstelement.Tpo" \
  -c -o libgstreamer_0.8_la-gstelement.lo `test -f 'gstelement.c' || echo
'./'`gstelement.c; \
then mv -f ".deps/libgstreamer_0.8_la-gstelement.Tpo"
".deps/libgstreamer_0.8_la-gstelement.Plo"; \
else rm -f ".deps/libgstreamer_0.8_la-gstelement.Tpo"; exit 1; \
fi
gstcpu.c: In function `gst_cpuid_i386':
gstcpu.c:72: error: PIC register `ebx' clobbered in `asm'

Also in gst/gsttrashstack.h.

Tentative patch attached (needs review by someone who groks x86 asm)

Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=141083
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-04-26 16:00:13 UTC
From my limited experience with at&t asm, it looks OK.  Btw, its always been
an issue with -fprefetch-loop-arrays since some time back if Im not mistaken
(even 0.6).

Can the gnome guys apply?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-04-26 16:00:48 UTC
Patch is here btw:

  http://bugzilla.gnome.org/attachment.cgi?id=27080&action=view
Comment 3 Aaron Gyes 2004-04-26 17:07:12 UTC
The gnome guys put it in cvs 3 hours ago.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-04-26 17:12:48 UTC
Talking about the Gentoo Gnome team ...
Comment 5 foser (RETIRED) gentoo-dev 2004-04-27 05:41:22 UTC
patch added to gstreamer-0.8.1 ebuild

thanks for the report & fix