Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83188 - tvtime-0.9.15 compilation fails Assembler error : push , pop
Summary: tvtime-0.9.15 compilation fails Assembler error : push , pop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 06:44 UTC by Boris Fersing (RETIRED)
Modified: 2005-03-01 02:20 UTC (History)
2 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 Boris Fersing (RETIRED) gentoo-dev 2005-02-24 06:44:36 UTC
tvtime-0.9.15 fails to build, I get these errors :



Reproducible: Always
Steps to Reproduce:
1. emerge =tvtime-0.9.15
2.
3.

Actual Results:  
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   
`/usr/bin/freetype-config --cflags`  -Wall -pedantic -I.
-DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\""
-DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\""
-I../plugins  -I/usr/include/libxml2   -march=athlon64 -mtune=athlon64  -pipe
-fomit-frame-pointer -msse -msse2 -mmmx -fPIC -O3 -fomit-frame-pointer
-std=gnu99 -MT tvtime-speedy.o -MD -MP -MF ".deps/tvtime-speedy.Tpo" \
  -c -o tvtime-speedy.o `test -f 'speedy.c' || echo './'`speedy.c; \
then mv -f ".deps/tvtime-speedy.Tpo" ".deps/tvtime-speedy.Po"; \
else rm -f ".deps/tvtime-speedy.Tpo"; exit 1; \
fi
{standard input}: Assembler messages:
{standard input}:16: Error: suffix or operands invalid for `push'
{standard input}:19: Error: suffix or operands invalid for `pop'
{standard input}:37: Error: suffix or operands invalid for `push'
{standard input}:40: Error: suffix or operands invalid for `pop'
{standard input}:51: Error: suffix or operands invalid for `push'
{standard input}:54: Error: suffix or operands invalid for `pop'
{standard input}:63: Error: suffix or operands invalid for `push'
{standard input}:66: Error: suffix or operands invalid for `pop'
make[2]: *** [tvtime-cpu_accel.o] Erreur 1
make[2]: *** Attente des t
Comment 1 Boris Fersing (RETIRED) gentoo-dev 2005-02-24 06:44:36 UTC
tvtime-0.9.15 fails to build, I get these errors :



Reproducible: Always
Steps to Reproduce:
1. emerge =tvtime-0.9.15
2.
3.

Actual Results:  
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   
`/usr/bin/freetype-config --cflags`  -Wall -pedantic -I.
-DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\""
-DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\""
-I../plugins  -I/usr/include/libxml2   -march=athlon64 -mtune=athlon64  -pipe
-fomit-frame-pointer -msse -msse2 -mmmx -fPIC -O3 -fomit-frame-pointer
-std=gnu99 -MT tvtime-speedy.o -MD -MP -MF ".deps/tvtime-speedy.Tpo" \
  -c -o tvtime-speedy.o `test -f 'speedy.c' || echo './'`speedy.c; \
then mv -f ".deps/tvtime-speedy.Tpo" ".deps/tvtime-speedy.Po"; \
else rm -f ".deps/tvtime-speedy.Tpo"; exit 1; \
fi
{standard input}: Assembler messages:
{standard input}:16: Error: suffix or operands invalid for `push'
{standard input}:19: Error: suffix or operands invalid for `pop'
{standard input}:37: Error: suffix or operands invalid for `push'
{standard input}:40: Error: suffix or operands invalid for `pop'
{standard input}:51: Error: suffix or operands invalid for `push'
{standard input}:54: Error: suffix or operands invalid for `pop'
{standard input}:63: Error: suffix or operands invalid for `push'
{standard input}:66: Error: suffix or operands invalid for `pop'
make[2]: *** [tvtime-cpu_accel.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2]: Leaving directory `/var/tmp/portage/tvtime-0.9.15/work/tvtime-0.9.15/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/tvtime-0.9.15/work/tvtime-0.9.15'
make: *** [all] Erreur 2

!!! ERROR: media-tv/tvtime-0.9.15 failed.


Expected Results:  
to compile fine

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20050125-r0,glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 15:04:15)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.8.5-r3, 1.5, 1.4_p6, 1.7.9-r1, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -msse
-msse2 -mmmx -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -msse
-msse2 -mmmx -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildsyspkg ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.belnet.be/gentoo-portage"
USE="amd64 X aac aalib acpi aim alsa anthy apache2 audiofile bash-completion
berkdb bidi bitmap-fonts blender-game bonobo bootspla bzlib canna cdparanoia cdr
cdrom chroot cjk crypt curl dga directfb divx4linux dvd dvdr dvdread edl encode
escreen esd ethereal evo f77 faac faad fam fbcon fbdev ffmpeg fla flac
font-server fortran freetype freetype-version-1 freewnn ftp gdbm ggi gif gimp
gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394
imagemagick imap imlib imlib2 ipv6 jabber jp2 jpeg junit kakasi libwww live lzo
lzw lzw-tiff mad mailbox maildir matroska mbox md5sum mikmod mng motif mozilla
moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer msn music mythtv nas
ncurses net network nls nntp nocardbus nptl nptlonly nvidia objc offensive
oggvorbis openal opengl opens operanom2 oscar oss pam pdflib perl pic png
postgres pthreads python readline recode rtc samba sdl sftplogging skk slang
softquota ssl svg tcpd tga theora tiff transcode truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vanilla xfs xine xinerama xinetd
xml xml2 xmms xosd xpm xrandr xv xvid yahoo zlib zvbi"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2005-02-28 18:23:08 UTC
Could you please try CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" emerge tvtime?

Thanks.
Comment 3 Boris Fersing (RETIRED) gentoo-dev 2005-03-01 02:15:37 UTC
It compiled fine with CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"

Thanks !

Maybe should the other CFLAGS be filtered ?
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2005-03-01 02:20:45 UTC
Unfortunately if we start filtering out flags, we don't really know where to stop - how many flags we'll need to filter. The other thing is, that on some archs - you may need a flag, that we're filtering on others - it can become a mess quickly.

If you can nail it down to the one flag, please let me know. I'd suspect sse/see2/mmx, but I'm not really sure.

Then if we get other reports of the same flag breaking, I'll look into filtering it.

Thanks for your time here, I'm glad it's working.