public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/95129] New: aarch64: make outline-atomics work on non-gnu targets
@ 2020-05-14 11:08 nsz at gcc dot gnu.org
  2020-05-14 11:11 ` [Bug target/95129] " nsz at gcc dot gnu.org
  2020-05-14 11:16 ` ktkachov at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: nsz at gcc dot gnu.org @ 2020-05-14 11:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95129

            Bug ID: 95129
           Summary: aarch64: make outline-atomics work on non-gnu targets
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nsz at gcc dot gnu.org
  Target Milestone: ---

the initializer in libgcc uses __getauxval which is not
available on non-gnu targets so outlining atomics is
ineffective.

change the runtime lse check in libgcc such that non-glibc
targets can implement it too (e.g. calling __getauxval via
a weak reference and no #ifdef __gnu_linux__ check allows
a libc to implement it later, unfortunately a non-linux os
may not have the same hwcap mechanism so a more generic
libc<->libgcc abi would be better).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/95129] aarch64: make outline-atomics work on non-gnu targets
  2020-05-14 11:08 [Bug target/95129] New: aarch64: make outline-atomics work on non-gnu targets nsz at gcc dot gnu.org
@ 2020-05-14 11:11 ` nsz at gcc dot gnu.org
  2020-05-14 11:16 ` ktkachov at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: nsz at gcc dot gnu.org @ 2020-05-14 11:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95129

--- Comment #1 from nsz at gcc dot gnu.org ---
i also opened bug 95128 to just configure the outline-atomics away.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/95129] aarch64: make outline-atomics work on non-gnu targets
  2020-05-14 11:08 [Bug target/95129] New: aarch64: make outline-atomics work on non-gnu targets nsz at gcc dot gnu.org
  2020-05-14 11:11 ` [Bug target/95129] " nsz at gcc dot gnu.org
@ 2020-05-14 11:16 ` ktkachov at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2020-05-14 11:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95129

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktkachov at gcc dot gnu.org
   Last reconfirmed|                            |2020-05-14
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-14 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 11:08 [Bug target/95129] New: aarch64: make outline-atomics work on non-gnu targets nsz at gcc dot gnu.org
2020-05-14 11:11 ` [Bug target/95129] " nsz at gcc dot gnu.org
2020-05-14 11:16 ` ktkachov at gcc dot gnu.org

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).