Summary: | media-video/transcode-1.0.4_rc6 fails to compile on x86 w/ -fforce-addr (filterDScaler_MMX) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jakub Moc (RETIRED) <jakub> |
Component: | New packages | Assignee: | Gentoo Developers for the x86 Architecture <x86> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | media-video |
Priority: | High | Keywords: | REGRESSION |
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jakub Moc (RETIRED)
2007-08-23 08:43:57 UTC
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../.. -I../../src -I../../aclib -mmmx -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -DDCT_YUV_PRECISION=1 -MT filter_tomsmocomp_la-tomsmocompfilter_3dnow.lo -MD -MP -MF ".deps/filter_tomsmocomp_la-tomsmocompfilter_3dnow.Tpo" -c -o filter_tomsmocomp_la-tomsmocompfilter_3dnow.lo `test -f 'tomsmocompfilter_3dnow.c' || echo './'`tomsmocompfilter_3dnow.c; \ then mv -f ".deps/filter_tomsmocomp_la-tomsmocompfilter_3dnow.Tpo" ".deps/filter_tomsmocomp_la-tomsmocompfilter_3dnow.Plo"; else rm -f ".deps/filter_tomsmocomp_la-tomsmocompfilter_3dnow.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../.. -I../../src -I../../aclib -mmmx -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -DDCT_YUV_PRECISION=1 -MT filter_tomsmocomp_la-tomsmocompfilter_mmx.lo -MD -MP -MF .deps/filter_tomsmocomp_la-tomsmocompfilter_mmx.Tpo -c tomsmocompfilter_mmx.c -fPIC -DPIC -o .libs/filter_tomsmocomp_la-tomsmocompfilter_mmx.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I../.. -I../../src -I../../aclib -mmmx -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -DDCT_YUV_PRECISION=1 -MT filter_tomsmocomp_la-tomsmocompfilter_3dnow.lo -MD -MP -MF .deps/filter_tomsmocomp_la-tomsmocompfilter_3dnow.Tpo -c tomsmocompfilter_3dnow.c -fPIC -DPIC -o .libs/filter_tomsmocomp_la-tomsmocompfilter_3dnow.o TomsMoCompAll.inc: In function 'filterDScaler_MMX': SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' .. SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints .. SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints make[3]: *** [filter_tomsmocomp_la-tomsmocompfilter_mmx.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... TomsMoCompAll.inc: In function 'filterDScaler_3DNOW': SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints SearchLoopTop.inc:91: error: 'asm' operand has impossible constraints make[3]: *** [filter_tomsmocomp_la-tomsmocompfilter_3dnow.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.4_rc6/work/transcode-1.0.4rc6/filter/tomsmocomp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.4_rc6/work/transcode-1.0.4rc6/filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.4_rc6/work/transcode-1.0.4rc6' make: *** [all] Error 2 * * ERROR: media-video/transcode-1.0.4_rc6 failed. (In reply to comment #0) > Pretty much the same issue like Bug 145754; though 1.0.3 and 1.0.4_rc0 compiled > just fine so this is apparently a regression. Worth submitting upstream I > guess, I'd suggest filtering the flag on x86 meanwhile unless someone wants to > dig into it. :) I'm a bit surprised of this issue since tomsmocomp stuff hasn't changed after 1.0.4rc0. It make perfectly sense to me a change between 1.0.3 and 1.0.4rcX, but not between 1.0.4 RCs. > > > [ebuild U ] media-video/transcode-1.0.4_rc6 [1.0.3] USE="3dnow X a52 > (-altivec) dv dvdread -extrafilters fame (-gtk%*) iconv imagemagick jpeg lzo > mjpeg mmx mp3 mpeg network ogg -oss% quicktime sdl sse -sse2 theora truetype > v4l2 vorbis xml xvid" 0 kB > > Portage 2.1.3.6 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, > 2.6.22-gentoo-r3 i686) > ================================================================= > System uname: 2.6.22-gentoo-r3 i686 AMD Athlon(tm) XP 1600+ > Gentoo Base System release 2.0.0_rc2 > Timestamp of tree: Wed, 22 Aug 2007 17:29:01 +0000 > ccache version 2.4 [enabled] > dev-java/java-config: 1.3.7, 2.0.33-r1 > dev-lang/python: 2.5.1-r2 > dev-python/pycrypto: 2.0.1-r6 > dev-util/ccache: 2.4-r7 > sys-apps/sandbox: 1.2.18.1 > sys-devel/autoconf: 2.13, 2.61-r1 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 > sys-devel/binutils: 2.17, 2.17.50.0.16, 2.17.50.0.17, 2.17.50.0.18 > sys-devel/gcc-config: 1.3.16 > sys-devel/libtool: 1.5.24 > virtual/os-headers: 2.6.22-r2 > ACCEPT_KEYWORDS="x86 ~x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf > /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ > /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ > /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild > /etc/splash /etc/terminfo /usr/share/X11/xkb" > CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr" > DISTDIR="/usr/portage/distfiles" > EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y" > FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch > sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv > usersandbox" > GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ > http://gentoo.osuosl.org" > LANG="en_US.UTF-8" > LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" > LINGUAS="cs en" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_RSYNC_EXTRA_OPTS="--progress --prune-empty-dirs" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress > --force --whole-file --delete --delete-after --stats --timeout=180 > --exclude=/distfiles --exclude=/local --exclude=/packages > --filter=H_**/files/digest-*" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/beryl > /usr/local/overlays/enlightenment" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="3dnow 3dnowext 7zip X X509 a52 aac aalib acl acpi alsa amr ao asf > audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb > cdparanoia cdr chroot cli cpudetection cracklib crypt cscope css cups curl > curlwrappers daap dbus dbx dga directfb dri dts dv dvb dvd dvdr dvdread encode > exif expat fam fame fbcon ffmpeg fftw firefox flac flash flatfile foomaticdb > ftp fuse gd gdbm ggi gif gimp glibc-omitfp glitz glut gmp gphoto2 gpm graphviz > gs gstreamer gtk hal ical iconv icq idn imagemagick imap imlib inifile ipv6 > irda jack javascript jbig joystick jpeg jpeg2k kdeenablefinal > kdehiddenvisibility kipi lame lcms libcaca libnotify libsamplerate lirc live > lm_sensors logrotate lzo mad maildir matroska midi mikmod mime mjpeg mmap mmx > mmxext mng modplug moznopango mp3 mp4 mpeg mplayer mudflap multiuser musepack > musicbrainz ncurses network network-cron nfs nls nodrm nptl nptlonly nsplugin > nvidia offensive ogg openal opengl openmp pam pcre pdf perl php png portaudio > ppds python qt3 qt3support quicktime rar readline real reflection rle ruby > samba sdl sdl-image session skey sms sndfile speex spell spl sqlite sqlite3 sse > ssl startup-notification subtitles svg symlink syslog tcpd theora threads > threadsafe thumbnail tiff truetype unicode urandom usb v4l v4l2 vcd vim-syntax > vim-with-x vorbis wavpack win32codecs wmf x264 x86 xattr xcomposite xine > xinerama xinetd xml xmlrpc xorg xosd xpm xv xvid xvmc zeroconf zip zlib" > ALSA_CARDS="emu10k1 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare > dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw > multi null plug rate route share shm softvol" ELIBC="glibc" > INPUT_DEVICES="evdev joystick keyboard mouse vmmouse" KERNEL="linux" > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses > text" LINGUAS="cs en" LIRC_DEVICES="cph06x" USERLAND="GNU" VIDEO_CARDS="fbdev > nv nvidia v4l vesa vmware" > Unset: CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS > (In reply to comment #2) > I'm a bit surprised of this issue since tomsmocomp stuff hasn't changed after > 1.0.4rc0. It make perfectly sense to me a change between 1.0.3 and 1.0.4rcX, > but not between 1.0.4 RCs. Hmmm, correct. I checked the logs and I only compiled 1.0.4_rc0 on amd64, where it's not an issue of course. 1.0.4_rc0 doesn't compile either on x86 w/ -fforce-addr, 1.0.3 does. (In reply to comment #3) > Hmmm, correct. I checked the logs and I only compiled 1.0.4_rc0 on amd64, where > it's not an issue of course. 1.0.4_rc0 doesn't compile either on x86 w/ > -fforce-addr, 1.0.3 does. (sorry for bad quoting in previous reply) Looks like tomsmocomp still causes troubles. Grumph. My first though: what is -fforce-addr good for? gcc man page doesn't enlighten me yet. Maybe is this flag triggered by some hardened profile? I'm not claiming -fforce-addr is harmful or useless, I'm just trying to get the point... Sidenote: fixing tosmocomp asm was of course planned, but this will be painful. (In reply to comment #4) > Sidenote: fixing tosmocomp asm was of course planned, but this will be painful. And this is not scheduled for 1.0.4 so far (In reply to comment #0) > Pretty much the same issue like Bug 145754; though 1.0.3 and 1.0.4_rc0 compiled > just fine so this is apparently a regression. Worth submitting upstream I > guess, I'd suggest filtering the flag on x86 meanwhile unless someone wants to > dig into it. :) So I filtered the CFLAG -fforce-addr on x86 in the current 1.0.4_rc6 ebuild. Closing. Has been removed, but still an issue with the stable 1.0.4 ebuild (In reply to comment #7) > Has been removed, but still an issue with the stable 1.0.4 ebuild > Added custom-cflags use flag in 1.0.4-r1, which even if enabled, still strips out -fforce-addr. (In reply to comment #7) > Has been removed, but still an issue with the stable 1.0.4 ebuild > Added custom-cflags use flag in 1.0.4-r1, which even if enabled, still strips out -fforce-addr.(In reply to comment #8) > (In reply to comment #7) > > Has been removed, but still an issue with the stable 1.0.4 ebuild > > > > Added custom-cflags use flag in 1.0.4-r1, which even if enabled, still strips > out -fforce-addr. Strike that, we're just gonna filter em out, in -r2. I consider this fixed as I marked stable 1.0.4-r2 on x86. Reopen if you disagree. |