From 4a97d56801faf45c47a3e40b802019dc8e5ac187 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 11 Feb 2023 21:20:50 -0600 Subject: [PATCH] Update: 2023 / 02 / 06 news regarding CMake. --- news/2023/2023_02_06-turtle_and_fll.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) 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

-- 1.8.3.1