Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283154 - emerge tvtime fails on ~amd64 arch
Summary: emerge tvtime fails on ~amd64 arch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-29 19:38 UTC by Maciej Zieba
Modified: 2009-08-30 07:27 UTC (History)
0 users

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


Attachments
Full build.log (build.log,26.43 KB, text/plain)
2009-08-29 19:39 UTC, Maciej Zieba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Zieba 2009-08-29 19:38:15 UTC
I'm having problems emerging tvtime, it fails with an error. I'm using pretty sane CFLAGS (-O2 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe) and changing them to "normal" (-O2 -march=native -pipe) doesn't help...

The problem looks very similiar to bug #98112, but I'm not using -fPIC :-/

Reproducible: Always

Steps to Reproduce:
1. emerge tvtime
2.
3.

Actual Results:  
tvtimeosd.c: In function ‘tvtime_osd_set_audio_mode’:
tvtimeosd.c:561: warning: format not a string literal and no format arguments
tvtimeosd.c:561: warning: format not a string literal and no format arguments
if 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=native -floop-interchange -floop-strip-mine -floop-block -pipe -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-input.o -MD -MP -MF ".deps/tvtime-input.Tpo" \
          -c -o tvtime-input.o `test -f 'input.c' || echo './'`input.c; \
        then mv -f ".deps/tvtime-input.Tpo" ".deps/tvtime-input.Po"; \
        else rm -f ".deps/tvtime-input.Tpo"; exit 1; \
        fi
if 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=native -floop-interchange -floop-strip-mine -floop-block -pipe -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-cpu_accel.o -MD -MP -MF ".deps/tvtime-cpu_accel.Tpo" \
          -c -o tvtime-cpu_accel.o `test -f 'cpu_accel.c' || echo './'`cpu_accel.c; \
        then mv -f ".deps/tvtime-cpu_accel.Tpo" ".deps/tvtime-cpu_accel.Po"; \
        else rm -f ".deps/tvtime-cpu_accel.Tpo"; exit 1; \
        fi
cpu_accel.c: Assembler messages:
cpu_accel.c:62: Error: suffix or operands invalid for `pushf'
cpu_accel.c:63: Error: suffix or operands invalid for `pushf'
cpu_accel.c:64: Error: suffix or operands invalid for `pop'
cpu_accel.c:67: Error: suffix or operands invalid for `push'
cpu_accel.c:68: Error: suffix or operands invalid for `popf'
cpu_accel.c:69: Error: suffix or operands invalid for `pushf'
cpu_accel.c:70: Error: suffix or operands invalid for `pop'
cpu_accel.c:71: Error: suffix or operands invalid for `popf'
make[2]: *** [tvtime-cpu_accel.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[2]: Opuszczenie katalogu `/var/tmp/portage/media-tv/tvtime-1.0.2-r2/work/tvtime-1.0.2/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-tv/tvtime-1.0.2-r2/work/tvtime-1.0.2'
make: *** [all] Błąd 2

Expected Results:  
Working tvtime ;-)

Results of "emerge --info":

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 28 Aug 2009 17:00:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -floop-interchange -floop-strip-mine -floop-block -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt dbus djvu dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac gdbm gif gmp gpm gstreamer gtk hal iconv isdnlog jpeg kde lame lcms libnotify lzo mad mikmod mmap mmx mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plasma png ppds pppd python qt3support qt4 quicktime readline reflection sdl session shm sndfile spell spl sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd threads thunar tiff truetype unicode usb vdpau vorbis x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Maciej Zieba 2009-08-29 19:39:53 UTC
Created attachment 202631 [details]
Full build.log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-29 23:04:55 UTC
You're running a 64-bit kernel, with an amd64 profile, but an x86 CHOST (and thus, most likely, an x86 stage). This bug is invalid, please fix your system.
Comment 3 Maciej Zieba 2009-08-30 07:27:03 UTC
Hi :-)

Oh my god! :-O I feel so embarassed :-| It turned out I had the x86 CHOST exported in my user's .bashrc - it was left from some old experimenting. It's strange that this didn't blow in my face earlier as I've manage to build an entire system, even KDE4 with this...

I'm sorry for adding an invalid bug and thank you very much for pointing my mistake :-)

Best regards,
Maciej