From 34181f4f36ce1e800a40a76975f96bc6c86160f4 Mon Sep 17 00:00:00 2001 From: Camm Maguire Date: Tue, 16 Jul 2024 10:54:27 -0400 Subject: [PATCH] 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.14-11) unstable; urgency=medium * Version_2_6_15pre10 Gbp-Pq: Name Version_2_6_15pre10 --- configure | 20 +++++++++++++------- configure.in | 16 +++++++++++----- git.tag | 2 +- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/configure b/configure index 1adef5b6..3366719f 100755 --- a/configure +++ b/configure @@ -7498,11 +7498,17 @@ printf "%s\n" "$as_me: trying to adjust text start" >&6;} cat gcl.script.def | $AWK '/SIZEOF_HEADERS/ {gsub("0x[0-9]*","0x" j,$0);} {print}' j=$j >gcl.script # diff -u gcl.script.def gcl.script echo "int main() {return 0;}" >foo.c - if ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) >/dev/null 2>&1 ; then + if ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo >/dev/null 2<&1 ) >/dev/null 2>&1 ; then if test $n -lt $min ; then min=$n; fi; if test $n -gt $max; then max=$n; fi; elif test $max -gt 0 ; then - break; + # Workaround for false island of acceptability on riscv64, 20240716 + if test `$AWK 'END {print n-m}' m=$min n=$max &5 -printf "%s\n" "$as_me: raising log text to $j for a $max bit wide low immfix table" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: raising log text to 0x$j for a $max bit wide low immfix table" >&5 +printf "%s\n" "$as_me: raising log text to 0x$j for a $max bit wide low immfix table" >&6;} else j=`$AWK 'END {for (i=j=0;j<=n;j++) i=i ? i*2 : 1;printf("%x\n",3*i)}' n=$min &5 -printf "%s\n" "$as_me: lowering log text to $j to maximize data area" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: lowering log text to 0x$j to maximize data area" >&5 +printf "%s\n" "$as_me: lowering log text to 0x$j to maximize data area" >&6;} fi fi @@ -7551,7 +7557,7 @@ printf "%s\n" "#define OBJNULL NULL" >>confdefs.h # echo $j; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our linker script" >&5 printf %s "checking our linker script... " >&6; } - if test "$j" -ne "-1" ; then + if test "$j" != "-1" ; then cat gcl.script.def | $AWK '/SIZEOF_HEADERS/ {gsub("0x[0-9]*","0x" j,$0);} {print}' j=$j >gcl.script { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 printf "%s\n" "done" >&6; } diff --git a/configure.in b/configure.in index 0f88f2aa..b6343351 100644 --- a/configure.in +++ b/configure.in @@ -1409,11 +1409,17 @@ if test "$use" != "386-gnu" ; then #hurd can push .data below C stack, but sbrk( cat gcl.script.def | $AWK '/SIZEOF_HEADERS/ {gsub("0x[[0-9]]*","0x" j,$0);} {print}' j=$j >gcl.script # diff -u gcl.script.def gcl.script echo "int main() {return 0;}" >foo.c - if ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) >/dev/null 2>&1 ; then + if ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo >/dev/null 2<&1 ) >/dev/null 2>&1 ; then if test $n -lt $min ; then min=$n; fi; if test $n -gt $max; then max=$n; fi; elif test $max -gt 0 ; then - break; + # Workaround for false island of acceptability on riscv64, 20240716 + if test `$AWK 'END {print n-m}' m=$min n=$max gcl.script AC_MSG_RESULT([done]) rm -f gcl.script.def diff --git a/git.tag b/git.tag index 1d2b458c..c6520047 100644 --- a/git.tag +++ b/git.tag @@ -1 +1 @@ -"Version_2_6_15pre9" +"Version_2_6_15pre10" -- 2.30.2