[bootlin/training-materials updates] master: labs/sysdev-tinysystem: no further shared library needed (33d46013)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Jul 25 11:22:07 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/33d46013a26e6d4717675330e25db4b9621dfe81

>---------------------------------------------------------------

commit 33d46013a26e6d4717675330e25db4b9621dfe81
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Jul 25 11:22:07 2023 +0200

    labs/sysdev-tinysystem: no further shared library needed
    
    With Musl, the loader also turns out to contain the C library.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

33d46013a26e6d4717675330e25db4b9621dfe81
 labs/sysdev-tinysystem/sysdev-tinysystem.tex | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/labs/sysdev-tinysystem/sysdev-tinysystem.tex b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
index 6af4dbe2..f70ad66f 100644
--- a/labs/sysdev-tinysystem/sysdev-tinysystem.tex
+++ b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
@@ -263,15 +263,16 @@ and copy it to the \code{lib/} directory on the target.
 Then, running the executable again and see that the loader executes
 and finds out which shared libraries are missing.
 
+In our case with the Musl C library, the dynamic linker also contains the
+C library, so the program should execute fine, as no further shared
+libraries are required.
+
 If you still get the same error message, work, just try again a
 few seconds later.  Such a delay can be needed because the NFS
 client can take a little time (at most 30-60 seconds) before
 seeing the changes made on the NFS server.
 
-Similarly, find the missing libraries in the toolchain and copy
-them to \code{lib/} on the target.
-
-Once the small test program works, we are going to recompile BusyBox
+Now that the small test program works, we are going to recompile BusyBox
 without the static compilation option, so that BusyBox takes
 advantages of the shared libraries that are now present on the target.
 




More information about the training-materials-updates mailing list