public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* (no subject)
@ 2023-12-29  0:40 Mark Wielaard
  2023-12-29  0:40 ` [PATCH 1/2] Recognize EM_RISCV in e_machine_to_string Mark Wielaard
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mark Wielaard @ 2023-12-29  0:40 UTC (permalink / raw)
  To: libabigail; +Cc: David Abdurachmanov

Hi,

There is now a libabigail riscv ci and try builder on
builder.sourceware.org. Most things seem to just work as is.
Here are two patches to improve the riscv support.

[PATCH 1/2] Recognize EM_RISCV in e_machine_to_string

Adds support for generating a human readable string for EM_RISCV.
It includes configure support in case the system elf.h doesn't
contain the macro. But that is just for really old systems, glibc
2.24 added it.

Note that elfutils libdw provides dwelf_elf_e_machine_string which
does a similar thing.

[PATCH 2/2] Fix ABG_ASSERT in build_ir_node_from_die for DW_TAG_member

Fixes an assert that for some reason only shows up on riscv 
in runtesttypesstability against the DWARF for the test file:
test-types-stability/PR27165-libzmq.so.5.2.3

The issue is that the DIE [2113c8] being checked is in a CU that is 
C++, but the dwarf reader current translation unit [b] is a GIMPLE 
(lto) one, marked as C99.

I think this is because that first compile unit contains a variable
DIE [35dcf] that has an abstract origin [21492f] with specification
[2113c8] and type [211bf6] in the later C++ CU.

With this make check is all green on riscv.

Cheers,

Mark


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

end of thread, other threads:[~2024-01-08 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-29  0:40 Mark Wielaard
2023-12-29  0:40 ` [PATCH 1/2] Recognize EM_RISCV in e_machine_to_string Mark Wielaard
2023-12-29  0:40 ` [PATCH 2/2] Fix ABG_ASSERT in build_ir_node_from_die for DW_TAG_member Mark Wielaard
2024-01-08 15:13 ` none Dodji Seketeli
2024-01-08 19:14   ` Some libabigail RISC-V support issues Mark Wielaard

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