[lfs-support] glibc-2.16.0 configure error - relro

Thomas Jensen tj at tj-software.dk
Sat Sep 22 06:41:52 PDT 2012


Den 21-09-2012 17:22, Bruce Dubbs skrev:
 > Thomas Jensen wrote:
 >> In chapter 5.7 I get an error running configure. The script stop with
 >> following message:
 >>
 >> checking for -z relro option... no
 >> configure: error: linker with -z relro support required
 >>
 >

Hi again

I tried one more time this morning, but the result is the same. First 
time I used 'make -j 2', but today I didn't, but no change.

 > What are your $PATH and $LFS_TGT settings?

lfs at zepto:/mnt/lfs/sources$ printenv
TERM=xterm
LC_ALL=POSIX
LFS=/mnt/lfs
PATH=/tools/bin:/bin:/usr/bin
PWD=/mnt/lfs/sources
LFS_TGT=i686-lfs-linux-gnu
PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$
SHLVL=1
HOME=/home/lfs
_=/usr/bin/printenv
OLDPWD=/mnt/lfs/sources/glibc-build

 > What are the contents of /tools/bin and /tools/lib?

lfs at zepto:/mnt/lfs/sources$ ls /tools/bin
i686-lfs-linux-gnu-addr2line   i686-lfs-linux-gnu-gprof
i686-lfs-linux-gnu-ar           i686-lfs-linux-gnu-ld
i686-lfs-linux-gnu-as           i686-lfs-linux-gnu-ld.bfd
i686-lfs-linux-gnu-c++filt     i686-lfs-linux-gnu-nm
i686-lfs-linux-gnu-cpp           i686-lfs-linux-gnu-objcopy
i686-lfs-linux-gnu-elfedit     i686-lfs-linux-gnu-objdump
i686-lfs-linux-gnu-gcc           i686-lfs-linux-gnu-ranlib
i686-lfs-linux-gnu-gcc-4.7.1   i686-lfs-linux-gnu-readelf
i686-lfs-linux-gnu-gcc-ar      i686-lfs-linux-gnu-size
i686-lfs-linux-gnu-gcc-nm      i686-lfs-linux-gnu-strings
i686-lfs-linux-gnu-gcc-ranlib  i686-lfs-linux-gnu-strip
i686-lfs-linux-gnu-gcov

lfs at zepto:/mnt/lfs/sources$ ls -RF /tools/lib
/tools/lib:
gcc/  libiberty.a

/tools/lib/gcc:
i686-lfs-linux-gnu/

/tools/lib/gcc/i686-lfs-linux-gnu:
4.7.1/

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1:
crtbegin.o   crtend.o        crtprec32.o  include/     libgcc.a      plugin/
crtbeginS.o  crtendS.o        crtprec64.o  include-fixed/  libgcc_eh.a@
crtbeginT.o  crtfastmath.o  crtprec80.o  install-tools/  libgcov.a

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/include:
ammintrin.h    f16cintrin.h   mm3dnow.h       stdbool.h      varargs.h
avx2intrin.h    float.h        mm_malloc.h     stddef.h       wmmintrin.h
avxintrin.h    fma4intrin.h   mmintrin.h      stdfix.h       x86intrin.h
bmi2intrin.h    fmaintrin.h    nmmintrin.h     stdint-gcc.h   xmmintrin.h
bmiintrin.h    ia32intrin.h   pmmintrin.h     stdint.h       xopintrin.h
bmmintrin.h    immintrin.h    popcntintrin.h  stdnoreturn.h
cpuid.h        iso646.h       smmintrin.h     tbmintrin.h
cross-stdarg.h    lwpintrin.h    stdalign.h      tmmintrin.h
emmintrin.h    lzcntintrin.h  stdarg.h        unwind.h

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

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

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/install-tools/include:
README    limits.h

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin:
gtype.state  include/

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include:
ada/               gsstruct.def        prefix.h
alias.h               gtm-builtins.def        pretty-print.h
all-tree.def           gtype-desc.h        real.h
alloc-pool.h           hard-reg-set.h        realmpfr.h
ansidecl.h           hashtab.h        reg-notes.def
auto-host.h           highlev-plugin-common.h    rtl.def
b-header-vars           hwint.h            rtl.h
basic-block.h           incpath.h        safe-ctype.h
bitmap.h           input.h            sbitmap.h
builtins.def           insn-constants.h        splay-tree.h
bversion.h           insn-flags.h        statistics.h
c-family/           insn-modes.h        symtab.h
c-tree.h           insn-notes.def        sync-builtins.def
cfghooks.h           internal-fn.def        system.h
cfgloop.h           internal-fn.h        target-hooks-macros.h
cgraph.h           intl.h            target.def
cif-code.def           ipa-prop.h        target.h
config/               ipa-ref-inline.h        timevar.def
config.h           ipa-ref.h        timevar.h
configargs.h           ipa-reference.h        tm-preds.h
coretypes.h           ipa-utils.h        tm.h
cp/               java/            tm_p.h
cppdefault.h           langhooks.h        toplev.h
cpplib.h           libiberty.h        tree-check.h
debug.h               line-map.h        tree-dump.h
defaults.h           machmode.h        tree-flow-inline.h
diagnostic-core.h      md5.h            tree-flow.h
diagnostic.def           mode-classes.def        tree-inline.h
diagnostic.h           objc/            tree-iterator.h
double-int.h           obstack.h        tree-pass.h
emit-rtl.h           omp-builtins.def        tree-pretty-print.h
except.h           options.h        tree-ssa-alias.h
filenames.h           opts.h            tree-ssa-operands.h
fixed-value.h           output.h            tree-ssa-sccvn.h
flag-types.h           params.def        tree.def
flags.h               params.h            tree.h
function.h           plugin-api.h        treestruct.def
gcc-plugin.h           plugin-version.h        vec.h
genrtl.h           plugin.def        vecir.h
ggc.h               plugin.h            vecprim.h
gimple-pretty-print.h  pointer-set.h        version.h
gimple.def           predict.def
gimple.h           predict.h

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/ada:
gcc-interface/

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/ada/gcc-interface:
ada-tree.def

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/c-family:
c-common.def  c-common.h  c-objc.h  c-pragma.h    c-pretty-print.h

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/config:
dbxelf.h  glibc-stdint.h  i386/            linux-android.h  vxworks-dummy.h
elfos.h   gnu-user.h      initfini-array.h  linux.h

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/config/i386:
att.h  gnu-user.h  i386-opts.h    i386-protos.h  i386.h  linux.h    unix.h

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/cp:
cp-tree.def

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/java:
java-tree.def

/tools/lib/gcc/i686-lfs-linux-gnu/4.7.1/plugin/include/objc:
objc-tree.def


 >
-- 
Thomas Jensen, Denmark




More information about the lfs-support mailing list