Bk6.6Ch6.9 glibc compile stopped with `__stack_chk_guard'

Szabolcs Gyalókay gyalokay at gmail.com
Wed Mar 31 00:14:15 PDT 2010


Hi,

As I was recreating the error today, I became aware, that there was an other
error when compiling perl the last time, and but I circumvented it then, and
now again. Perl was including the host systems errno.h when compiling  in
chapter 5.

Now the info what you asked for:

 > I have what seems to be the same problem that you have, but on x86_64, as
> > already posted on this list on 15th of March.
>
> What is the output of `ls /tools/lib`, `ls -R /tools/lib/gcc`, and `echo
>  $PATH`
>

ls /tools/lib:

Mcrt1.o                    libgomp.la                libnss_nisplus.so
Scrt1.o                    libgomp.so                libnss_nisplus.so.2
coreutils                  libgomp.so.1              libopcodes.a
crt1.o                     libgomp.so.1.0.0          libopcodes.la
crti.o                     libgomp.spec              libpanel.a
crtn.o                     libiberty.a               libpanel.so
expect5.43                 libieee.a                 libpanel.so.5
gcc                        libm-2.11.1.so            libpanel.so.5.7
gconv                      libm.a                    libpcprofile.so
gcrt1.o                    libm.so                   libpthread-2.11.1.so
ld-2.11.1.so               libm.so.6                 libpthread.a
ld-linux-x86-64.so.2       libmcheck.a               libpthread.so
libBrokenLocale-2.11.1.so <http://libbrokenlocale-2.11.1.so/>
libmemusage.so            libpthread.so.0
libBrokenLocale.a          libmenu.a                 libpthread_nonshared.a
libBrokenLocale.so         libmenu.so                libresolv-2.11.1.so
libBrokenLocale.so.1       libmenu.so.5              libresolv.a
libSegFault.so             libmenu.so.5.7            libresolv.so
libanl-2.11.1.so           libmudflap.a              libresolv.so.2
libanl.a                   libmudflap.la             librt-2.11.1.so
libanl.so                  libmudflap.so             librt.a
libanl.so.1                libmudflap.so.0           librt.so
libbfd.a                   libmudflap.so.0.0.0       librt.so.1
libbfd.la                  libmudflapth.a            libssp.a
libbsd-compat.a            libmudflapth.la           libssp.la
libbz2.a                   libmudflapth.so           libssp.so
libc-2.11.1.so             libmudflapth.so.0         libssp.so.0
libc.a                     libmudflapth.so.0.0.0     libssp.so.0.0.0
libc.so                    libncurses++.a            libssp_nonshared.a
libc.so.6                  libncurses.a              libssp_nonshared.la
libc_nonshared.a           libncurses.so             libstdc++.a
libcidn-2.11.1.so          libncurses.so.5           libstdc++.la
libcidn.so                 libncurses.so.5.7         libstdc++.so
libcidn.so.1               libnsl-2.11.1.so          libstdc++.so.6
libcrypt-2.11.1.so         libnsl.a                  libstdc++.so.6.0.13
libcrypt.a                 libnsl.so                 libsupc++.a
libcrypt.so                libnsl.so.1               libsupc++.la
libcrypt.so.1              libnss_compat-2.11.1.so   libtcl8.5.so
libcurses.a                libnss_compat.so          libtclstub8.5.a
libcurses.so               libnss_compat.so.2        libthread_db-1.0.so
libdl-2.11.1.so            libnss_dns-2.11.1.so      libthread_db.so
libdl.a                    libnss_dns.so             libthread_db.so.1
libdl.so                   libnss_dns.so.2           libutil-2.11.1.so
libdl.so.2                 libnss_files-2.11.1.so    libutil.a
libexpect5.43.a            libnss_files.so           libutil.so
libform.a                  libnss_files.so.2         libutil.so.1
libform.so                 libnss_hesiod-2.11.1.so   perl5
libform.so.5               libnss_hesiod.so          tcl8
libform.so.5.7             libnss_hesiod.so.2        tcl8.5
libg.a                     libnss_nis-2.11.1.so      tclConfig.sh
libgcc_s.so                libnss_nis.so             terminfo
libgcc_s.so.1              libnss_nis.so.2
libgomp.a                  libnss_nisplus-2.11.1.so

Output of ls -R /tools/lib/gcc:

/tools/lib/gcc:
x86_64-lfs-linux-gnu  x86_64-unknown-linux-gnu

/tools/lib/gcc/x86_64-lfs-
linux-gnu:
4.4.3

/tools/lib/gcc/x86_64-lfs-linux-gnu/4.4.3:
crtbegin.o   crtend.o       crtprec32.o  include        libgcc.a     specs
crtbeginS.o  crtendS.o      crtprec64.o  include-fixed  libgcc_eh.a
crtbeginT.o  crtfastmath.o  crtprec80.o  install-tools  libgcov.a

/tools/lib/gcc/x86_64-lfs-linux-gnu/4.4.3/include:
ammintrin.h     float.h            mmintrin.h   stddef.h     x86intrin.h
avxintrin.h     immintrin.h        nmmintrin.h  stdfix.h     xmmintrin.h
bmmintrin.h     iso646.h           pmmintrin.h  tmmintrin.h
cpuid.h         mm3dnow.h          smmintrin.h  unwind.h
cross-stdarg.h  mm_malloc.h        stdarg.h     varargs.h
emmintrin.h     mmintrin-common.h  stdbool.h    wmmintrin.h

/tools/lib/gcc/x86_64-lfs-linux-gnu/4.4.3/include-fixed:
README  limits.h  syslimits.h

/tools/lib/gcc/x86_64-lfs-linux-gnu/4.4.3/install-tools:
fixinc_list  gsyslimits.h  include  macro_list  mkheaders.conf

/tools/lib/gcc/x86_64-lfs-linux-gnu/4.4.3/install-tools/include:
README  limits.h

/tools/lib/gcc/x86_64-unknown-linux-gnu:
4.4.3

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3:
crtbegin.o   crtendS.o      crtprec80.o    install-tools
crtbeginS.o  crtfastmath.o  finclude       libgcc.a
crtbeginT.o  crtprec32.o    include        libgcc_eh.a
crtend.o     crtprec64.o    include-fixed  libgcov.a

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/finclude:

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include:
ammintrin.h     float.h       mmintrin-common.h  ssp          unwind.h
avxintrin.h     immintrin.h   mmintrin.h         stdarg.h     varargs.h
bmmintrin.h     iso646.h      nmmintrin.h        stdbool.h    wmmintrin.h
cpuid.h         mf-runtime.h  omp.h              stddef.h     x86intrin.h
cross-stdarg.h  mm3dnow.h     pmmintrin.h        stdfix.h     xmmintrin.h
emmintrin.h     mm_malloc.h   smmintrin.h        tmmintrin.h

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include/ssp:
ssp.h  stdio.h  string.h  unistd.h

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include-fixed:
README  limits.h  syslimits.h

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/install-tools:
fixinc_list  gsyslimits.h  include  macro_list  mkheaders.conf

/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/install-tools/include:
README  limits.h

Output of echo $PATH:

/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin

Bye,

Szabolcs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100331/1860f455/attachment.html>


More information about the lfs-support mailing list