public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/31378] New: Ada test suite regression with mold
@ 2024-02-13 16:43 tromey at sourceware dot org
  2024-02-15 18:06 ` [Bug ada/31378] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: tromey at sourceware dot org @ 2024-02-13 16:43 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31378

            Bug ID: 31378
           Summary: Ada test suite regression with mold
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ada
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

If I set my system linker to be 'mold', I get:

FAIL: gdb.ada/import.exp: print exported_var_ada
FAIL: gdb.ada/import.exp: print imported_var_ada
FAIL: gdb.ada/import.exp: print local_imported_var
FAIL: gdb.ada/import.exp: print pkg.exported_var_ada
FAIL: gdb.ada/import.exp: print pkg.imported_var_ada

These don't happen with ld.bfd or ld.gold.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug ada/31378] Ada test suite regression with mold
  2024-02-13 16:43 [Bug ada/31378] New: Ada test suite regression with mold tromey at sourceware dot org
@ 2024-02-15 18:06 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2024-02-15 18:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31378

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Created attachment 15367
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15367&action=edit
patch

We've been using this patch internally at AdaCore.
I don't really remember the details but basically
mold decides to make some symbols file-local.
I'm unsure if this patch is really the best way though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2024-02-15 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 16:43 [Bug ada/31378] New: Ada test suite regression with mold tromey at sourceware dot org
2024-02-15 18:06 ` [Bug ada/31378] " tromey at sourceware dot 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).