Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pixman-0.26 fails on configure. [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 380

PostPosted: Fri Jun 29, 2012 9:57 pm    Post subject: pixman-0.26 fails on configure. [Solved] Reply with quote

During my month portage update, I got this:
Code:
checking whether the compiler supports -fvisibility=hidden... yes
checking whether the compiler supports -xldscope=hidden... no
checking whether to use Loongson MMI assembler... no
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.26.0/work/pixman-0.26.0_build/config.log
 * ERROR: x11-libs/pixman-0.26.0 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   85:  Called src_configure
 *        environment, line 3504:  Called xorg-2_src_configure
 *        environment, line 4362:  Called autotools-utils_src_configure
 *        environment, line  693:  Called econf '--docdir=/usr/share/doc/pixman-0.26.0' '--enable-shared' '--disable-static' '--disable-dependency-tracking' '--enable-mmx' '--enable-sse2' '--disable-vmx' '--disable-arm-neon' '--disable-arm-iwmmxt' '--disable-gtk'
 *   phase-helpers.sh, line  467:  Called die
 * The specific snippet of code:
 *                      die "econf failed"

I'm not sure I even need pixman since this is a server that never runs X, but just it seems I need it if I want "gobject-introspection" which seems important, but maybe I don't need that either.

emerge --info
Code:
Portage 2.1.10.65 (hardened/linux/amd64, gcc-4.5.3, glibc-2.14.1-r3, 3.4.2-hardened x86_64)
=================================================================
System uname: Linux-3.4.2-hardened-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5270_@_1.40GHz-with-gentoo-2.1
Timestamp of tree: Fri, 29 Jun 2012 21:15:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo robbins_local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O0 -pipe -march=native -ggdb"
CHOST="x86_64-pc-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="-O0 -pipe -march=native -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.the-best-hosting.net http://mirrors.rit.edu/gentoo/ ftp://mirror.datapipe.net/gentoo ftp://ftp.lug.udel.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/var/local-portage"
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli consolekit cracklib crypt cxx dri gdbm gpm hardened iconv ipv6 justify mmx modules mudflap multilib ncurses nls nptl openmp pam pax_kernel pcre pic policykit pppd python readline session sse sse2 ssl tcpd unicode urandom xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by Nicias on Fri Jun 29, 2012 10:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8927

PostPosted: Fri Jun 29, 2012 10:35 pm    Post subject: Re: pixman-0.26 fails on configure. Reply with quote

Nicias wrote:
Code:
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.26.0/work/pixman-0.26.0_build/config.log
We need to see why the test failed.

Your CFLAGS are unusual. Why do you build the entire system without optimization? Disabling optimizations also disables flow analysis required for some security features.
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 380

PostPosted: Fri Jun 29, 2012 10:52 pm    Post subject: Reply with quote

Thanks for catching that. I had "-O0" for debugging something earlier. I have removed it. That fixed it. Thanks.
Back to top
View user's profile Send private message
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Sat Jun 30, 2012 10:58 am    Post subject: Reply with quote

I got the same error while configuring pixman. Tough I dont got "-O0" in my make.conf:

Code:

Portage 2.1.10.65 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.4.3-gentoo x86_64)
=================================================================
System uname: Linux-3.4.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-3550_CPU_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Thu, 28 Jun 2012 13:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1, 1.12.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://91.121.125.139/gentoo-distfiles/ ftp://91.121.124.139/gentoo-distfiles/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/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=""
SYNC="rsync://ftp-stud.hs-esslingen.de/gentoo-portage"
USE="16bit 32bit X a52 aac aalib acl acpi aiglx alsa amd64 apache2 apm applet ares artworkextra audiofile avahi avi berkdb bigger-fonts bitmap-fonts boost branding bzip2 cairo ccache cdda cddb cdparanoia cdr cdrom cleartype cli colord consolekit corefonts cracklib crypt css ctype curl cxx dba dbus device-mapper dhcp dri dts dvb dvd dvdr dvdread edb eds emboss emerald encode ethereal exif expat fame fastbuild fbcon firefox flac force-cgi-redirect fortran ftp gd gdbm gif glitz glut glx gmp gnome gnome-keyring gnome-screensaver gnome-shell gnutls gpg gpm gstreamer gtk gtk2 gtk3 gtkhtml gzip hal hddtemp i18n iconv idn ieee1394 imlib injection introspection ipv6 jabber jit jpeg jpeg2k json latex latex3 latexmk lcms ldap libg++ libnotify libwww lm_sensors logitech-mouse loop-aes lzma mad md5sum mdnsresponder-compat memlimit menubar mikmod mjpeg mmx mmxext mng modules mouse mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses nforce2 nls nptl nsplugin nss nvidia nvram ogg oggvorbis opencv opengl openmp openssl otr pam pango pcre pdf pdflib perl plugins pmu png policykit posix ppds pppd pulseaudio purple python qt3 qt3support qt4 quicktime readline sdl session simplexml slang smp sndfile soap sockets sox speedo spell spl sqlite sqlite3 sse sse-filters sse2 ssh ssh1 ssl startup-notification suid svg symlink syslog tcltk tcpd theora threads tiff timidity tokenizer transcode truetype truetype-fonts type1 type1-fonts udev udisks unicode upower usb utf8 v4l v4l2 vcd vcdimager videos vorbis webgl webkit webm wma wma123 wxwidgets wxwindows x264 xcb xcd xcomposite xine xinerama xkb xml xml2 xorg xpm xscreensaver xsl xulrunner xv xvid zip zlib" ALSA_CARDS="hda-intel" 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 autoindex cache 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 usertrack vhost_alias authz_default authz_host authz_owner authz_user" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8927

PostPosted: Sat Jun 30, 2012 5:20 pm    Post subject: Reply with quote

vlynd wrote:
I got the same error while configuring pixman. Tough I dont got "-O0" in my make.conf:
Code:
CFLAGS="-march=native"
CXXFLAGS="-march=native"
If you do not specify otherwise, gcc will default to -O0. Since you failed to specify any optimization level, you are implicitly building with -O0.
Back to top
View user's profile Send private message
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Sun Jul 01, 2012 11:33 am    Post subject: Reply with quote

Hm, okay. So I changed my CFLAGS and CXXFLAGS to:
Code:
-march=native -O3


but I'm getting the same error.
Back to top
View user's profile Send private message
vlynd
n00b
n00b


Joined: 23 Jan 2012
Posts: 42

PostPosted: Mon Jul 02, 2012 6:20 pm    Post subject: Reply with quote

Okay, fixed it with:

Code:

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CXXFLAGS="${CFLAGS}"


Dont forget
Code:
source /etc/make.conf
;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum