guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap: i686-linux now builds without binutils, gcc, and glibc se


From: Jan Nieuwenhuizen
Subject: Re: bootstrap: i686-linux now builds without binutils, gcc, and glibc seeds
Date: Thu, 06 Sep 2018 21:55:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Christopher Lemmer Webber writes:

>> Feeling slightly discouraged, but I will hammer on.  We're getting
>> closer and closer...
>>
>> janneke
>
> You really are!  Go team bootstrap!

Yay, thanks!  Here's my next progress update.  While I thought we were
done, it seems there are more uncovered problems ahead.

The wip-bootstrap branch now builds gcc-4.9.4 cleanly, including g++ and
libstdc++, I believe.

Also, using a very ugly hack, this

    ./pre-inst-env guix build --system=i686-linux -e '(begin (use-modules (guix 
packages)) (%current-system "i686-linux") (@@ (gnu packages commencement) 
libstdc++-boot0))'

now also builds.  Strangely enough, without patching libstdc++-boot0,
.libs/libstdc++.so.6.0.20 doesn't get built and install fails.

Because I'm build the guix bootstrap now with gcc-4.9.4 that already
built that library, I could add

     (copy-file (string-append gcc "/lib/libstdc++.so.6.0.20")
                (string-append "src/.libs/libstdc++.so.6.0.20"))

and have libstdc++-boot0 succeed...Ugh.

No clue yet what's going on, comparing the plain address@hidden build
with the address@hidden should give insights; but I haven't had
any yet.

The next package to build is gcc-boot0, it fails in a pretty similar
way; build succeeds, install says:

--8<---------------cut here---------------start------------->8---
test -z 
"/gnu/store/85hqb2z5rikwhl82xqf23cg3nr7x7q90-gcc-cross-boot0-5.5.0-lib/lib/." 
|| /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/mkdir 
-p "/gnu/store/85hqb2z5rikwhl82xqf23cg3nr7x7q90-gcc-cross-boot0-5.5.0-lib/lib/."
 /gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/bash 
./libtool   --mode=install 
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c 
  libcc1.la 
'/gnu/store/85hqb2z5rikwhl82xqf23cg3nr7x7q90-gcc-cross-boot0-5.5.0-lib/lib/.'
libtool: install: 
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install -c 
.libs/libcc1.so.0.0.0 
/gnu/store/85hqb2z5rikwhl82xqf23cg3nr7x7q90-gcc-cross-boot0-5.5.0-lib/lib/./libcc1.so.0.0.0
/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin/install: 
cannot stat '.libs/libcc1.so.0.0.0': No such file or directory
make[4]: *** [Makefile:349: install-cc1libLTLIBRARIES] Error 1
--8<---------------cut here---------------end--------------->8---

Any help, suggestions or encouragements much appreciated.

janneke

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]