Package: gnudatalanguage
Version: 0.9~rc1-1
Severity: important
Tags: patch
gnudatalanguage fails to build because the -z muldefs option is set in
LDFLAGS. LDFLAGS, however, is fed to the compiler driver, so it needs
to be escaped with -Wl. (Some versions of gcc-4.3 appear to simply
ignore -z parameters, as the hppa build log suggests.)
The appended patch escapes the parameter with -Wl. With it, a test
build on mips was successful.
Thiemo
diff -urpN gnudatalanguage-0.9~rc1.orig/configure
gnudatalanguage-0.9~rc1/configure
--- gnudatalanguage-0.9~rc1.orig/configure 2008-08-17 11:36:57.000000000
+0100
+++ gnudatalanguage-0.9~rc1/configure 2008-08-17 00:05:19.000000000 +0100
@@ -21686,7 +21686,7 @@ case "${host}" in
;;
*linux*)
- LDFLAGS="$LDFLAGS -rdynamic -z muldefs"
+ LDFLAGS="$LDFLAGS -rdynamic -Wl,-z,muldefs"
;;
esac
diff -urpN gnudatalanguage-0.9~rc1.orig/configure.in
gnudatalanguage-0.9~rc1/configure.in
--- gnudatalanguage-0.9~rc1.orig/configure.in 2008-04-06 03:16:09.000000000
+0100
+++ gnudatalanguage-0.9~rc1/configure.in 2008-08-17 00:04:44.000000000
+0100
@@ -640,7 +640,7 @@ case "${host}" in
dnl LINKIMAGE support
dnl (-ltermcap was reported to solve problems with readline)
dnl LDFLAGS="$LDFLAGS -ltermcap -rdynamic -z muldefs"
- LDFLAGS="$LDFLAGS -rdynamic -z muldefs"
+ LDFLAGS="$LDFLAGS -rdynamic -Wl,-z,muldefs"
;;
dnl *)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]