Author: robert
Date: 2008-10-14 14:36:42 -0600 (Tue, 14 Oct 2008)
New Revision: 1433
Modified:
branches/Onward/temporary_system/bash.txt
Log:
In Bash, use RTLD_NOW instead of RTLD_LAZY with dlopen()
Modified: branches/Onward/temporary_system/bash.txt
===================================================================
--- branches/Onward/temporary_system/bash.txt 2008-10-14 20:06:51 UTC (rev
1432)
+++ branches/Onward/temporary_system/bash.txt 2008-10-14 20:36:42 UTC (rev
1433)
@@ -10,6 +10,13 @@
patch -p1 -i ../bash-3.2-rng.diff &&
+# Bash uses the RTLD_LAZY option when loading libraries. We want to use
+# RTLD_NOW (it is defined from <dlfcn.h>:
+
+cp -v builtins/enable.def{,.orig} &&
+sed 's/filename, RTLD_LAZY/filename, RTLD_NOW/' \
+ builtins/enable.def.orig > builtins/enable.def &&
+
mkdir obj/ &&
cd obj/ &&
../configure --prefix=/tools --without-bash-malloc \
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page