LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 11-05-2009, 11:26 AM   #1
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Rep: Reputation: 15
glibc error test suite


HI....

Here I am again with another problem....



In section 6.9 of lfs 6.5 when I run


make -k check 2>&1 | tee glibc-check-log

I get:

Code:
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.10.1'
make: *** [check] Error 2

After that when I run :

grep Error glibc-check-log

I get :

Code:
make[2]: *** [/sources/glibc-build/grp/testgrp.out] Error 1
make[1]: *** [grp/tests] Error 2
make[2]: *** [/sources/glibc-build/posix/globtest.out] Error 1
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make: *** [check] Error 2

Can anybody tell me if the above errors are normal and Can I carry on with glibc installation ?


Here is the glibc-build/config.log file, It may be helpful


Code:
configure:7588: $? = 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"
| #define HAVE_LIBIDN 1
| #define USE_REGPARMS 1
| #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_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_MEMSET 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char is_selinux_enabled ();
| int
| main ()
| {
| return is_selinux_enabled ();
|   ;
|   return 0;
| }
configure:7609: result: no
configure:7852: checking for grep that handles long lines and -e
configure:7912: result: /tools/bin/grep
configure:7917: checking for egrep
configure:7981: result: /tools/bin/grep -E
configure:7986: checking for ANSI C header files
configure:8016: gcc -c -g -O2  conftest.c >&5
configure:8023: $? = 0
configure:8122: gcc -o conftest -g -O2   conftest.c  >&5
configure:8126: $? = 0
configure:8132: ./conftest
configure:8136: $? = 0
configure:8154: result: yes
configure:8178: checking for sys/types.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for sys/stat.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for stdlib.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for string.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for memory.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for strings.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for inttypes.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for stdint.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8178: checking for unistd.h
configure:8199: gcc -c -g -O2  conftest.c >&5
configure:8206: $? = 0
configure:8223: result: yes
configure:8241: checking size of long double
configure:8546: gcc -o conftest -g -O2   conftest.c  >&5
configure:8550: $? = 0
configure:8556: ./conftest
configure:8560: $? = 0
configure:8586: result: 12
configure:8618: result: running configure fragment for sysdeps/i386/elf
configure:7: checking for i386 TLS support
configure:29: gcc -c -g -O2 conftest.s 1>&5
configure:32: $? = 0
configure:40: result: yes
configure:8618: result: running configure fragment for nptl/sysdeps/pthread
configure:27: checking for forced unwind support
configure:56: gcc -o conftest -g -O2   conftest.c  >&5
configure:62: $? = 0
configure:79: result: yes
configure:88: checking for C cleanup handling
configure:118: gcc -o conftest -g -O2 -Werror -fexceptions   conftest.c  >&5
configure:124: $? = 0
configure:141: result: yes
configure:8618: result: running configure fragment for sysdeps/pthread
configure:8618: result: running configure fragment for sysdeps/unix/sysv/linux
configure:25: checking for grep that handles long lines and -e
configure:99: result: /tools/bin/grep
configure:104: checking for egrep
configure:182: result: /tools/bin/grep -E
configure:187: checking installed Linux kernel header files
configure:212: result: 2.0.10 or later
configure:316: checking for kernel header at least 2.6.18
configure:339: result: ok
configure:483: checking for symlinks in /usr/include
configure:505: result: ok
configure:8618: result: running configure fragment for sysdeps/i386
configure:4: checking if -g produces usable source locations for assembler-with-cpp
configure:27: gcc   -g -c conftest.S 1>&5
configure:30: $? = 0
configure:35: readelf --debug-dump=line conftest.o |
                   grep conftest\.S 1>&5
  1     0       0       0       conftest.S
configure:38: $? = 0
configure:47: result: yes
configure:8717: checking for old glibc 2.0.x headers
configure:8725: result: no
configure:8766: checking whether -fPIC is default
configure:8782: result: no
configure:8913: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by GNU C Library config.status (see version.h), which was
generated by GNU Autoconf 2.63.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on localhost.localdomain

config.status:873: creating config.make
config.status:873: creating Makefile
config.status:873: creating config.h
config.status:1100: executing default commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
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_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_selinux_is_selinux_enabled=no
ac_cv_objext=o
ac_cv_path_BASH_SHELL=/bin/bash
ac_cv_path_BISON=no
ac_cv_path_EGREP='/tools/bin/grep -E'
ac_cv_path_GREP=/tools/bin/grep
ac_cv_path_INSTALL_INFO=/tools/bin/install-info
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_PWD_P=/bin/pwd
ac_cv_path_install='/tools/bin/install -c'
ac_cv_prog_AS=/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/as
ac_cv_prog_AWK=gawk
ac_cv_prog_BUILD_CC=gcc
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_LD=/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ld
ac_cv_prog_MAKE=make
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_SED=sed
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
ac_cv_sizeof_long_double=12
libc_cv_386_tls=yes
libc_cv_Bgroup=yes
libc_cv_as_needed=yes
libc_cv_as_noexecstack=yes
libc_cv_asm_cfi_directives=yes
libc_cv_asm_global_directive=.globl
libc_cv_asm_previous_directive=yes
libc_cv_asm_protected_directive=yes
libc_cv_asm_set_directive=yes
libc_cv_asm_symver_directive=yes
libc_cv_asm_type_prefix=@
libc_cv_asm_underscores=no
libc_cv_asm_weak_directive=yes
libc_cv_broken_alias_attribute=no
libc_cv_broken_visibility_attribute=no
libc_cv_c_cleanup=yes
libc_cv_cc_with_libunwind=no
libc_cv_cpp_asm_debuginfo=yes
libc_cv_dot_text=.text
libc_cv_fno_toplevel_reorder=yes
libc_cv_forced_unwind=yes
libc_cv_fpie=yes
libc_cv_friendly_stddef=yes
libc_cv_gcc___thread=yes
libc_cv_gcc_builtin_expect=yes
libc_cv_gcc_builtin_memset=yes
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_exceptions=yes
libc_cv_gcc_static_libgcc=-static-libgcc
libc_cv_gcc_tls_model_attr=yes
libc_cv_gcc_unwind_find_fde=yes
libc_cv_gnu89_inline=-fgnu89-inline
libc_cv_hashstyle=yes
libc_cv_have_bash2=yes
libc_cv_have_ksh=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_idn=no
libc_cv_initfini_array=yes
libc_cv_ld_no_whole_archive=yes
libc_cv_ld_version_script_option=yes
libc_cv_libgcc_s_suffix=
libc_cv_linux2010='2.0.10 or later'
libc_cv_need_minus_P=no
libc_cv_nss_crypt=no
libc_cv_pic_default=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_ranlib_necessary=no
libc_cv_rootsbindir=/sbin
libc_cv_signed_size_t=no
libc_cv_slibdir=/lib
libc_cv_ssp=yes
libc_cv_sysconfdir=/etc
libc_cv_visibility_attribute=yes
libc_cv_weak_symbols=yes
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes
libc_cv_z_initfirst=yes
libc_cv_z_nodelete=yes
libc_cv_z_nodlopen=yes
libc_cv_z_relro=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ar'
AS='/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/bin/bash'
BISON='no'
BUILD_CC='gcc'
CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXX_SYSINCLUDES=''
DEFINES=' -D_LIBC_REENTRANT'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/tools/bin/grep -E'
GREP='/tools/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/tools/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KSH='/bin/bash'
LD='/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO='makeinfo'
MIG=''
MSGFMT='msgfmt'
OBJDUMP='/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/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='/usr/bin/perl'
PWD_P='/bin/pwd'
RANLIB=':'
RELEASE='stable'
SED='sed'
SHELL='/bin/sh'
SYSINCLUDES=''
VERSION='2.10.1'
VERSIONING='yes'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
add_on_subdirs=' libidn'
add_ons='libidn nptl'
all_warnings=''
base_machine='i386'
bindir='${exec_prefix}/bin'
bindnow='no'
bounded='no'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cross_compiling='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
elf='yes'
enable_check_abi='no'
exceptions='-fexceptions'
exec_prefix='${prefix}'
experimental_malloc=''
fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
force_install='yes'
have_libaudit=''
have_libcap=''
have_selinux='no'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script='../sysdeps/unix/sysv/linux/ldd-rewrite.sed'
libc_cv_Bgroup='yes'
libc_cv_as_needed='yes'
libc_cv_cc_submachine=''
libc_cv_cc_with_libunwind='no'
libc_cv_cpp_asm_debuginfo='yes'
libc_cv_forced_unwind='yes'
libc_cv_fpie='yes'
libc_cv_gcc_static_libgcc='-static-libgcc'
libc_cv_gcc_unwind_find_fde='yes'
libc_cv_gnu89_inline='-fgnu89-inline'
libc_cv_hashstyle='yes'
libc_cv_have_bash2='yes'
libc_cv_have_initfini=''
libc_cv_have_ksh='yes'
libc_cv_libgcc_s_suffix=''
libc_cv_localedir=''
libc_cv_nss_crypt='no'
libc_cv_pic_default='no'
libc_cv_rootsbindir='/sbin'
libc_cv_slibdir='/lib'
libc_cv_ssp='yes'
libc_cv_sysconfdir='/etc'
libc_cv_z_combreloc='yes'
libc_cv_z_execstack='yes'
libdir='${exec_prefix}/lib'
libexecdir='/usr/lib/glibc'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${datarootdir}/man'
multi_arch='no'
no_whole_archive='-Wl,--no-whole-archive'
nopic_initfini=''
old_glibc_headers='no'
oldest_abi='default'
oldincludedir='/usr/include'
omitfp='no'
pdfdir='${docdir}'
prefix='/usr'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
sizeof_long_double='12'
static='yes'
static_nss='no'
subdirs=' '
submachine=''
sysconfdir='${prefix}/etc'
sysdeps_add_ons=' nptl'
sysnames=' sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'
target_alias=''
uname_release=''
uname_sysname=''
uname_version=''
use_ldconfig='yes'
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
#define USE_REGPARMS 1
#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_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_MEMSET 1
#define HAVE_BUILTIN_REDIRECTION 1
#define HAVE___THREAD 1
#define HAVE_TLS_MODEL_ATTRIBUTE 1
#define STDC_HEADERS 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
#define SIZEOF_LONG_DOUBLE 12
#define HAVE_TLS_SUPPORT 1
#define PI_STATIC_AND_HIDDEN 1
#define HAVE_FORCED_UNWIND 1
#define __LINUX_KERNEL_VERSION (2 * 65536 + 6 * 256 + 18)
#define __ABI_TAG_VERSION 2,6,18
#define HAVE_INLINED_SYSCALLS 1
#define HAVE_CPP_ASM_DEBUGINFO 1
#define EXPORT_UNWIND_FIND_FDE 1
#define USE_IN_LIBIO 1
#define HAVE_ELF 1

configure: exit 0

Last edited by aahiqmir; 11-05-2009 at 11:29 AM.
 
Old 12-06-2009, 07:45 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,469

Rep: Reputation: 64
This is caused by an older version of bash. You can safely ignore it since you will be installing a newer version when you compile it. I think I got this failure as well but did not look into it since I expect some things to fail in a dev version anyway.

Last edited by exvor; 12-06-2009 at 07:45 PM. Reason: spelling
 
  


Reply

Tags
error, glibc, section


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Program aborted on CentOS with glibc-2.5 and not on Fedora with glibc 2.9 Thiyagarajan R Linux - General 1 06-16-2009 11:58 AM
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
glibc-compiling loves to make errors? ok, let me post mine here: glibc 2.9 me-$-on Linux From Scratch 7 04-11-2009 06:22 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration