Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421841 - media-libs/xvid-1.3.2 ABI=x32 - ld: i386:x86-64 architecture of input file `bitstream/x86_asm/cbp_mmx.o' is incompatible with i386:x64-32 output
Summary: media-libs/xvid-1.3.2 ABI=x32 - ld: i386:x86-64 architecture of input file `b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2012-06-18 20:11 UTC by Xavier Miller (RETIRED)
Modified: 2024-08-19 01:18 UTC (History)
0 users

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


Attachments
build.log (build.log,17.38 KB, text/plain)
2012-06-18 20:12 UTC, Xavier Miller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2012-06-18 20:11:14 UTC
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `bitstream/x86_asm/cbp_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `bitstream/x86_asm/cbp_sse2.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `dct/x86_asm/fdct_mmx_ffmpeg.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `dct/x86_asm/fdct_mmx_skal.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `dct/x86_asm/fdct_sse2_skal.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `dct/x86_asm/idct_3dne.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `dct/x86_asm/idct_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `dct/x86_asm/idct_sse2_dmitry.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/colorspace_rgb_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/colorspace_yuv_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/colorspace_yuyv_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/interpolate8x8_3dn.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/interpolate8x8_3dne.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/interpolate8x8_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/interpolate8x8_xmm.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/postprocessing_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/postprocessing_sse2.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/reduced_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/qpel_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/gmc_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `image/x86_asm/deintl_sse.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `motion/x86_asm/sad_xmm.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `motion/x86_asm/sad_sse2.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `motion/x86_asm/sad_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `motion/x86_asm/sad_3dne.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `motion/x86_asm/sad_3dn.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `quant/x86_asm/quantize_h263_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `quant/x86_asm/quantize_h263_3dne.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `quant/x86_asm/quantize_mpeg_xmm.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `quant/x86_asm/quantize_mpeg_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `utils/x86_asm/mem_transfer_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `utils/x86_asm/mem_transfer_3dne.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `utils/x86_asm/interlacing_mmx.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `utils/x86_asm/cpuid.o' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-gentoo-linux-gnu/4.7.1/../../../../x86_64-gentoo-linux-gnu/bin/ld: i386:x86-64 architecture of input file `plugins/x86_asm/plugin_ssim-a.o' is incompatible with i386:x64-32 output
collect2: error: ld returned 1 exit status
make: *** [libxvidcore.so.4.3] Error 1
emake failed
 * ERROR: media-libs/xvid-1.3.2 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_compile
 *        environment, line 2302:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  573:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=media-libs/xvid-1.3.2'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/xvid-1.3.2'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/xvid-1.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/xvid-1.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/xvid-1.3.2/work/xvidcore/build/generic'
 * S: '/var/tmp/portage/media-libs/xvid-1.3.2/work/xvidcore/build/generic'


Reproducible: Always
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2012-06-18 20:11:48 UTC
emerge --info '=media-libs/xvid-1.3.2'
Portage 2.2.0_alpha110 (default/linux/amd64/10.0/x32, gcc-4.7.1, glibc-2.15-r2, 3.4.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.1
Timestamp of tree: Mon, 18 Jun 2012 20:00:01 +0000
distcc 3.1 x86_64-gentoo-linux-gnu [disabled]
app-shells/bash:          4.2_p29
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local pandaboard pd-overlay proaudio
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist"
CBUILD="x86_64-gentoo-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-gentoo-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j7"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/pandaboard /var/lib/layman/pd-overlay /var/lib/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl alsa amd64 amr apng branding btrfs bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus device-mapper dri dssi encode exif fat ffmpeg fftw flac fortran gif gpm gstreamer gt3 gtk gudev hwdb iconv id3tag jack jpeg ladspa lame libsamplerate lxde mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ntfs ogg opengl openmp osc pam pcre pdf png policykit pppd qt qt3support qt4 readline rubberband samba sdl session sqlite sse sse2 ssl svg tcpd threads tiff truetype udev unicode usb vorbis wmf x264 xcb xetex xorg xvid zlib" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-af9015" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2012-06-18 20:12:26 UTC
Created attachment 315709 [details]
build.log
Comment 3 SpanKY gentoo-dev 2012-09-11 06:57:12 UTC
i've disabled assembly usage in the ebuild for x32 builds.  this way we can at least build & run it while things get sorted out.

http://sources.gentoo.org/media-libs/xvid/xvid-1.3.2.ebuild?r1=1.8&r2=1.9
Comment 4 Larry the Git Cow gentoo-dev 2024-08-19 01:17:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6772974ec4b3250f18dfaf2c142c8d439335e4a3

commit 6772974ec4b3250f18dfaf2c142c8d439335e4a3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-19 01:16:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-19 01:17:19 +0000

    media-libs/xvid: disable assembly
    
    There's a handful of very old asm impls in here for mmx+sse2 but they're
    non-PIC and unlikely to be worth it these days.
    
    Bug: https://bugs.gentoo.org/421841
    Bug: https://bugs.gentoo.org/831044
    Bug: https://bugs.gentoo.org/858431
    Closes: https://bugs.gentoo.org/258804
    Closes: https://bugs.gentoo.org/926543
    Closes: https://bugs.gentoo.org/937019
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/xvid/xvid-1.3.7-r2.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)