1

Topic: Hyperbola's musl compilation failed

I am interested in HyperBK, the kernel of HyperbolaBSD.

I tried to compile HyperBK with GNU coreutils and so on, and I modified my LFS (GNU/Linux from scratch) script in order to use the hyperbola patches of binutils and gcc.

But when I was compiling Hyperbola's musl, it outputs many errors like "TYPEDEF does not name a type" and "undeclared identifier XXX" and so on.

So how to cross-compile hyperbola's musl under GNU/Linux now?

2

Re: Hyperbola's musl compilation failed

Hello, welcome to the forums and thanks for th interest on Hyperbola(BSD). Please be aware that musl-libc is not for the moment finalized and we are working on solving warnings and errors.

But would you mind to leave more information about your build-toolchain current you are using? smile
That may help us also.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3 (edited by Allen123456hello 2026-01-18 01:55:45)

Re: Hyperbola's musl compilation failed

No, not at all.

I have build binutils-2.34-stage1 and gcc-8.5.0-stage1 using these commands:

bintuils-pass1:

sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
patch -p1 -i ../binutils-hyperbolabsd.patch
mkdir -v build
cd       build
../configure --prefix=$LFS/tools \
             --with-sysroot=$LFS \
             --target=$LFS_TGT   \
             --disable-nls       \
             --enable-gprofng=no \
             --disable-werror    \
             --enable-new-dtags  \
             --enable-default-hash-style=gnu
make configure-host
make
make install

gcc-pass1:

tar -xf ../mpfr-4.2.2.tar.xz
mv -v mpfr-4.2.2 mpfr
tar -xf ../gmp-6.3.0.tar.xz
mv -v gmp-6.3.0 gmp
tar -xf ../mpc-1.3.1.tar.gz
mv -v mpc-1.3.1 mpc
tar -xf ../isl-0.24.tar.xz
mv -v isl-0.24 isl
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
case $(uname -m) in
  x86_64)
    sed -e '/m64=/s/lib64/lib/' \
        -i.orig gcc/config/i386/t-linux64
 ;;
esac
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
patch -p1 -i ../gcc-hyperbolabsd.patch
mkdir -v build
cd       build
../configure                  \
    --target=$LFS_TGT         \
    --prefix=$LFS/tools       \
    --libdir=$LFS/tools/lib   \
    --with-native-system-header-dir=$LFS/tools/include \
    --with-sysroot=$LFS       \
    --with-newlib             \
    --without-headers         \
    --enable-default-pie      \
    --enable-default-ssp      \
    --disable-nls             \
    --disable-shared          \
    --disable-multilib        \
    --disable-threads         \
    --disable-libatomic       \
    --disable-libgomp         \
    --disable-libquadmath     \
    --disable-libssp          \
    --disable-libvtv          \
    --disable-libstdcxx       \
    --with-isl                \
    --enable-languages=c,c++
make all-gcc
make install-gcc
ln -s $LFS_TGT-gcc $LFS/tools/bin/$LFS_TGT-cc
cd ..
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
  `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include/limits.h

4

Re: Hyperbola's musl compilation failed

By the way, what file systems does HyperBK support now? Will HyperBK support ext4?

And will HyperbolaBSD support GNU coreutils and so on? I have many scripts depending on some GNU's features.

5

Re: Hyperbola's musl compilation failed

Thanks, the file-system(s) supported is not final decided. But HyperbolaBSD will not use GNU coreutils. But also here not a final decision as for the moment HyperBK and musl-libc are the most important getting ready. We are not clearly against GNU and projects but the global plan is to use only some selected GNU-based packages as we are oriented on minimalism. This may even result in the final plan that we only act very selective on needed utilities and do not further recognize GNU coreutils as needed.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

6

Re: Hyperbola's musl compilation failed

throgh wrote:

Thanks, the file-system(s) supported is not final decided. But HyperbolaBSD will not use GNU coreutils. But also here not a final decision as for the moment HyperBK and musl-libc are the most important getting ready. We are not clearly against GNU and projects but the global plan is to use only some selected GNU-based packages as we are oriented on minimalism. This may even result in the final plan that we only act very selective on needed utilities and do not further recognize GNU coreutils as needed.

Thanks, but I still have some questions.

1. If the musl libc is ready, how can I test HyperBK in the LFS way? What filesystem will /mnt/lfs need to be?

2. If HyperbolaBSD is ready, can I give out some PKGBUILDs for, e.g. GNU coreutils, in [extra]?

3. How to solve the problem of Trusting Trust?

Anyway, I am looking forward to the HyperbolaBSD Operating System!

7

Re: Hyperbola's musl compilation failed

1. There will be a pre-alpha being ready to be used. To note: This will be foremost terminal-only. It is surely your own decision, if you plan to compile all by yourself. I guess you plan to do an own LFS-like implementation? That's currently not in the perspective for the development. As said: We need first to finish musl-libc and then also HyperBK-debugging for drivers and modules. So I cannot give you any further information about filesystems at the moment.

2. Sure you can, when you want offer your own ports-tree. We on the other side want to reduce offered packages as much as possible from our perspective.

3. There is no ultimate trust. So we motivate users generic to look into packages, packaging and further development on their own. Sure we do what we can to grant a secure and safe system. But it is always a point about own responsibility. Out of that perspective we want to start full offline-support with version 0.4.5 of Hyperbola GNU/Linux-libre.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

8

Re: Hyperbola's musl compilation failed

throgh wrote:

1. There will be a pre-alpha being ready to be used. To note: This will be foremost terminal-only. It is surely your own decision, if you plan to compile all by yourself. I guess you plan to do an own LFS-like implementation? That's currently not in the perspective for the development. As said: We need first to finish musl-libc and then also HyperBK-debugging for drivers and modules. So I cannot give you any further information about filesystems at the moment.

2. Sure you can, when you want offer your own ports-tree. We on the other side want to reduce offered packages as much as possible from our perspective.

3. There is no ultimate trust. So we motivate users generic to look into packages, packaging and further development on their own. Sure we do what we can to grant a secure and safe system. But it is always a point about own responsibility. Out of that perspective we want to start full offline-support with version 0.4.5 of Hyperbola GNU/Linux-libre.

Thanks a lot! I think I can test HyperBK and Hyperbola's musl in my spare time. (I'm a junior student so I may have no much time)

9 (edited by Allen123456hello 2026-01-18 11:53:04)

Re: Hyperbola's musl compilation failed

By the way, what's the license of Hyperbola's PKGBUILDs and/or patches in its repo?

UPD: I tried the newest Hyperbola's musl just now, it outputs:

./src/include/../../include/unistd.h:59:10: fatal error: hyperbk/nfs/nfs.h: No such file or directory

Does it mean that I need to install HyperBK's kernel header? What should I do?

10

Re: Hyperbola's musl compilation failed

You may surely tryout to link for the sources of HyperBK. It is not intended to release the musl-libc port independent as it is the libc-implementation for our operating-system.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

11 (edited by Allen123456hello 2026-01-19 10:56:26)

Re: Hyperbola's musl compilation failed

UPD: I forgot two things:

1. disable default stack protector for cross-compiler gcc

2. build the kernel before musl to test whether the compiler works

12

Re: Hyperbola's musl compilation failed

new gcc-pass1:

tar -xf ../mpfr-4.2.2.tar.xz
mv -v mpfr-4.2.2 mpfr
tar -xf ../gmp-6.3.0.tar.xz
mv -v gmp-6.3.0 gmp
tar -xf ../mpc-1.3.1.tar.gz
mv -v mpc-1.3.1 mpc
tar -xf ../isl-0.24.tar.xz
mv -v isl-0.24 isl
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
case $(uname -m) in
  x86_64)
    sed -e '/m64=/s/lib64/lib/' \
        -i.orig gcc/config/i386/t-linux64
 ;;
esac
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
patch -p1 -i ../gcc-hyperbolabsd.patch
mkdir -v build
cd       build
../configure                  \
    --target=$LFS_TGT         \
    --prefix=$LFS/tools       \
    --libdir=$LFS/tools/lib   \
    --with-native-system-header-dir=$LFS/tools/include \
    --with-sysroot=$LFS       \
    --with-newlib             \
    --without-headers         \
    --disable-default-pie      \
    --disable-default-ssp      \
    --disable-nls             \
    --disable-shared          \
    --disable-multilib        \
    --disable-threads         \
    --disable-libatomic       \
    --disable-libgomp         \
    --disable-libquadmath     \
    --disable-libssp          \
    --disable-libvtv          \
    --disable-libstdcxx       \
    --with-isl                \
    --enable-languages=c,c++
make all-gcc
make install-gcc
ln -s $LFS_TGT-gcc $LFS/tools/bin/$LFS_TGT-cc
cd ..
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
  `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include/limits.h

13

Re: Hyperbola's musl compilation failed

I copied hyperbk's source tree:

cd hyperbk
mkdir -pv $LFS/usr/include/hyperbk/
cp . $LFS/usr/include/hyperbk/ -rv

When I was compiling musl, it outputs:

x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -fPIC -fno-stack-protector -DCRT -c -o obj/crt/Scrt1.o crt/Scrt1.c
cp obj/crt/Scrt1.o lib/Scrt1.o
x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -fno-stack-protector -DCRT -c -o obj/crt/crt1.o crt/crt1.c
cp obj/crt/crt1.o lib/crt1.o
x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -fPIC -fno-stack-protector -DCRT -c -o obj/crt/rcrt1.o crt/rcrt1.c
cp obj/crt/rcrt1.o lib/rcrt1.o
cp obj/crt/x86_64/crti.o lib/crti.o
cp obj/crt/x86_64/crtn.o lib/crtn.o
x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -c -o obj/src/aio/aio.o src/aio/aio.c
x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -c -o obj/src/aio/aio_suspend.o src/aio/aio_suspend.c
x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -c -o obj/src/aio/lio_listio.o src/aio/lio_listio.c
x86_64-lfs-hyperbolabsd-gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include  -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -I/mnt/lfs/usr/include -c -o obj/src/bsd/__tfork.o src/bsd/__tfork.c
In file included from ./src/include/../../include/unistd.h:59,
                 from ./src/include/unistd.h:4,
                 from src/bsd/__tfork.c:2:
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:102:2: error: unknown type name 'caddr_t'
  caddr_t name;  /* Client addr for connection based sockets */
  ^~~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:109:2: error: unknown type name 'u_int32_t'
  u_int32_t nsd_haddr; /* IP address of client */
  ^~~~~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:110:16: error: field 'nsd_cr' has incomplete type
  struct xucred nsd_cr;  /* Cred. uid maps to */
                ^~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:112:2: error: unknown type name 'u_char'
  u_char  *nsd_authstr; /* Auth string (ret) */
  ^~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:114:2: error: unknown type name 'u_char'
  u_char  *nsd_verfstr;
  ^~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:115:17: error: field 'nsd_timestamp' has incomplete type
  struct timeval nsd_timestamp; /* timestamp from verifier */
                 ^~~~~~~~~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:116:2: error: unknown type name 'u_int32_t'
  u_int32_t nsd_ttl; /* credential ttl (sec) */
  ^~~~~~~~~
/mnt/lfs/usr/include/hyperbk/nfs/nfs.h:139:18: error: 'NFS_NPROCS' undeclared here (not in a function); did you mean 'NFS_RETRANS'?
  uint64_t rpccnt[NFS_NPROCS];
                  ^~~~~~~~~~
                  NFS_RETRANS
In file included from ./src/include/unistd.h:4,
                 from src/bsd/__tfork.c:2:
./src/include/../../include/unistd.h:238:28: warning: 'struct __tfork' declared inside parameter list will not be visible outside of this definition or declaration
 pid_t __tfork(const struct __tfork *, size_t);
                            ^~~~~~~
./src/include/../../include/unistd.h:239:35: warning: 'struct __tfork' declared inside parameter list will not be visible outside of this definition or declaration
 pid_t __tfork_thread(const struct __tfork *, size_t, void (*)(void *), void *);
                                   ^~~~~~~
./src/include/../../include/unistd.h:242:24: warning: 'struct __kbind' declared inside parameter list will not be visible outside of this definition or declaration
 int kbind(const struct __kbind *, size_t, int64_t);
                        ^~~~~~~
src/bsd/__tfork.c:5:28: warning: 'struct __tfork' declared inside parameter list will not be visible outside of this definition or declaration
 pid_t __tfork(const struct __tfork *params, size_t psize)
                            ^~~~~~~
src/bsd/__tfork.c:5:7: error: conflicting types for '__tfork'
 pid_t __tfork(const struct __tfork *params, size_t psize)
       ^~~~~~~
In file included from ./src/include/unistd.h:4,
                 from src/bsd/__tfork.c:2:
./src/include/../../include/unistd.h:238:7: note: previous declaration of '__tfork' was here
 pid_t __tfork(const struct __tfork *, size_t);
       ^~~~~~~
src/bsd/__tfork.c:11:15: warning: 'struct __tfork' declared inside parameter list will not be visible outside of this definition or declaration
  const struct __tfork *params,
               ^~~~~~~
src/bsd/__tfork.c:10:7: error: conflicting types for '__tfork_thread'
 pid_t __tfork_thread(
       ^~~~~~~~~~~~~~
In file included from ./src/include/unistd.h:4,
                 from src/bsd/__tfork.c:2:
./src/include/../../include/unistd.h:239:7: note: previous declaration of '__tfork_thread' was here
 pid_t __tfork_thread(const struct __tfork *, size_t, void (*)(void *), void *);
       ^~~~~~~~~~~~~~
make: *** [Makefile:215: obj/src/bsd/__tfork.o] Error 1

I used these commands:

./configure CROSS_COMPILE=${LFS_TGT}- --prefix=/ --target=${CLFS_TGT}
echo "CFLAGS += -I$LFS/usr/include" >> config.mak
make -j1

14

Re: Hyperbola's musl compilation failed

The kernel can be compiled without error:

TARCH=$LFS_TGT
KARCH=amd64 KCFG=GENERIC.MP
cd arch/$KARCH/compile/$KCFG; unset KARCH KCFG
cp -va obj_gen obj
cd obj
NTHREADS=$(nproc)
bmake -j $NTHREADS CC=$TARCH-cc LD=$TARCH-ld
unset CC LD NTHREADS TARCH

15

Re: Hyperbola's musl compilation failed

Thanks for the replies:
For now, the answer musl is close to complete, but not ready. It requires also remove the stub function (added to fix the whole code, to then fix the clone function separately).

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

16

Re: Hyperbola's musl compilation failed

OK, thanks for your replies too. smile