#39 closed task (fixed)
Sysroot build
Reported by: | Jim Gifford | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | CLFS Sysroot 1.0.0 |
Component: | BOOK | Version: | CLFS Sysroot 1.0.0 |
Keywords: | Cc: |
Description
Work on implementing a complete sysroot build for the 2.0 Release. All notes should be placed in this ticket.
Change History (12)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
I added glibc-headers in for arm. I think it might be needed for all of the archs but I still need to confirm that.
comment:3 by , 19 years ago
File was also added to cross-tools, If an older version of file is installed on the host the cross-compile may fail with a error similar to the following.
Making all in magic make[2]: Entering directory `/mnt/lfs-arm/sources/file-4.17/magic' file -C -m magic magic, 3745: Warning type `medate x Previous dump %s,' invalid magic, 3746: Warning type `medate x This dump %s,' invalid file: could not find any magic files! make[2]: *** [magic.mgc] Error 255 make[2]: Leaving directory `/mnt/lfs-arm/sources/file-4.17/magic'
comment:4 by , 18 years ago
coreutils isn't compiling df because of one of it's tests in m4/fsusage.m4. I'm going to look over this for now.
comment:5 by , 18 years ago
Instructions for cross-compiling Vim and Perl are now in the book.
That leaves glibc locales/timezone info, the coreutils df issue, setting root's password.
comment:6 by , 18 years ago
The coreutils df issue is now fixed. As stated before, the problem was related to a test in m4/fsusage.m4. The test for, fu_cv_sys_stat_statfs2_bsize , which is the one that passes when not cross-compiling, is trying to run a compiled test program. Setting this value to yes in config.cache fixes the problem.
comment:7 by , 18 years ago
The glibc timezone issue is now fixed. The fixes to the book were commited in r1837 and the patch was commited in r1838. The reason the timezone info wasn't installed in the past was the compiled zic program couldn't be run. When cross-compiling this patch will build zic-host and use that to install the timezone info.
Issues left: glibc locales & shadow passwords
comment:8 by , 18 years ago
Version: | unstable → 2.0 |
---|
comment:9 by , 18 years ago
Version: | 2.0 → 2.0.0 |
---|
comment:10 by , 18 years ago
Root password issue may be fixed by creating /etc/shadow and /etc/gshadow, and copying the encrypted root password from /etc/shadow from the host.
comment:11 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Locales, zoneinfo, and sunrpc in glibc have been fixed. Passwords have been fixed by creating a native set of tools.
The major issues can be closed.
I commited what work I've done so far on arm. I'm going to add each arch as I test for differences. My plan is to add the 32bit archs, then the pure64 bit archs, saving the multilib archs for last.
Some differences in the build:
What still needs to be done: