Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202367 - media-libs/xvid-1.1.3 does not compile with yasm installed
Summary: media-libs/xvid-1.1.3 does not compile with yasm installed
Status: RESOLVED DUPLICATE of bug 182728
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 09:55 UTC by Felix Tiede
Modified: 2007-12-15 09:59 UTC (History)
0 users

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 Felix Tiede 2007-12-15 09:55:14 UTC
Trying to compile media-libs/xvid-1.1.3 with all stable versions of yasm installed always fails at this point:

  A: bitstream/x86_asm/cbp_3dne.asm
make: *** [bitstream/x86_asm/cbp_3dne.o] Aborted
make: *** Waiting for unfinished jobs....

Console additionally shows this output:
*** glibc detected *** yasm: free(): invalid pointer: 0x40167150 ***
======= Backtrace: =========
/lib/libc.so.6[0x4009fa00]
/lib/libc.so.6(cfree+0x89)[0x400a16f9]
yasm[0x806684c]
======= Memory map: ========
08048000-080b0000 r-xp 00000000 03:02 653274     /usr/bin/yasm
080b0000-080b1000 r--p 00067000 03:02 653274     /usr/bin/yasm
080b1000-080b3000 rw-p 00068000 03:02 653274     /usr/bin/yasm
080b3000-08176000 rw-p 080b3000 00:00 0          [heap]
40000000-4001a000 r-xp 00000000 03:02 328256     /lib/ld-2.6.1.so
4001a000-4001b000 r--p 00019000 03:02 328256     /lib/ld-2.6.1.so
4001b000-4001c000 rw-p 0001a000 03:02 328256     /lib/ld-2.6.1.so
4001c000-4001d000 r-xp 4001c000 00:00 0          [vdso]
4001d000-4001e000 rw-p 4001d000 00:00 0
4001e000-40024000 r-xp 00000000 03:02 3116       /usr/lib/libsandbox.so.0.0.0
40024000-40025000 r--p 00005000 03:02 3116       /usr/lib/libsandbox.so.0.0.0
40025000-40026000 rw-p 00006000 03:02 3116       /usr/lib/libsandbox.so.0.0.0
40026000-40028000 rw-p 40026000 00:00 0
4003a000-40164000 r-xp 00000000 03:02 328084     /lib/libc-2.6.1.so
40164000-40166000 r--p 0012a000 03:02 328084     /lib/libc-2.6.1.so
40166000-40167000 rw-p 0012c000 03:02 328084     /lib/libc-2.6.1.so
40167000-4016a000 rw-p 40167000 00:00 0
4016a000-4016c000 r-xp 00000000 03:02 328236     /lib/libdl-2.6.1.so
4016c000-4016d000 r--p 00001000 03:02 328236     /lib/libdl-2.6.1.so
4016d000-4016e000 rw-p 00002000 03:02 328236     /lib/libdl-2.6.1.so
4016e000-4016f000 rw-p 4016e000 00:00 0
4016f000-40178000 r-xp 00000000 03:02 316367     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40178000-40179000 r--p 00009000 03:02 316367     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40179000-4017a000 rw-p 0000a000 03:02 316367     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
40200000-40221000 rw-p 40200000 00:00 0
40221000-40300000 ---p 40221000 00:00 0
bfb08000-bfb20000 rw-p bffe8000 00:00 0          [stack]

Removing yasm via emerge -C and merging xvid with --nodeps works for me. xvid then uses nasm.
This is a fresh x86 system.

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Timestamp of tree: Sat, 15 Dec 2007 06:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr -ftracer"
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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/var/tmp/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d aac aalib acl alsa bitmap-fonts bluetooth bzip2 cairo cli cracklib crypt cups dbus dga dri encode fbcon ffmpeg flac gif gnutls gpm hal htmlhandbook iconv imlib ipv6 isdnlog jpeg kde lcms mad midi mikmod mmx mng mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre png pppd qt3 quicktime readline real reflection sdl session spell spl sse sse2 ssl svg svga tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vim-syntax vorbis x86 xcomposite xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-15 09:59:31 UTC

*** This bug has been marked as a duplicate of bug 182728 ***