This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Bootstrap build problem after V8 test-in-container patch".
- From: Steve Ellcey <sellcey at cavium dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>, DJ Delorie <dj at redhat dot com>
- Date: Thu, 23 Aug 2018 11:16:25 -0700
- Subject: Bootstrap build problem after V8 test-in-container patch".
- Reply-to: sellcey at cavium dot com
I am having a build problem after DJ's patch "V8 test-in-container patch".
I do a bootstrap build by building binutils, then I build a 'partial gcc'
by building "all-gcc all-target-libgcc" and
"install-gcc install-target-libgcc", then I build glibc using that gcc,
followed by a complete build of gcc.
This is no longer working for me, because the glibc build fails with:
aarch64-linux-gnu-gcc -mabi=lp64 -nostdlib -nostartfiles -o /home/sellcey/tot/obj/glibc64/support/links-dso-program .....
/home/sellcey/tot/install/lib/gcc/aarch64-linux-gnu/9.0.0/../../../../aarch64-linux-gnu/bin/ld: cannot find -lstdc++
I tried updating my 'initial' gcc build to include all-target-libstdc++-v3
and install-target-libstdc++-v3 and to include c++ in the languages that
are configured but when I do that the initial gcc build fails during the
configuration of libgomp (presumably libstdc++ needs libgomp). The libgomp
configure fails with:
/home/sellcey/tot/install/aarch64-linux-gnu/bin/ld: cannot find crt1.o: No such
file or directory
/home/sellcey/tot/install/aarch64-linux-gnu/bin/ld: cannot find crti.o: No such
file or directory
I think this failure to be able to do a bootstrap build is going to be a
problem, has anyone else run into this? Does anyone have a fix?
Steve Ellcey
sellcey@cavium.com