Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324697 - sys-cluster/openmpi-1.4.1: configure error: ac_nonexistent.h: No such file or directory
Summary: sys-cluster/openmpi-1.4.1: configure error: ac_nonexistent.h: No such file or...
Status: RESOLVED DUPLICATE of bug 387161
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Justin Bronder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-19 14:02 UTC by Michael Weber (RETIRED)
Modified: 2016-09-08 20:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,9.57 KB, text/plain)
2010-06-19 14:04 UTC, Michael Weber (RETIRED)
Details
environment (environment,127.25 KB, text/plain)
2010-06-19 14:04 UTC, Michael Weber (RETIRED)
Details
config.log (config.log,169.46 KB, text/plain)
2010-06-19 14:06 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2010-06-19 14:02:54 UTC
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.11.2-r0, 2.6.34-gentoo-r1-io.0 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-io.0-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 19 Jun 2010 12:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mfpmath=sse -mieee-fp -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mfpmath=sse -mieee-fp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en en_US en_GB"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/science /var/lib/layman/gnome /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/xmw"
SYNC="rsync://rsync9.de.gentoo.org/gentoo-portage/"
USE="X a52 aac aalib acl acpi alsa amd64 ao bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dga djvu dri dts dv dvb dvd dvdr dvdread encode exif faac faad fbcon ffmpeg fftw flac fontconfig fortran gdbm gif gimp glut gnome gnome-keyring gnutls gphoto2 gpm gs gstreamer gtk iconv id3tag imagemagick introspection ipod ipv6 java java6 jbig joystick jpeg jpeg2k lame latex lcms libnotify libsamplerate lm_sensors lzma lzo mad mikmod mmap mmx mng modules mp3 mpeg mpi mplayer mudflap multilib nas nautilus ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pch pcmcia pcre pdf perl png policykit pppd python qt4 quicktime raw readline reflection rle samba sdl session smp speex spell spl sqlite sse sse2 ssl subversion svg symlink sysfs syslog taglib tcl tcpd theora threads tiff tk truetype unicode upnp usb vim-syntax vorbis wavpack webkit x264 xcb xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel-hda" 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 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_US en_GB" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-19 14:04:39 UTC
Created attachment 235943 [details]
build.log
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-06-19 14:04:50 UTC
Created attachment 235945 [details]
environment
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-19 14:06:01 UTC
Created attachment 235949 [details]
config.log

see line 233
Comment 4 Justin Bronder (RETIRED) gentoo-dev 2010-06-19 16:48:55 UTC
Would you mind trying again with saner CFLAGS?


configure:17302: checking alignment of char
configure:17702: x86_64-pc-linux-gnu-gcc -o conftest -DNDEBUG -march=core2 -mcx16 -msahf --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=4096 -mtune=core2 -mfpmath=sse -mieee-fp -O2 -pipe -finline-functions -fno-strict-aliasing  -Wl,-O1 conftest.c  >&5
x86_64-pc-linux-gnu-gcc: l1-cache-line-size=64: No such file or directory
x86_64-pc-linux-gnu-gcc: l2-cache-size=4096: No such file or directory


Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-06-19 21:19:57 UTC
No, of course not. 
FEATURES="keeptemp keepwork" CFLAGS="" CXXFLAGS="" emerge -av1 openmpi
works fine. Which CFLAG do you call insane? It's the output of gcc -march=native plus CFLAGS="${CFLAGS} -mfpmath=sse -mieee-fp -O2 -pipe"

I try to trace this down. 
Comment 6 Justin Bronder (RETIRED) gentoo-dev 2010-06-20 01:55:31 UTC
I only said saner :)

But I'm assuming that "--param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096" are causing you the trouble given the output of config.log.
Comment 7 Arne Babenhauserheide 2010-12-08 21:17:22 UTC
I can confirm that removing those --param from the CFLAGS makes OpenMPI build again :)

This was in my CFLAGS: "--param l1-cache-size=64 --param l1-cache-line-size=64
--param l2-cache-size=512"

OpenMPI didn’t build. Now it does :)

Google brought me here… (should have directly checked b.g.o…).
Comment 8 Arne Babenhauserheide 2010-12-08 23:05:21 UTC
Glad to! Thank *you* for taking the time to write the fix! You got my OpenMPI building again!
Comment 9 Justin Bronder (RETIRED) gentoo-dev 2016-09-08 20:43:08 UTC

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