Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168637 - media-libs/xvid-1.1.2 aborts at cbp_mmx.o
Summary: media-libs/xvid-1.1.2 aborts at cbp_mmx.o
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL: http://nico.codernet.org/media-libs:x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 21:21 UTC by Nico R. Wohlgemuth
Modified: 2007-05-03 02:34 UTC (History)
1 user (show)

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


Attachments
media-libs/xvid-1.1.2 fails to build, log (saneflag-xvid,11.51 KB, text/plain)
2007-02-27 22:40 UTC, Nico R. Wohlgemuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico R. Wohlgemuth 2007-02-27 21:21:12 UTC
media-libs/xvid-1.1.2 fails to compile, see http://nico.codernet.org/media-libs:xvid-1.1.2:20070227-211209.log

Reproducible: Always

Steps to Reproduce:
1. emerge xvid


Actual Results:  
http://nico.codernet.org/media-libs:xvid-1.1.2:20070227-211209.log



Portage 2.1.2-r11 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-beyond1 i686)
=================================================================
System uname: 2.6.20-beyond1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 27 Feb 2007 20:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fforce-addr -fno-ident -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -fforce-addr -fno-ident -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/portage/main/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/portage/main/packages"
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="/portage/tmp"
PORTDIR="/portage/main"
PORTDIR_OVERLAY="/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd eds emboss encode fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv icq jpeg ldap libg++ mad midi mikmod mmx mmxext mp3 mpeg msn ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-27 21:40:47 UTC
Please try emerging it without the superflous LD/C/CXX-Flags, thus (in one line):
CFLAGS="-march=prescott -O2 -pipe" CXXFLAGS="-march=prescott -O2 -pipe" LDFLAGS="" emerge -1v xvid

Otherwise, this will be closed as WORKSFORME/INVALID.
Comment 2 Nico R. Wohlgemuth 2007-02-27 22:23:15 UTC
first of all my flags are stable for me, I _never_ had problems with them.

It fails to build too with:
CFLAGS="-march=prescott -O2 -pipe" CXXFLAGS="-march=prescott -O2 -pipe" LDFLAGS=""

log: http://nico.codernet.org/saneflag-xvid
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 22:30:23 UTC
Attach the log here and reopen then; referring to third-party links that die in days makes bugs useless for anyone who searches them later on.
Comment 4 Nico R. Wohlgemuth 2007-02-27 22:40:06 UTC
Created attachment 111493 [details]
media-libs/xvid-1.1.2 fails to build, log
Comment 5 Nico R. Wohlgemuth 2007-02-27 22:40:42 UTC
Okay, sorry I created an attachment.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 22:45:18 UTC
How about if you recompile dev-lang/yasm with *sane* C[XX]FLAGS and empty LDFLAGS?
Comment 7 Nico R. Wohlgemuth 2007-02-27 23:21:43 UTC
I don't have yasm installed, so xvid does not require yasm or the decencies is missing
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-27 23:36:01 UTC
(In reply to comment #7)
> I don't have yasm installed, so xvid does not require yasm or the decencies is
> missing
> 

please post the output of emerge -pv yasm
Comment 9 Nico R. Wohlgemuth 2007-02-27 23:46:50 UTC
nico@starbox ~ % emerge -pv yasm
running sudo emerge -pv yasm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-lang/yasm-0.5.0  USE="nls" 0 kB 

Total: 1 package (1 new), Size of downloads: 0 kB
nico@starbox ~ %
Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-28 00:14:32 UTC
(In reply to comment #9)
> nico@starbox ~ % emerge -pv yasm
> running sudo emerge -pv yasm
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N    ] dev-lang/yasm-0.5.0  USE="nls" 0 kB 
> 
> Total: 1 package (1 new), Size of downloads: 0 kB

That makes no sense. Yasm is a dependency of xvid:
loki linux # dep xvid
media-libs/xvid-1.1.2:
    x86?            >=dev-lang/yasm-0.5.0    dev-lang/yasm-0.5.0
                    >=sys-apps/sed-4         sys-apps/sed-4.1.5
                    >=sys-devel/autoconf-2.59 sys-devel/autoconf-2.61
                    =sys-devel/automake-1.10* sys-devel/automake-1.10
                    sys-devel/libtool        sys-devel/libtool-1.5.23b

Comment 11 Nico R. Wohlgemuth 2007-02-28 00:23:32 UTC
wth? now yasm is a depencies of xvid, however xvid still fails to build
Comment 12 Weedy 2007-05-03 02:34:45 UTC
when yasm is compiled with -fforce-addr xvid fails.
hardened last i checked has -fforce-addr in the profile, some flag-o-matic is needed i think.