Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564024 - x11-libs/pixman-0.33.4 - configure: error: x86 MMX intrinsics not detected
Summary: x11-libs/pixman-0.33.4 - configure: error: x86 MMX intrinsics not detected
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Matt Turner
Depends on:
Reported: 2015-10-25 07:40 UTC by stream009
Modified: 2015-12-22 18:08 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description stream009 2015-10-25 07:40:14 UTC
emerge fails during configuration phase.
Error message says 'x86 MMX intrinsics not detected'
According to google search, same error had happened in the past
and reason is lack of optimization flag in CFLAGS and CXXFLAGS.
But I have -O2 specified in those flags and I can build previous 
version (0.33.2) without a problem.

Reproducible: Always

Steps to Reproduce:
1.sudo emerge =x11-libs/pixman-0.33.4
Actual Results:  
 * Package:    x11-libs/pixman-0.33.4
 * Repository: gentoo
 * Maintainer:
 * USE:        abi_x86_32 cpu_flags_x86_mmxext cpu_flags_x86_sse2 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pixman-0.33.4.tar.bz2 to /var/tmp/portage/x11-libs/pixman-0.33.4/work
>>> Source unpacked in /var/tmp/portage/x11-libs/pixman-0.33.4/work
>>> Preparing source in /var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4 ...
 * Running elibtoolize in: pixman-0.33.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4-abi_x86_32.x86"
 * econf: updating pixman-0.33.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pixman-0.33.4/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib --docdir=/usr/share/doc/pixman-0.33.4 --enable-shared --disable-static --enable-mmx --enable-sse2 --disable-ssse3 --disable-vmx --disable-arm-neon --disable-arm-iwmmxt --disable-loongson-mmi --disable-gtk --disable-libpng
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether i686-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... none
checking dependency style of i686-pc-linux-gnu-gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/i686-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for getisax... no
checking whether byte ordering is bigendian... no
checking for inline... inline
checking whether the compiler supports -Werror... yes
checking size of long... 4
checking whether __SUNPRO_C is declared... no
checking whether __amd64 is declared... no
checking whether the compiler supports -Wall... yes
checking whether the compiler supports -Wdeclaration-after-statement... yes
checking whether the compiler supports -Wno-unused-local-typedefs... yes
checking whether the compiler supports -fno-strict-aliasing... yes
checking for i686-pc-linux-gnu-gcc option to support OpenMP... unsupported
checking whether the compiler supports -fvisibility=hidden... yes
checking whether the compiler supports -xldscope=hidden... no
checking whether to use Loongson MMI assembler... disabled
checking whether to use MMX intrinsics... no
configure: error: x86 MMX intrinsics not detected

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4-abi_x86_32.x86/config.log
 * ERROR: x11-libs/pixman-0.33.4::gentoo failed (configure phase):
 *   econf failed
 * Call stack:
 *     , line   90:  Called src_configure
 *             environment, line 3630:  Called xorg-2_src_configure
 *             environment, line 4436:  Called autotools-multilib_src_configure
 *             environment, line  704:  Called multilib-minimal_src_configure
 *             environment, line 2818:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 3025:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2749:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 2747:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  583:  Called multilib-minimal_abi_src_configure
 *             environment, line 2812:  Called multilib_src_configure
 *             environment, line 3242:  Called autotools-utils_src_configure
 *             environment, line  745:  Called econf '--docdir=/usr/share/doc/pixman-0.33.4' '--enable-shared' '--disable-static' '--enable-mmx' '--enable-sse2' '--disable-ssse3' '--disable-vmx' '--disable-arm-neon' '--disable-arm-iwmmxt' '--disable-loongson-mmi' '--disable-gtk' '--disable-libpng'
 *, line  662:  Called __helpers_die 'econf failed'
 *, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * If you need support, post the output of `emerge --info '=x11-libs/pixman-0.33.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/pixman-0.33.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/pixman-0.33.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/pixman-0.33.4/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4-abi_x86_32.x86'
 * S: '/var/tmp/portage/x11-libs/pixman-0.33.4/work/pixman-0.33.4'

Portage 2.2.23 (python 3.4.3-final-0, default/linux/x86/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.2.3-gentoo i686)
                         System Settings
System uname: Linux-4.2.3-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.00GHz-with-gentoo-2.2
KiB Mem:     1029436 total,     22184 free
KiB Swap:    2095100 total,   1978104 free
Timestamp of repository gentoo: Sun, 25 Oct 2015 06:15:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /var/lib/layman/stream
    masters: gentoo
    priority: 50

Installed sets: @qt5-addons, @qt5-essentials
CFLAGS="-O2 -march=i686 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
EMERGE_DEFAULT_OPTS="--nospinner --quiet-build"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa berkdb bindist branding bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gconf gdbm gif git glamor gpm gtk iconv inotify jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl pam pango pch pcre pdf png policykit ppds python qt3support qt4 qt5 readline samba sdl seccomp session spell ssl startup-notification svg taglib tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
Comment 1 Matt Turner gentoo-dev 2015-10-25 20:14:38 UTC
Thanks. I can reproduce.

I need to find a solution upstream.
Comment 2 Matt Turner gentoo-dev 2015-11-18 22:22:31 UTC
I've reverted the commit upstream. The next release of pixman will have it.
Comment 3 Matt Turner gentoo-dev 2015-12-22 18:08:48 UTC
This is fixed with 0.33.6.