as
, ld
and gcc
where too old.
cp: cannot stat /tmp/glibc-2.30/glibc-2.30/glibc-build/lib/ld-linux-x86-64.so.2: No such file or directory
ld-linux-x86-64.so.2
is not in the directory
where it is expected.
http://www.linuxfromscratch.org/lfs/view/9.0-systemd/chapter06/glibc.html hints that this can be fixed with symbolic link.
/tmp/glibc-2.30/glibc-2.30/glibc-build
)
(adjust directores as needed):
mkdir /tmp/glibc-2.30/glibc-2.30/glibc-build/lib/ cd /tmp/glibc-2.30/glibc-2.30/glibc-build/lib/ ln -s ../glibc-build/elf/ld-linux-x86-64.so.2 .Then make check in the build directory (e.g.
glibc-build
).
make check
takes in the region of half
an hour or more.
ps: you will need a recent version of the GNU gcc compiler for glibc-2.30.
Testing ASCIIcommon_objpfx=
/device/dir: Command not found.
setenv SHELL /bin/bash
works.
(It is not sufficient to
simply remove SHELL
with:
unsetenv SHELL
).
Other potential fixes
make check
again
appears to skip testing parts of iconv.
make[2]: *** [/tmp/z2/dlfcn/bug-atexit3.out] Error 1
bug-atexit3
failing to find libstdc++
is a
known problem
when glibc has been configured with a non-default directory
is specified by --prefix
bug-atexit3
.
http://www.gnu.org/software/hurd/open_issues/glibc.html mentions other work arounds.
libgcc_s.so.1 must be installed for pthread_cancel to work
Didn't expect signal from child: got `Aborted'
make[2]: *** [elf/librtld.map] Error 1
glibc-2.7/elf/dl-addr.c:158: multiple definition of `_dl_addr_inside_object'
undefined reference to `
newfunction'
on shared .os libraries
It appears this possibility is ruled out,
because when gcc
creates shared libraries it uses its -Wl
switch to pass an instruction to the unix ld
linker
to check that there are no missing symbols.
-Wl,-z,defs
from the gcc -shared -static-libgcc
command line.