public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* New leap tester fails libabigail build because of too old elfutils version (0.168)
@ 2022-06-02 22:15 Mark Wielaard
  2022-06-02 22:18 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2022-06-02 22:15 UTC (permalink / raw)
  To: libabigail; +Cc: builder

Hi,

We added a new opensuse-leap container tester to libabigail:
https://builder.sourceware.org/buildbot/#/builders/libabigail-opensuseleap-x86_64

But it fails the build with:

abg-dwarf-reader.cc: In function ‘bool abigail::dwarf_reader::is_type_tag(unsigned int)’:
abg-dwarf-reader.cc:6843:10: error: ‘DW_TAG_coarray_type’ was not declared in this scope
     case DW_TAG_coarray_type:
          ^~~~~~~~~~~~~~~~~~~
abg-dwarf-reader.cc:6843:10: note: suggested alternative: ‘DW_TAG_array_type’
     case DW_TAG_coarray_type:
          ^~~~~~~~~~~~~~~~~~~
          DW_TAG_array_type
abg-dwarf-reader.cc:6845:10: error: ‘DW_TAG_immutable_type’ was not declared in this scope
     case DW_TAG_immutable_type:
          ^~~~~~~~~~~~~~~~~~~~~
abg-dwarf-reader.cc:6845:10: note: suggested alternative: ‘DW_TAG_volatile_type’
     case DW_TAG_immutable_type:
          ^~~~~~~~~~~~~~~~~~~~~
          DW_TAG_volatile_type

DW_TAG_coarray_type and DW_TAG_immutable_type are two new DWARF5 tags,
not yet defined in libdw-0.168.

We could workaround that by checking and ignoring or redefining them.
But even then the testsuite fails various tests. I suspect because
there are various DWARF5 test files now.

Does it make sense try to make this work against such an old elfutils version?
Or should we simply not run a builder with this old an elfutils version?

elfutils 0.171 was the first version to officially support
DWARF5. Maybe that should be the minimum version for libabigail now?

The centos7 builder and debian-old-stable builders have elfutils 0.176
and are both green:
https://builder.sourceware.org/buildbot/#/builders/libabigail-debian-amd64
https://builder.sourceware.org/buildbot/#/builders/libabigail-centos-x86_64

Cheers,

Mark

P.S. There is now a dedicated buildbot@sourceware.org list (CCed) for
     any questions about the buildbot builders.


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

* Re: New leap tester fails libabigail build because of too old elfutils version (0.168)
  2022-06-02 22:15 New leap tester fails libabigail build because of too old elfutils version (0.168) Mark Wielaard
@ 2022-06-02 22:18 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2022-06-02 22:18 UTC (permalink / raw)
  To: libabigail; +Cc: buildbot

Sorry, mistyped the new buildbot@sourceware.org mailinglist address.
Now correct on CC.

On Fri, Jun 03, 2022 at 12:15:10AM +0200, Mark Wielaard wrote:
> Hi,
> 
> We added a new opensuse-leap container tester to libabigail:
> https://builder.sourceware.org/buildbot/#/builders/libabigail-opensuseleap-x86_64
> 
> But it fails the build with:
> 
> abg-dwarf-reader.cc: In function ‘bool abigail::dwarf_reader::is_type_tag(unsigned int)’:
> abg-dwarf-reader.cc:6843:10: error: ‘DW_TAG_coarray_type’ was not declared in this scope
>      case DW_TAG_coarray_type:
>           ^~~~~~~~~~~~~~~~~~~
> abg-dwarf-reader.cc:6843:10: note: suggested alternative: ‘DW_TAG_array_type’
>      case DW_TAG_coarray_type:
>           ^~~~~~~~~~~~~~~~~~~
>           DW_TAG_array_type
> abg-dwarf-reader.cc:6845:10: error: ‘DW_TAG_immutable_type’ was not declared in this scope
>      case DW_TAG_immutable_type:
>           ^~~~~~~~~~~~~~~~~~~~~
> abg-dwarf-reader.cc:6845:10: note: suggested alternative: ‘DW_TAG_volatile_type’
>      case DW_TAG_immutable_type:
>           ^~~~~~~~~~~~~~~~~~~~~
>           DW_TAG_volatile_type
> 
> DW_TAG_coarray_type and DW_TAG_immutable_type are two new DWARF5 tags,
> not yet defined in libdw-0.168.
> 
> We could workaround that by checking and ignoring or redefining them.
> But even then the testsuite fails various tests. I suspect because
> there are various DWARF5 test files now.
> 
> Does it make sense try to make this work against such an old elfutils version?
> Or should we simply not run a builder with this old an elfutils version?
> 
> elfutils 0.171 was the first version to officially support
> DWARF5. Maybe that should be the minimum version for libabigail now?
> 
> The centos7 builder and debian-old-stable builders have elfutils 0.176
> and are both green:
> https://builder.sourceware.org/buildbot/#/builders/libabigail-debian-amd64
> https://builder.sourceware.org/buildbot/#/builders/libabigail-centos-x86_64
> 
> Cheers,
> 
> Mark
> 
> P.S. There is now a dedicated buildbot@sourceware.org list (CCed) for
>      any questions about the buildbot builders.
> 

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 22:15 New leap tester fails libabigail build because of too old elfutils version (0.168) Mark Wielaard
2022-06-02 22:18 ` 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).