public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8200] libstdc++: Add -latomic to test flags for 32-bit sparc-linux
@ 2021-04-15 16:42 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-04-15 16:42 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:a25590f29d07a88f6bf1b2c1ab0e4e012725db98

commit r11-8200-ga25590f29d07a88f6bf1b2c1ab0e4e012725db98
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Apr 15 16:39:55 2021 +0100

    libstdc++: Add -latomic to test flags for 32-bit sparc-linux
    
    Without this I see a number of tests failing when -m32 is used.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/lib/dg-options.exp (add_options_for_libatomic): Also
            add libatomic options for 32-bit sparc*-*-linux-gnu.

Diff:
---
 libstdc++-v3/testsuite/lib/dg-options.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/testsuite/lib/dg-options.exp b/libstdc++-v3/testsuite/lib/dg-options.exp
index 5160e4a72d1..7894973bcca 100644
--- a/libstdc++-v3/testsuite/lib/dg-options.exp
+++ b/libstdc++-v3/testsuite/lib/dg-options.exp
@@ -264,6 +264,7 @@ proc add_options_for_libatomic { flags } {
     if { [istarget hppa*-*-hpux*]
 	 || ([istarget powerpc*-*-*] && [check_effective_target_ilp32])
 	 || [istarget riscv*-*-*]
+	 || ([istarget sparc*-*-linux-gnu] && [check_effective_target_ilp32])
        } {
 	return "$flags -L../../libatomic/.libs -latomic"
     }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-15 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 16:42 [gcc r11-8200] libstdc++: Add -latomic to test flags for 32-bit sparc-linux Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).