[Scummvm-cvs-logs] scummvm master -> 2f312e9e1a5a577ebf167ba004ffea19a767c7de

dhewg dhewg at wiibrew.org
Sun Feb 20 13:10:37 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2f312e9e1a DS: Disable symbol garbage collection


Commit: 2f312e9e1a5a577ebf167ba004ffea19a767c7de
    https://github.com/scummvm/scummvm/commit/2f312e9e1a5a577ebf167ba004ffea19a767c7de
Author: dhewg (dhewg at wiibrew.org)
Date: 2011-02-20T04:09:36-08:00

Commit Message:
DS: Disable symbol garbage collection

Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.

Changed paths:
    backends/platform/ds/build-ds.sh
    configure



diff --git a/backends/platform/ds/build-ds.sh b/backends/platform/ds/build-ds.sh
index d56af5a..8e0b057 100755
--- a/backends/platform/ds/build-ds.sh
+++ b/backends/platform/ds/build-ds.sh
@@ -1,4 +1,8 @@
 #!/bin/sh
+
+echo "FIXME: feature disabled in configure"
+exit 1
+
 #
 # build-ds.sh -- script for building a ds build with every usable dynamic engine plugin
 
diff --git a/configure b/configure
index e304c28..7144041 100755
--- a/configure
+++ b/configure
@@ -1552,7 +1552,9 @@ case $_host_os in
 		if test "$_dynamic_modules" = no ; then
   			LDFLAGS="$LDFLAGS -Wl,--gc-sections"
  		else
-		        LDFLAGS="$LDFLAGS -Wl,--retain-symbols-file,ds.syms"
+				LDFLAGS="$LDFLAGS -Wl,--no-gc-sections"
+				# TODO automate this required 2 step linking phase
+				# LDFLAGS="$LDFLAGS -Wl,--retain-symbols-file,ds.syms"
 		fi
 		LDFLAGS="$LDFLAGS -L$DEVKITPRO/libnds/lib"
 		LIBS="$LIBS -lnds9"






More information about the Scummvm-git-logs mailing list