pikhq / bootstrap-linux

A Linux system which is just barely capable of building itself.
123 stars 14 forks source link

update to musl 0.9.1 #3

Closed ogoudron closed 12 years ago

ogoudron commented 12 years ago

Can you update bootstrap-linux to musl 0.9.1 ?

Thanks, Olivier.

rofl0r commented 12 years ago

if you want to test a distro using 0.9.1 now, you can try my uptodate sabotage fork. OTOH, updating bootstrap-linux should be a piece of cake, it shouldnt involve more than changing the download url.

ogoudron commented 12 years ago

Thanks for your reply.

I don't know what will be best for me. I want to build a minimal system with only linux kernel, musl libc and LuaJIT for X86 and ARM. Other tools will be statically linked with musl libc and downloaded on demand. With this in mind i was thinking that bootstrap-linux was the best choice. Do you agree ?

rofl0r commented 12 years ago

yes, bootstrap should be the better choice for that scenario. unless you need C++ support, which BSL currently lacks.

ogoudron commented 12 years ago

I have successfully build bootstrap-linux with musl-0.9.0 (default) and when i try to build with musl-0.9.1 i have this error : In file included from archive.c:130:0: sysdep.h:150:1: erreur: unknown type name ‘off64_t’ sysdep.h:162:36: erreur: unknown type name ‘off64_t’ make[4]: *\ [archive.lo] Erreur 1 make[4]: quittant le répertoire « /home/ogoudron/bootstrap-linux/work/binutils-2.22/bfd »

Do you have an idea ?

Thanks in advance, Olivier.

rofl0r commented 12 years ago

add -D_LARGEFILE64_SOURCE to the CFLAGS used in the build (this was fixed in a recent musl commit)

ogoudron commented 12 years ago

I have used the last snapshoot of musl libc and it worked. I think you can close the issue.

Thanks for you help.

rofl0r commented 12 years ago

glad to hear. you can either close the issue yourself, or wait for pikhq to show up. i guess he will postpone the update until 0.9.2 is released, so he doesn't have to add workarounds for the off64_t issue.