Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70482 - mm 1.3.0 Unable to determine maximum shared memory segment size
Summary: mm 1.3.0 Unable to determine maximum shared memory segment size
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 10:44 UTC by Hans-Christian Armingeon
Modified: 2005-03-27 13:45 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 Hans-Christian Armingeon 2004-11-08 10:44:03 UTC
Shared Memory Implementation:
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for MAP_ANON in sys/mman.h... yes
checking for mmap... yes
checking for munmap... yes
checking for shm_open... no
checking for shm_unlink... no
checking for /dev/zero... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for kernel/OS.h... (cached) no
checking for create_area... no
decision on shared memory allocation method... SysV IPC shmget()
checking for shared memory maximum segment size... configure: error: Unable to determine maximum shared memory segment size

!!! ERROR: dev-libs/mm-1.3.0 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


I am compiling in a linux32 chroot on a amd64 machine.

Johnny

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041021-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-m32 -O3 -march=athlon-4 -mcpu=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-m32 -O3 -march=athlon-4 -mcpu=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X X509 Xaw3d aac aalib accessibility accounting acl acpi activefilter adns afs aim alsa apache2 apm arts asterisk async atm audiofile authdaemond avi bcmath berkdb bidi bitmap-fonts blender-game bluetooth bmp bonobo bootsplash boundchecking bzlib c++ calendar camaelon caps cddb cdparanoia cdr cgi chasen chroot clearpasswd codecs cpdflib crypt cscope ctype cups curl curlwrappers cyrus dbase dbm dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft drac dts dvd dvdr dvdread edl eds emacs encode esd ethereal evo exif f77 faad fam fastcgi fax fbcon fbdev fftw filepro flac flash flatfile flexresp flood fltk fluidsynth foomaticdb frascend freetds freetype frlargefiles frxp ftp gb gcj gd gd-external gdbm ggi gif gimpprint gmp gnokii gnome gnustep gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq icu idea imagemagic imagemagick imap imlib imlib2 immqt immqt-bc inetd inifile innodb insecure-drivers intl ipalias ipv6 irda jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kde kerberos koffice-plugin krb4 ladcca latex lcd lcms ldap leim lesstif libcaca libg++ libgda libsamplerate libwww live lm_sensors lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska mbox mbrola mcal mcve md5sum mecab memlimit mhash mikmod mime ming mmap mmx mmx2 modelock motif mozcalendar mozilla mozsvg mpeg mpeg4 mpi mppe-mppc msn multicall multilib multitarget mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf nethack network neural nis nls nntp nptl nptlonly oav objc odbc offensive oggvorbis opengl oscar oss pam pcap pcmcia pcntl pcre pcsc-lite pda pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds prelude procmail pvm python qt quicktime radius readline real rhino rrdtool rtc ruby samba sasl scanner sdl serial session sftplogging shaper shared sharedmem silc simplexml skey slang slp smartcard smime sndfile snmp snortsam soap sockets socks5 softquota soundtouch sox spamassassin speex spell spl sqlite sse ssl stats stencil-buffer subject-rewrite svg svga sysvipc szip tcltk tcpd tetex tga theora threads tidy tiff timidity tokenizer transcode transparent-proxy truetype unicode usb userlocales v4l v4l2 vda vdesktop vhosts vim-with-x virus-scan vpopmail wddx wifi wmf wxwindows x86 xanim xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz zlib"
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-03-27 08:40:27 UTC
This worked fine for me in my linux32 chroot.  Note, however, that I'm running stable x86 in general, whereas the poster is running ~x86.

Shared Memory Implementation:
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for MAP_ANON in sys/mman.h... yes
checking for mmap... yes
checking for munmap... yes
checking for shm_open... no
checking for shm_unlink... no
checking for /dev/zero... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for kernel/OS.h... (cached) no
checking for create_area... no
decision on shared memory allocation method... SysV IPC shmget()
checking for shared memory maximum segment size... 32MB


Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 14 2005, 18:30:11)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fprintf.net/gentoo-portage"
USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups emboss encode font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-03-27 13:45:32 UTC
Resolved as WORKSFORME