Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

trying to compile glibc-2.11

53 views
Skip to first unread message

Neil Morris

unread,
Dec 7, 2009, 6:31:38 PM12/7/09
to
i have tried to compile glibc-2.11 abd got the error that my system is
not supported! the name reported is i686-nt-cygwin and the following
'config.txt' file is as follows

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by GNU C Library configure (see version.h), which was
> generated by GNU Autoconf 2.63. Invocation command line was
>
> $ ./glibc-2.11/configure
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = neil-PC
> uname -m = i686
> uname -r = 1.5.25(0.156/4/2)
> uname -s = CYGWIN_NT-6.0
> uname -v = 2008-06-12 19:34
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = i686
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
>
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/X11R6/bin
> PATH: /cygdrive/c/Windows/system32
> PATH: /cygdrive/c/Windows
> PATH: /cygdrive/c/Windows/System32/Wbem
> PATH: /usr/bin
> PATH: /cygdrive/c/Parrot-1.6.0/bin
> PATH: /cygdrive/c/Program Files/QuickTime/QTSystem/
> PATH: /cygdrive/c/Program Files/Common Files/Ahead/Lib/
> PATH: /cygdrive/c/Program Files/Common Files/Ahead/Lib/
> PATH: /usr/lib/lapack
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2028: checking build system type
> configure:2046: result: i686-pc-cygwin
> configure:2068: checking host system type
> configure:2083: result: i686-pc-cygwin
> configure:2154: checking for gcc
> configure:2170: found /usr/bin/gcc
> configure:2181: result: gcc
> configure:2413: checking for C compiler version
> configure:2421: gcc --version >&5
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> configure:2425: $? = 0
> configure:2432: gcc -v >&5
> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
> Thread model: posix
> gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> configure:2436: $? = 0
> configure:2443: gcc -V >&5
> gcc: `-V' option must have argument
> configure:2447: $? = 1
> configure:2451: checking for suffix of object files
> configure:2477: gcc -c conftest.c >&5
> configure:2481: $? = 0
> configure:2506: result: o
> configure:2510: checking whether we are using the GNU C compiler
> configure:2539: gcc -c conftest.c >&5
> configure:2546: $? = 0
> configure:2563: result: yes
> configure:2572: checking whether gcc accepts -g
> configure:2602: gcc -c -g conftest.c >&5
> configure:2609: $? = 0
> configure:2710: result: yes
> configure:2727: checking for gcc option to accept ISO C89
> configure:2801: gcc -c -g -O2 conftest.c >&5
> configure:2808: $? = 0
> configure:2831: result: none needed
> configure:2899: checking how to run the C preprocessor
> configure:2939: gcc -E conftest.c
> In file included from /usr/local/include/features.h:371,
> from /usr/local/include/limits.h:27,
> from conftest.c:9:
> /usr/local/include/gnu/stubs.h:4:27: bits/wordsize.h: No such file or directory
> /usr/local/include/gnu/stubs.h:11:3: #error "unexpected value for __WORDSIZE macro"
> In file included from conftest.c:9:
> /usr/local/include/limits.h:145:30: bits/posix1_lim.h: No such file or directory
> /usr/local/include/limits.h:149:30: bits/posix2_lim.h: No such file or directory
> configure:2946: $? = 1
> 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"
> | /* end confdefs.h. */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | Syntax error
> configure:2939: gcc -E conftest.c
> In file included from /usr/local/include/features.h:371,
> from /usr/local/include/limits.h:27,
> from conftest.c:9:
> /usr/local/include/gnu/stubs.h:4:27: bits/wordsize.h: No such file or directory
> /usr/local/include/gnu/stubs.h:11:3: #error "unexpected value for __WORDSIZE macro"
> In file included from conftest.c:9:
> /usr/local/include/limits.h:145:30: bits/posix1_lim.h: No such file or directory
> /usr/local/include/limits.h:149:30: bits/posix2_lim.h: No such file or directory
> configure:2946: $? = 1
> 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"
> | /* end confdefs.h. */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | Syntax error
> configure:2939: gcc -E -traditional-cpp conftest.c
> configure:2946: $? = 0
> configure:2977: gcc -E -traditional-cpp conftest.c
> conftest.c:8: ac_nonexistent.h: No such file or directory
> configure:2984: $? = 1
> 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"
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:3017: result: gcc -E -traditional-cpp
> configure:3046: gcc -E -traditional-cpp conftest.c
> configure:3053: $? = 0
> configure:3084: gcc -E -traditional-cpp conftest.c
> conftest.c:8: ac_nonexistent.h: No such file or directory
> configure:3091: $? = 1
> 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"
> | /* end confdefs.h. */
> | #include <ac_nonexistent.h>
> configure:3189: checking for g++
> configure:3205: found /usr/bin/g++
> configure:3216: result: g++
> configure:3243: checking for C++ compiler version
> configure:3251: g++ --version >&5
> g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> configure:3255: $? = 0
> configure:3262: g++ -v >&5
> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
> Thread model: posix
> gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> configure:3266: $? = 0
> configure:3273: g++ -V >&5
> g++: `-V' option must have argument
> configure:3277: $? = 1
> configure:3280: checking whether we are using the GNU C++ compiler
> configure:3309: g++ -c conftest.cpp >&5
> configure:3316: $? = 0
> configure:3333: result: yes
> configure:3342: checking whether g++ accepts -g
> configure:3372: g++ -c -g conftest.cpp >&5
> configure:3379: $? = 0
> configure:3480: result: yes
> configure:4097: running configure fragment for add-on libidn
> configure:4097: running configure fragment for add-on nptl
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i686-pc-cygwin
> ac_cv_c_compiler_gnu=yes
> ac_cv_cxx_compiler_gnu=yes
> ac_cv_env_CCC_set=
> ac_cv_env_CCC_value=
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_host=i686-pc-cygwin
> ac_cv_objext=o
> ac_cv_prog_CPP='gcc -E -traditional-cpp'
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_ac_ct_CXX=g++
> ac_cv_prog_cc_c89=
> ac_cv_prog_cc_g=yes
> ac_cv_prog_cxx_g=yes
> libc_cv_nss_crypt=no
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> AR=''
> AS=''
> ASFLAGS_config=''
> AUTOCONF=''
> AWK=''
> BASH_SHELL=''
> BISON=''
> BUILD_CC=''
> CC='gcc'
> CFLAGS='-g -O2'
> CPP='gcc -E -traditional-cpp'
> CPPFLAGS=''
> CXX='g++'
> CXXFLAGS='-g -O2'
> CXX_SYSINCLUDES=''
> DEFINES=''
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> GREP=''
> INSTALL_DATA=''
> INSTALL_INFO=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> KSH=''
> LD=''
> LDFLAGS=''
> LIBGD=''
> LIBOBJS=''
> LIBS=''
> LN_S=''
> LTLIBOBJS=''
> MAKE=''
> MAKEINFO=''
> MIG=''
> MSGFMT=''
> OBJDUMP=''
> OBJEXT='o'
> PACKAGE_BUGREPORT='glibc'
> PACKAGE_NAME='GNU C Library'
> PACKAGE_STRING='GNU C Library (see version.h)'
> PACKAGE_TARNAME='c-library'
> PACKAGE_VERSION='(see version.h)'
> PATH_SEPARATOR=':'
> PERL=''
> PWD_P=''
> RANLIB=''
> RELEASE=''
> SED=''
> SHELL='/bin/sh'
> SYSINCLUDES=''
> VERSION=''
> VERSIONING=''
> ac_ct_CC='gcc'
> ac_ct_CXX='g++'
> add_on_subdirs=' libidn'
> add_ons='libidn'
> all_warnings=''
> base_machine=''
> bindir='${exec_prefix}/bin'
> bindnow='no'
> bounded='no'
> build='i686-pc-cygwin'
> build_alias=''
> build_cpu='i686'
> build_os='cygwin'
> build_vendor='pc'
> cross_compiling='no'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> elf='no'
> enable_check_abi='no'
> exceptions=''
> exec_prefix='NONE'
> experimental_malloc=''
> fno_unit_at_a_time=''
> force_install='yes'
> have_libaudit=''
> have_libcap=''
> have_selinux=''
> host='i686-pc-cygwin'
> host_alias=''
> host_cpu='i686'
> host_os='cygwin'
> host_vendor='pc'
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> ldd_rewrite_script=''
> libc_cv_Bgroup=''
> libc_cv_as_needed=''
> libc_cv_cc_avx=''
> libc_cv_cc_sse4=''
> libc_cv_cc_submachine=''
> libc_cv_cc_with_libunwind=''
> libc_cv_cpp_asm_debuginfo=''
> libc_cv_forced_unwind=''
> libc_cv_fpie=''
> libc_cv_gcc_static_libgcc=''
> libc_cv_gcc_unwind_find_fde=''
> libc_cv_gnu89_inline=''
> libc_cv_hashstyle=''
> libc_cv_have_bash2=''
> libc_cv_have_initfini=''
> libc_cv_have_ksh=''
> libc_cv_libgcc_s_suffix=''
> libc_cv_localedir=''
> libc_cv_nss_crypt='no'
> libc_cv_pic_default=''
> libc_cv_rootsbindir=''
> libc_cv_slibdir=''
> libc_cv_ssp=''
> libc_cv_sysconfdir=''
> libc_cv_z_combreloc=''
> libc_cv_z_execstack=''
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mach_interface_list=''
> mandir='${datarootdir}/man'
> multi_arch='no'
> no_whole_archive=''
> nopic_initfini=''
> old_glibc_headers=''
> oldest_abi='default'
> oldincludedir='/usr/include'
> omitfp='no'
> pdfdir='${docdir}'
> prefix='NONE'
> profile='no'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> shared='default'
> sharedstatedir='${prefix}/com'
> sizeof_long_double=''
> static='yes'
> static_nss='no'
> subdirs=' '
> submachine=''
> sysconfdir='${prefix}/etc'
> sysdeps_add_ons=''
> sysnames=''
> target_alias=''
> uname_release=''
> uname_sysname=''
> uname_version=''
> use_ldconfig=''
> with_cvs='yes'
> with_fp='yes'
> xcoff='no'
>
> ## ----------- ##
> ## 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 HAVE_LIBIDN 1
>
> configure: exit 1

Jan Seiffert

unread,
Dec 8, 2009, 2:18:31 AM12/8/09
to
Neil Morris schrieb:

Hmmmm, looks like you are using cygwin.
I would say, configure is correct.

Cygwin needs a special libc to make things run under Windows. You can not use
the glibc with cygwin.

If my memory serves me right, they use a special version of newlib?

[snip]

Greetings
Jan

--
Murphy's Law of Combat
Rule #3: "Never forget that your weapon was manufactured by the
lowest bidder"

0 new messages