dslm4515 / Musl-LFS

Linux From Scratch using Musl as Libc
GNU General Public License v3.0
170 stars 21 forks source link

Several fixes #15

Closed firasuke closed 5 years ago

firasuke commented 5 years ago

I noticed that there exists several deprecated and irrelevant flags passed to both binutils and GCC's configuration scripts; hence, I removed them:

  1. Everything related to PPL/CLooG was removed in favor of ISL in newer versions of binutils and GCC due to ISL being much more advanced and having a better open source licensing scheme (even the version checking flags). This means that the flags that were passed to disable version checking for both of them were removed as well.

  2. --disable-libmpx isn't relevant as MPX support was removed from GCC starting from GCC 9: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01225.html

  3. --disable-libmudflap is also not relevant as the mudflap run time checker was removed starting from GCC 4.9: https://gcc.gnu.org/gcc-4.9/changes.html

  4. --disable-gnu-indirect-function is only relevant on systems with glibc (it's always disabled on systems that use any other libc like musl): https://gcc.gnu.org/install/configure.html

  5. --enable-__cxa_atexit is only available on systems with glibc: https://gcc.gnu.org/install/configure.html

  6. --disable-libcilkrts I couldn't find a good reason to pass this flag to GCC's configure script.

dslm4515 commented 5 years ago

Thanks! I found it hard to research actual flags for configuring binutils and GCC.

My repo never built successfully until I found void Linux on github. I borrowed heavily from them. But void does both GLibc and musl, so wasn’t sure which flags should be used only for one or the other.

firasuke commented 5 years ago

No problem.

I'm also working on a project called glaucus, it's a highly optimized and extremely lightweight suckless Linux distribution built from scratch, and it's heavily inspired by projects like Musl-LFS, so keep up the great work!

dslm4515 commented 5 years ago

@firasuke, Your project glaucus is worth a look!! Are you using the latest s6-rc? My boot scripts are not compatible with the latest version. It was such a long struggle to get working boot scripts to work for s6+s6-rc.

firasuke commented 5 years ago

Yes glaucus uses the latest s6-rc and not the old 0.4 version.