[Top][All Lists]

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

[Dejagnu-commit] [SCM] DejaGNU branch, master, updated. dejagnu_1_4_3-75

From: Rob Savoye
Subject: [Dejagnu-commit] [SCM] DejaGNU branch, master, updated. dejagnu_1_4_3-758-gbc0e0d6
Date: Sat, 1 Aug 2020 11:25:45 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DejaGNU".

The branch, master has been updated
       via  bc0e0d6286d418bfc2013edc1e3bd2c0045122ae (commit)
       via  7dd28b93962f25cd42e908f24eee93e1d22de0a8 (commit)
      from  eaf708dee7794eea671dc73323ceb6e0af62ebe9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bc0e0d6286d418bfc2013edc1e3bd2c0045122ae
Merge: eaf708d 7dd28b9
Author: Rob Savoye <>
Date:   Sat Aug 1 09:24:55 2020 -0600

    Merge branch 'ada'
    Merge ada branch to fix compile test flags.

commit 7dd28b93962f25cd42e908f24eee93e1d22de0a8
Author: Maciej W. Rozycki <>
Date:   Sat Jun 20 01:45:03 2020 +0100

    target: Wrap linker flags into `-largs'/`-margs' for Ada
    Unrecognized `gnatmake' switches are not implicitly passed on to the
    linker, so just pasting board `ldflags' and any other linker flags
    verbatim into `add_flags' to use for the invocation line of `gnatmake'
    will make them ignored at best.
    For example in a GCC test environment that has:
    set_board_info ldflags 
-Wl,-rpath,.../sysroot/lib64/lp64d -Wl,-rpath,.../sysroot/usr/lib64/lp64d"
    so that sysroot paths are correctly embedded with the binaries linked
    for use with the dynamic loader and shared library dependencies, the
    setting will be ignored for the GNAT test suite making all the execution
    tests fail, e.g.:
    PASS: gnat.dg/abstract_with_anonymous_result.adb (test for excess errors)
    spawn qemu-riscv64 ./abstract_with_anonymous_result.exe
    /lib/ No such file or directory
    FAIL: gnat.dg/abstract_with_anonymous_result.adb execution test
    For `gnatmake' to pass switches on to the linker the `-largs' switch has
    to be used, which affects all the switches that follow until a switch is
    seen that changes the selection, like `-margs', which resets to the
    initial state of the switch interpretation machine.
    Wrap linker flags into `-largs'/`-margs' for Ada then, carefully
    preserving the place these flags are placed at within `add_flags', as
    surely someone will have depended on that, correcting test failures like
    PASS: gnat.dg/abstract_with_anonymous_result.adb (test for excess errors)
    spawn qemu-riscv64 ./abstract_with_anonymous_result.exe
    PASS: gnat.dg/abstract_with_anonymous_result.adb execution test
    Pass multilib flags both to the compiler and to the linker as both build
    stages interpret them.
    Update the testsuite accordingly.
        * lib/target.exp (default_target_compile): Wrap linker flags into
        `-largs'/`-margs' for Ada.
        * testsuite/runtest.libs/target.test (compile_test): Update
    Signed-off-by: Maciej W. Rozycki <>


Summary of changes:
 lib/target.exp                     | 50 +++++++++++++++++++++++++++-----------
 testsuite/runtest.libs/target.test | 32 ++++++++++++------------
 2 files changed, 52 insertions(+), 30 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]