Closed wilsonk closed 2 years ago
Define "when trying to build with both clang-12.0.1 and gcc-11.1.0"
I tried to build once with clang and when it didn't work I deleted the entire vinix directory, pulled everything again and did another 'make distro' with gcc as my compiler. Both builds failed with the same errors above.
How are you picking the compiler, exactly? You're not really supposed to do that, you should just have to install the required dependencies (listed in the Readme) and run make distro
without any extra flags or exported CC
variables.
Strange. It's compiling fine for me right now, on Manjaro.
Yep, that was the problem...I set CC/CXX in my .bashrc to clang-12.0.1 and that was the problem (I need clang for a couple other projects so I just default to it). Sorry to bother.
I just pulled the repo today (upgrade mlibc - d6bd12987ba0d660c8bd8a47c59b0c2647075b2a) and tried to build on an Arch based distro of Linux. I had the same errors in the wget subdir when trying to build with both clang-12.0.1 and gcc-11.1.0:
I tried to just remove the wget directory and maybe get things built that way, but I ran into some similar errors with another package. Not sure why this is happening, but it is a bit of a show stopper :)
Any suggestions?