From: Jan Nieuwenhuizen <janneke@gnu.org>
To: guix-devel@gnu.org
Subject: Re: bootstrap: i686-linux now builds without binutils, gcc, and glibc seeds
Date: Wed, 05 Sep 2018 17:07:53 +0200 [thread overview]
Message-ID: <87wos0geye.fsf@gnu.org> (raw)
In-Reply-To: <877ek2gszu.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 03 Sep 2018 23:40:05 +0200")
Jan Nieuwenhuizen writes:
> The wip-bootstrap branch now builds without binutils, gcc, and glibc seeds.
Well, I'm very sorry but I cheered just a little bit too early, as I
just found out.
> Thanks to #bootstrappable and #glibc and a week's work of hammering and
> determination we succeeded in bootstrapping glibc-2.16.0.
This still holds, and we can also build gnu-make-boot0, diffutils-boot0,
file-boot0, binutils-boot0 using this glibc!
> This glibc is recent enough to bootstrap GuixSD!
Well, not just yet as I found out. Building libstdc++-boot0@4.9.4 with
gcc-4.7.4 and glibc-2.16.0 fails with
--8<---------------cut here---------------start------------->8---
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/bash ../libtool --tag CXX --mode=compile g++ -I/tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/ -I/tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include -I/tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-atomic-c++0x.lo -std=gnu++11 -c ../../libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc
In file included from /tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/bits/move.h:57:0,
from /tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/bits/stl_pair.h:59,
from /tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/bits/stl_algobase.h:64,
from /tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/bits/char_traits.h:39,
from /tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/string:40,
from ../../libstdc++-v3/src/c++11/compatibility-c++0x.cc:26:
/tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/type_traits:395:44: error: template argument 1 is invalid
/tmp/guix-build-libstdc++-boot0-4.9.4.drv-0/gcc-4.9.4/build/include/type_traits:399:45: error: template argument 1 is invalid
--8<---------------cut here---------------end--------------->8---
So, I tried building libstdc++-boot0@4.8.5. I'm not sure if that's
recent enough to build our main gcc-5, but at least it could be a
necessary intermediate step. This fails in phase `install'
--8<---------------cut here---------------start------------->8---
make[3]: Leaving directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src/c++11'
make[2]: Leaving directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src/c++11'
make[2]: Entering directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src'
make[3]: Entering directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src'
test -z "/gnu/store/g34qpy7754azqi9f218kbpli86nwwhl9-libstdc++-boot0-4.8.5/lib" || /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/mkdir -p "/gnu/store/g34qpy7754azqi9f218kbpli86nwwhl9-libstdc++-boot0-4.8.5/lib"
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/bash ../libtool --mode=install /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c libstdc++.la '/gnu/store/g34qpy7754azqi9f218kbpli86nwwhl9-libstdc++-boot0-4.8.5/lib'
libtool: install: /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c .libs/libstdc++.so.6.0.19 /gnu/store/g34qpy7754azqi9f218kbpli86nwwhl9-libstdc++-boot0-4.8.5/lib/libstdc++.so.6.0.19
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install: cannot stat '.libs/libstdc++.so.6.0.19': No such file or directory
make[3]: *** [Makefile:516: install-toolexeclibLTLIBRARIES] Error 1
make[3]: Leaving directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src'
make[2]: *** [Makefile:716: install-am] Error 2
make[2]: Leaving directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src'
make[1]: *** [Makefile:575: install-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-libstdc++-boot0-4.8.5.drv-0/gcc-4.8.5/build/src'
make: *** [Makefile:480: install-recursive] Error 1
--8<---------------cut here---------------end--------------->8---
Feeling slightly discouraged, but I will hammer on. We're getting
closer and closer...
janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
next prev parent reply other threads:[~2018-09-05 15:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-03 21:40 bootstrap: i686-linux now builds without binutils, gcc, and glibc seeds Jan Nieuwenhuizen
2018-09-04 21:33 ` Amin Bandali
2018-09-05 15:07 ` Jan Nieuwenhuizen [this message]
2018-09-05 20:56 ` Christopher Lemmer Webber
2018-09-06 19:55 ` Jan Nieuwenhuizen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wos0geye.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.