From: Kevin Day Date: Sun, 12 Feb 2023 03:20:50 +0000 (-0600) Subject: Update: 2023 / 02 / 06 news regarding CMake. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=4a97d56801faf45c47a3e40b802019dc8e5ac187;p=kevux.org-website Update: 2023 / 02 / 06 news regarding CMake. --- diff --git a/news/2023/2023_02_06-turtle_and_fll.html b/news/2023/2023_02_06-turtle_and_fll.html index 87d3d39..77eba50 100644 --- a/news/2023/2023_02_06-turtle_and_fll.html +++ b/news/2023/2023_02_06-turtle_and_fll.html @@ -110,7 +110,7 @@ Most of the TKIS includes hacks, patches, and work-arounds due to differences between host systems and packages.

- One of the major problems I noticed is that the CMake is a horrible build system. + One of the major problems I noticed is that the CMake is a horrible build system. This system segmentation faults consistently while bootstrapping within the system. The cause is not immediately clear but might be related to the system security practices.

@@ -133,10 +133,26 @@ Address 0x4b0dcc0 is in a rw- mapped file /lib/x64/libgcc_s.so.1 segment

- The CMake code itself is an utter mess. - Projects that use CMake will either have to be removed entirely and not used or I will have to craft my own build rules using the Featureless Make system. + The CMake code itself is an utter mess. + Projects that use CMake will either have to be removed entirely and not used or I will have to craft my own build rules using the Featureless Make system. I really do not want to spend time dealing with this problem but it is what it is.

+ +
+
+

2023 / 02 / 11 Update

+
+ +
+

+ Further investigation has shown that CMake is no the main culprit here. There appears to be something wrong with the system libraries. The likely candidates are Musl libc, GCC, Binutils, and Valgrind. The problem might be made worse when threads are in use. Even the ls command is showing problems. I would not be surprised if there is some sort of optimization problem. +

+

+ I intend to first try different versions of Musl. The compiler and the linker are additional points of interest. I must also consider Valgrind to be mis-reporting. However, I believe the mis-reporting to be unlikely as I can identify bad behavior in several programs that works fine outside of this environment. +

+
+
+

Kevin Day