<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
committerCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

gcl (2.6.12-30) unstable; urgency=medium

  * Version_2_6_13pre38

Gbp-Pq: Name Version_2_6_13pre39

configure
configure.in

index a0b79b1052c1f137bc5c5f1d0473494cddeff0fa..7a1405be5898e18bd9ca714c4adda122cfc6333e 100755 (executable)
--- a/configure
+++ b/configure
@@ -4379,7 +4379,10 @@ $as_echo "Reducing optimization on profiling arm build to workaround gcc bug" >&
                     enable_debug=yes;;
                esac
                 TCFLAGS="$TCFLAGS -pg";
-                TLIBS="$TLIBS -pg";
+               case $use in
+               s390*) ;; # relocation truncation bug in gcc
+               *) TLIBS="$TLIBS -pg";;
+               esac
                TFPFLAG=""
 
 $as_echo "#define GCL_GPROF 1" >>confdefs.h
index 0a285c3fefef37f6b50bf6ad7bb1b167813cbd9b..1e902172fc27fd886479f6aa40eb630a151b94a3 100644 (file)
@@ -587,7 +587,10 @@ if test "$enable_gprof" = "yes" ; then
                     enable_debug=yes;;
                esac
                 TCFLAGS="$TCFLAGS -pg";
-                TLIBS="$TLIBS -pg";
+               case $use in
+               s390*) ;; # relocation truncation bug in gcc
+               *) TLIBS="$TLIBS -pg";;
+               esac
                TFPFLAG=""
                AC_DEFINE(GCL_GPROF,1,[use gprof profiling])
        else