[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814978: gcc-5: gnat paths are wrong due to ada-gcc-name.diff



Control: tags -1 - patch

On 18.02.2016 12:28, Svante Signell wrote:
The remaining problem is a carriage return character in the target_bit variable,
fixed by the patch:

--- a/src/gcc/testsuite/ada/acats/run_all.sh.orig	2016-02-17 17:29:12.872370832 +0100
+++ b/src/gcc/testsuite/ada/acats/run_all.sh	2016-02-18 12:09:48.636362809 +0100
@@ -136,7 +136,7 @@
  # Find out the size in bit of an address on the target
  target_gnatmake $testdir/support/impbit.adb >> $dir/acats.log 2>&1
  target_run $dir/support/impbit > $dir/support/impbit.out 2>&1
-target_bit=`cat $dir/support/impbit.out`
+target_bit=`cat $dir/support/impbit.out` | sed -e 's/\r//g'
  echo target_bit="$target_bit" >> $dir/acats.log

  # Find out a suitable asm statement


that is applied in -10.


Reply to: