Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (21338d5f7bbf149474af72cde762628a6270be68)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (21338d5f7bbf149474af72cde762628a6270be68)
  • Date: Fri, 21 Nov 2014 10:49:00 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

libs/glibc/BUILD | 4 ++++
libs/glibc/CONFIGURE | 4 ++++
libs/glibc/DETAILS | 1 +
libs/glibc/HISTORY | 5 +++++
4 files changed, 14 insertions(+)

New commits:
commit 21338d5f7bbf149474af72cde762628a6270be68
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

glibc: added ability to build valgrind-friendly version

diff --git a/libs/glibc/BUILD b/libs/glibc/BUILD
index cbb8b4b..4f323e5 100755
--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -1,5 +1,9 @@
make_single &&

+if [[ $GLIBC_DEBUG == "y" ]]; then
+ LDFLAGS="${LDFLAGS/-s/}"
+fi &&
+
# install x86_64 linker to lib instead of lib64
sedit "s/lib64/lib/" sysdeps/unix/sysv/linux/x86_64/ldconfig.h &&
sedit "s/264/2/" sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed &&
diff --git a/libs/glibc/CONFIGURE b/libs/glibc/CONFIGURE
new file mode 100755
index 0000000..8b1b1cd
--- /dev/null
+++ b/libs/glibc/CONFIGURE
@@ -0,0 +1,4 @@
+if list_find "$LDFLAGS" "-s"; then
+ message "${PROBLEM_COLOR}WARNING: \$LDFLAGS containing strip (-s) option
detected.${DEFAULT_COLOR}" &&
+ config_query GLIBC_DEBUG "Enable debug build of $SPELL (required for
debugging programs with Valgrind)?" y
+fi
diff --git a/libs/glibc/DETAILS b/libs/glibc/DETAILS
index 33d684b..d234750 100755
--- a/libs/glibc/DETAILS
+++ b/libs/glibc/DETAILS
@@ -38,6 +38,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_GPG=glibc.gpg:$SOURCE.sig:UPSTREAM_KEY
SOURCE2_IGNORE=signature
SECURITY_PATCH=1
+ PATCHLEVEL=1
fi
if [[ $GLIBC_SANITIZE_HEADERS == n ]]; then
HEADERS_VERSION=2.6.38
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index 2b8c65f..dd1a6f9 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,8 @@
+2014-11-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * BUILD: allow drop of strip option if a user desires so
+ * CONFIGURE: added, for GLIBC_DEBUG option
+
2014-07-03 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: Use get_scm_version




  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (21338d5f7bbf149474af72cde762628a6270be68), Vlad Glagolev, 11/21/2014

Archive powered by MHonArc 2.6.24.

Top of Page