public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/14724] New: glibc build error getconf
@ 2012-10-15  5:52 xsmyqf at qq dot com
  2012-10-15  5:53 ` [Bug build/14724] " xsmyqf at qq dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: xsmyqf at qq dot com @ 2012-10-15  5:52 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14724

             Bug #: 14724
           Summary: glibc build error getconf
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: xsmyqf@qq.com
                CC: carlos@systemhalted.org
    Classification: Unclassified


This occured when I was doing someting in the LFS 7.2,chapter 5,Glibc-2.16.0.
    when I was doing "make",all is ok.but when I doing "make install",this
occured:


make[2]: Entering directory `/root/lfs/sources/glibc-2.16.0/posix'
/bin/install -c -m 644 sys/utsname.h /root/lfs/gcc/include/sys/utsname.h
/bin/install -c -m 644 sys/times.h /root/lfs/gcc/include/sys/times.h
/bin/install -c -m 644 sys/wait.h /root/lfs/gcc/include/sys/wait.h
/bin/install -c -m 644 sys/types.h /root/lfs/gcc/include/sys/types.h
/bin/install -c -m 644 unistd.h /root/lfs/gcc/include/unistd.h
/bin/install -c -m 644 glob.h /root/lfs/gcc/include/glob.h
/bin/install -c -m 644 regex.h /root/lfs/gcc/include/regex.h
/bin/install -c -m 644 wordexp.h /root/lfs/gcc/include/wordexp.h
/bin/install -c -m 644 fnmatch.h /root/lfs/gcc/include/fnmatch.h
/bin/install -c -m 644 getopt.h /root/lfs/gcc/include/getopt.h
/bin/install -c -m 644 ../bits/types.h /root/lfs/gcc/include/bits/types.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/x86/bits/typesizes.h
/root/lfs/gcc/include/bits/typesizes.h
/bin/install -c -m 644 ../nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
/root/lfs/gcc/include/bits/pthreadtypes.h
/bin/install -c -m 644 bits/posix1_lim.h
/root/lfs/gcc/include/bits/posix1_lim.h
/bin/install -c -m 644 bits/posix2_lim.h
/root/lfs/gcc/include/bits/posix2_lim.h
/bin/install -c -m 644 ../nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
/root/lfs/gcc/include/bits/posix_opt.h
/bin/install -c -m 644 ../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h
/root/lfs/gcc/include/bits/local_lim.h
/bin/install -c -m 644 tar.h /root/lfs/gcc/include/tar.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/bits/utsname.h
/root/lfs/gcc/include/bits/utsname.h
/bin/install -c -m 644 ../bits/confname.h /root/lfs/gcc/include/bits/confname.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/bits/waitflags.h
/root/lfs/gcc/include/bits/waitflags.h
/bin/install -c -m 644 ../bits/waitstatus.h
/root/lfs/gcc/include/bits/waitstatus.h
/bin/install -c -m 644 sys/unistd.h /root/lfs/gcc/include/sys/unistd.h
/bin/install -c -m 644 sched.h /root/lfs/gcc/include/sched.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/bits/sched.h
/root/lfs/gcc/include/bits/sched.h
/bin/install -c -m 644 re_comp.h /root/lfs/gcc/include/re_comp.h
/bin/install -c -m 644 wait.h /root/lfs/gcc/include/wait.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/x86/bits/environments.h
/root/lfs/gcc/include/bits/environments.h
/bin/install -c -m 644 cpio.h /root/lfs/gcc/include/cpio.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/sys/sysmacros.h
/root/lfs/gcc/include/sys/sysmacros.h
/bin/install -c -m 644 spawn.h /root/lfs/gcc/include/spawn.h
/bin/install -c -m 644 bits/unistd.h /root/lfs/gcc/include/bits/unistd.h
/bin/install -c -m 644 ../sysdeps/unix/sysv/linux/bits/initspin.h
/root/lfs/gcc/include/bits/initspin.h
/bin/install -c /root/lfs/sources/glibc-build/posix/getconf
/root/lfs/gcc/bin/getconf.new
mv -f /root/lfs/gcc/bin/getconf.new /root/lfs/gcc/bin/getconf
LC_ALL=C GETCONF_DIR=/dev/null \
 /root/lfs/sources/glibc-build/elf/ld-linux.so.2 --library-path
/root/lfs/sources/glibc-build:/root/lfs/sources/glibc-build/math:/root/lfs/sources/glibc-build/elf:/root/lfs/sources/glibc-build/dlfcn:/root/lfs/sources/glibc-build/nss:/root/lfs/sources/glibc-build/nis:/root/lfs/sources/glibc-build/rt:/root/lfs/sources/glibc-build/resolv:/root/lfs/sources/glibc-build/crypt:/root/lfs/sources/glibc-build/nptl
/root/lfs/sources/glibc-build/posix/getconf _POSIX_V7_WIDTH_RESTRICTED_ENVS >
/root/lfs/sources/glibc-build/posix/getconf.speclist.new
/bin/sh: line 1:  4011 Segmentation fault      (core dumped) LC_ALL=C
GETCONF_DIR=/dev/null /root/lfs/sources/glibc-build/elf/ld-linux.so.2
--library-path
/root/lfs/sources/glibc-build:/root/lfs/sources/glibc-build/math:/root/lfs/sources/glibc-build/elf:/root/lfs/sources/glibc-build/dlfcn:/root/lfs/sources/glibc-build/nss:/root/lfs/sources/glibc-build/nis:/root/lfs/sources/glibc-build/rt:/root/lfs/sources/glibc-build/resolv:/root/lfs/sources/glibc-build/crypt:/root/lfs/sources/glibc-build/nptl
/root/lfs/sources/glibc-build/posix/getconf _POSIX_V7_WIDTH_RESTRICTED_ENVS >
/root/lfs/sources/glibc-build/posix/getconf.speclist.new
make[2]: *** [/root/lfs/sources/glibc-build/posix/getconf.speclist] Error 139
make[2]: Leaving directory `/root/lfs/sources/glibc-2.16.0/posix'
make[1]: *** [posix/subdir_install] Error 2
make[1]: Leaving directory `/root/lfs/sources/glibc-2.16.0'
make: *** [install] Error 2

    I really have no idea with it.Through RTFM I really don't know what to do
with it.

my configure in glibc is:

# ../glibc-2.16.0/configure --prefix=/root/lfs/gcc --disable-profile
--enable-add-ons=nptl,../glibc-libidn-2.10.1 --enable-kernel=2.6.25
--with-headers=/root/lfs/gcc/include libc_cv_forced_unwind=yes
libc_cv_ctors_header=yes libc_cv_c_cleanup=yes

    Have any one ever encountered this?thanks.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14724] glibc build error getconf
  2012-10-15  5:52 [Bug build/14724] New: glibc build error getconf xsmyqf at qq dot com
@ 2012-10-15  5:53 ` xsmyqf at qq dot com
  2012-10-15 14:34 ` joseph at codesourcery dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: xsmyqf at qq dot com @ 2012-10-15  5:53 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14724

xie <xsmyqf at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xsmyqf at qq dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14724] glibc build error getconf
  2012-10-15  5:52 [Bug build/14724] New: glibc build error getconf xsmyqf at qq dot com
  2012-10-15  5:53 ` [Bug build/14724] " xsmyqf at qq dot com
@ 2012-10-15 14:34 ` joseph at codesourcery dot com
  2012-11-21 20:13 ` jsm28 at gcc dot gnu.org
  2014-06-13 19:51 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2012-10-15 14:34 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14724

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-10-15 14:34:17 UTC ---
On Mon, 15 Oct 2012, xsmyqf at qq dot com wrote:

> This occured when I was doing someting in the LFS 7.2,chapter 5,Glibc-2.16.0.
>     when I was doing "make",all is ok.but when I doing "make install",this
> occured:

Try "make check" before installing; testsuite failures may be easier to 
debug than getconf crashing on installation.  (But in any case you'll need 
to debug the failures since you have access to the system on which they 
occur.)

> # ../glibc-2.16.0/configure --prefix=/root/lfs/gcc --disable-profile
> --enable-add-ons=nptl,../glibc-libidn-2.10.1 --enable-kernel=2.6.25

Do not mix pieces of different glibc versions (the ../glibc-libidn-2.10.1 
here); that's never going to do anything sensible.  Just --enable-add-ons 
with no argument; libidn is part of the main release tarball and has been 
for years.

> --with-headers=/root/lfs/gcc/include libc_cv_forced_unwind=yes
> libc_cv_ctors_header=yes libc_cv_c_cleanup=yes

Do not include any libc_cv_* settings.  They should not be needed for 2.16 
even for bootstrap builds.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14724] glibc build error getconf
  2012-10-15  5:52 [Bug build/14724] New: glibc build error getconf xsmyqf at qq dot com
  2012-10-15  5:53 ` [Bug build/14724] " xsmyqf at qq dot com
  2012-10-15 14:34 ` joseph at codesourcery dot com
@ 2012-11-21 20:13 ` jsm28 at gcc dot gnu.org
  2014-06-13 19:51 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-11-21 20:13 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14724

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-11-21 20:13:20 UTC ---
Whatever the cause of this (which was probably an issue with the build
environment or build tools used), it certainly can't appear after my patch

commit 531f1ae0a79b9c3a91654750b11d25b256d7215f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Sat Nov 17 01:49:19 2012 +0000

    Generate /usr/libexec/getconf files when cross-compiling.

as no newly built programs linked with the new glibc will be run during build /
install any more.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14724] glibc build error getconf
  2012-10-15  5:52 [Bug build/14724] New: glibc build error getconf xsmyqf at qq dot com
                   ` (2 preceding siblings ...)
  2012-11-21 20:13 ` jsm28 at gcc dot gnu.org
@ 2014-06-13 19:51 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 19:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=14724

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-13 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15  5:52 [Bug build/14724] New: glibc build error getconf xsmyqf at qq dot com
2012-10-15  5:53 ` [Bug build/14724] " xsmyqf at qq dot com
2012-10-15 14:34 ` joseph at codesourcery dot com
2012-11-21 20:13 ` jsm28 at gcc dot gnu.org
2014-06-13 19:51 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).