checking for long double... yes checking size of long double... configure: error: cannot compute sizeof (long double), 77 See `config.log' for more details. !!! ERROR: sys-libs/glibc-2.4-r1 failed. from: /var/tmp/portage/glibc-2.4-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/config.log configure:7165: checking size of long double configure:7484: x86_64-pc-linux-gnu-gcc -o conftest -march=opteron -pipe -O2 -Wl,-z,now conftest.c >&5 configure:7487: $? = 0 configure:7489: ./conftest /var/tmp/portage/glibc-2.4-r1/work/glibc-2.4/configure: line 7490: ./conftest: No such file or directory configure:7492: $? = 127 configure: program exited with status 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "c-library" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "glibc" | #define ENABLE_STACKGUARD_RANDOMIZE 1 | #define HAVE_LIBIDN 1 | #define USE_REGPARMS 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define ASM_GLOBAL_DIRECTIVE .globl | #define HAVE_ASM_SET_DIRECTIVE 1 | #define ASM_TYPE_DIRECTIVE_PREFIX @ | #define DO_VERSIONING 1 | #define HAVE_ASM_PREVIOUS_DIRECTIVE 1 | #define HAVE_PROTECTED 1 | #define HAVE_HIDDEN 1 | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define HAVE_Z_RELRO 1 | #define HAVE_Z_COMBRELOC 1 | #define NO_UNDERSCORES 1 | #define HAVE_ASM_WEAK_DIRECTIVE 1 | #define HAVE_ASM_CFI_DIRECTIVES 1 | #define HAVE_BUILTIN_EXPECT 1 | #define HAVE_BUILTIN_REDIRECTION 1 | #define HAVE___THREAD 1 | #define HAVE_TLS_MODEL_ATTRIBUTE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #if HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #if STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # if HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | long longval () { return (long) (sizeof (long double)); } | unsigned long ulongval () { return (long) (sizeof (long double)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | exit (1); | if (((long) (sizeof (long double))) < 0) | { | long i = longval (); | if (i != ((long) (sizeof (long double)))) | exit (1); | fprintf (f, "%ld\n", i); | } | else | { | unsigned long i = ulongval (); | if (i != ((long) (sizeof (long double)))) | exit (1); | fprintf (f, "%lu\n", i); | } | exit (ferror (f) || fclose (f) != 0); | | ; | return 0; | } configure:7502: error: cannot compute sizeof (long double), 77 See `config.log' for more details. Scott ~ # emerge --info Portage 2.1_pre7-r4 (default-linux/amd64/2006.0, gcc-3.4.4-vanilla, glibc-2.3.6-r2,glibc-2.4-r0, 2.6.16-rc4 x86_64) ================================================================= System uname: 2.6.16-rc4 x86_64 AMD Opteron(tm) Processor 148 Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.9.6-r2 sys-devel/binutils: 2.16-r1, 2.16.1-r1, 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="no" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -Os -pipe -fomit-frame-pointer -frename-registers -funit-at-a-time -fweb -freorder-blocks-and-partition -fmerge-all-constants" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -Os -pipe -fomit-frame-pointer -frename-registers -funit-at-a-time -fweb -freorder-blocks-and-partition -fmerge-all-constants" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg candy ccache confcache distlocks keeptemp keepwork metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-z,now" 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="amd64 16bit 64bit GAPING_SECURITY_HOLE X X509 a52 aac aalib acl acpi acpi4linux activefilter aim aimextras aio akode allegro alsa amarok amd amr amrr ao aotuv apache2 arts artswrappersuid artworkextra asf asterisk async atm audacious auth authfile automount avantgo avi background bash-completion bashlogger bgpclassless bigpatch bittorrent bl bluetooth bonjour bonobo bootsplash boundschecking buttons bzip2 bzlib c++ cairo calendar canvas cap capi caps carbone_theme cdda cddb cdio cdparanoia cdrom cg cgi checkpath chipcard chm chroot clearcase cli codecs config_wizard cpudetection cpulimit cracklib crypt css csv ctype cups curlwrappers custom-cflags customlog cvsgraph daap dar32 dar64 dba dbox2 dbus dbx dcc debugger dga dhcp dio discard-path disk-cache diskio distcache divx4linux djbfft dlloader dmalloc dnd dpms dri dv dvb dvd dvdr dvdread dxr3 dynagraph dynamic eap-tls ecc edl effects elf emboss emoticon emul-linux-x86 encode enscript epiphany epson erandom escreen ethereal evo evo2 evolution expat exscalibar extensions extrafilters extraicons extramodules extras faac faad fame fastbuild fat fax festival fftw figlet fits fix-connected-rt flash flatfile flexresp flood fltk fluidsynth fmod follow-xff font-server fontconfig foomaticdb force-cgi-redirect fping fpx freetts freetype frontendonly ftp ftruncate galago gb gd gdb geometry geos gif gimp gimpprint gitsendemail glade glgd glibc-compat20 glibc-omitfp glitz glx gmail gmailtimestamps gnokii gnome gnome-print gnomecanvas gnomedb gnuplot gnutls gpm gps grammar graphicsmagick graphviz grass gs gsl gsm gssapi gstreamer gtk gtk2 gtkspell gzip h323 hardened hbci hddtemp hdf hdf5 hesiod hfs high-ints hostap hpn html http httpd ibam icecast icp icq id3 ide idea idled ieee1394 iksemel imagemagick imap imlib imlib2 inkjar inline inode input_devices_acecad input_devices_aiptek input_devices_calcomp input_devices_citron input_devices_digitaledge input_devices_dmc input_devices_dynapro input_devices_elo2300 input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_jamstudio input_devices_joystick input_devices_keyboard input_devices_magellan input_devices_magictouch input_devices_microtouch input_devices_mouse input_devices_mutouch input_devices_palmax input_devices_penmount input_devices_spaceorb input_devices_summa input_devices_synaptics input_devices_tek4957 input_devices_ur98 input_devices_vmmouse input_devices_void input_devices_wacom insecure-drivers insecure-patches insecure-savers iproute2 ipv6 irda irmc isdnlog j2ee jabber jasper javacomm javamail javascript jbig john jp2 jpeg jpeg2k jumpplay kadu-modules kadu-voice kcal kde kdeenablefinal kdepim kdgraphics kerberos kexi keyscrub kipi koffice-plugin lame ldap ldapsam libcaca libclamav libdsk libg++ libgd libgda libsamplerate libvisual lids linuxkeys linuxthreads-tls live lm_sensors logitech-mouse logrotate ltsp lzo lzw lzw-tiff madwifi mbox mbrola mcve md5sum mem-cache memlimit menubar messages mew mfd-rewrites mgetty mime mimencode mixer mjpeg mmap modplug moneyplex monkey mounts-check mozcalendar mozdevelop mozilla moznoirc mozp3p mozsha1 mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mpi mplayer mpm-prefork mschap msdav msn mudflap multicall multipath multislot musepack musicbrainz mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netcdf netclient netpbm netserver network new-login nforce2 ngui nntp no-old-linux nodrm normalizemime nptl nptlonly nsplugin nspr ntfs ntlm nvidia nviz nvram oav objc objc++ objc-gc offensive ofx ogg oggvorbis on-the-fly-crypt openal openexr opengl openssl operanom2 ortp osc oscar ospfapi overload pam pam_chroot pam_console pam_timestamp pango parse-clocks patch patented pcap pcapnav pci pcntl pcre pda pdf pdflib pear perl pg-hier pg-vacuumdelay pic pie player plib plugin plx pmu png pnp portaudio posix postfix povray ppds pppd prelude print priority pthreads python qt quicktime quotas quotes radiotap rar rc5 rcu rdesktop readline realms reiser4 reiserfs remote rpm rrdtool rss rtc samba sametime sasl scp screen sdl sendfile sensord serial server session setup-plugin sftp sftplogging sguil shape shaper shared sharedext sharedmem shorten shout silc simplexml skey skins slp smartcard smime smp sms smtp smux sndfile snortsam soap sockets socks5 softfax soundtouch sourcecaps sox spamassassin speech speex spell spf spl spreadsheet sql ssl stats stlport stream subp subtitles subversion suid svgz svn-mirror swat symlink sysfs syslog sysvipc szip t1lib tabs tcpd tcpmd5 tcsim tga theora thesaurus thumbnail tidy tiff timidity tokenizer tomsfastmath tos transcode transparent-proxy truetype truetype-fonts ttcp type1 type1-fonts underscores ups usb userfiles uudeview v4l v4l2 vcd vcdimager vdr verbose vfat vhosts video_cards_nv video_cards_nvidia video_cards_v4l visualization vlm vmdb vmdbpostgres vnc voice vorbis watchdog wddx webdav wifi winbind wma wma123 wordexp wordperfect wv wxwindows x11vnc x264 xanim xchat xchatdccserver xcomposite xface xgetdefault xinerama xml xml2 xmldoclet xmlreader xmlrpc xosd xpm xprint xrandr xscreensaver xsl xslt xtended xv xvmc yaepg yahoo yiff yv12 zero-penalty-hit zeroconf zip zlib zvbi elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS
> /var/tmp/portage/glibc-2.4-r1/work/glibc-2.4/configure: line 7490: ./conftest: > No such file or directory doesn't look amd64-specific
sure it is the conftest is a 32bit file and if it says "No such file or directory", chances are good multilib is screwed on your box
*** Bug 130361 has been marked as a duplicate of this bug. ***
I was unable to emerge glibc-2.3.5-r2, glibc-2.3.5-r3 and glibc-2.3.6-r3. Error message was: configure:7465: error: cannot compute sizeof (long double), 77 My bug report (Bug 130361) has been marked as a duplicate of this bug. I was able to solve this bug (for me) by enabling IA32_Emulation (CONFIG_IA32_EMULATION=y) in my kernel configuration. Indeed IA32_Emulation seems to be the default for current Gentoo-AMD64. I think I switched it off when compiling a fresh kernel. Compiling other software was working well, but I found a remark that compiling gcc fails with the same error message if IA32_Emulation is not enabled. After compiling the current kernel kernel-x86_64-2.6.16-gentoo-r6 with enabled IA32_Emulation, after rebooting emerging of glibc-2.3.6-r3 was successful and my AMD64-box works well. I hope we can close this bug report now. Best regards Stefan Salewski
Well, now I'm getting it on AMD64 when compiling motion. I saw some stuff about config.guess guessing wrong in a thread here: http://sourceware.org/ml/crossgcc/2006-01/msg00182.html uname -a on my system gives: Linux optimator 2.6.16-gentoo-r7 #2 SMP PREEMPT Sat May 27 23:53:08 EDT 2006 x86_64 Dual Core AMD Opteron(tm) Processor 275 GNU/Linux Finally, Here is config.log from the error: checking for linux/videodev.h... yes checking for memmem... no checking for short int... yes checking size of short int... configure: error: cannot compute sizeof (short int), 77 See `config.log' for more details. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/motion-3.1.19/work/motion-3.1.19/config.log
Created attachment 87742 [details] config.log checking size of short int... configure: error: cannot compute sizeof (short int), 77 See `config.log' for more details.
I also made sure the stuff in Comment 5 was correct in the kernel config. GLIBC on my system is: sys-libs/glibc-2.3.6-r3 [ebuild R ] sys-libs/glibc-2.3.6-r3 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) +userlocales 0 kB
Yeah, the original issue is probably lack of 32bit support in kernel. Jacob, please open a separate bug for motion as that is unrelated mostly due to a missing dependency.
CONFIG_IA32_EMULATION=y Been there since day one over a year ago.
Ok, made a new Bug 134931