Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on distros with elfutils < 0.170 #28

Open
jallen-amd opened this issue Dec 15, 2021 · 0 comments
Open

Build fails on distros with elfutils < 0.170 #28

jallen-amd opened this issue Dec 15, 2021 · 0 comments

Comments

@jallen-amd
Copy link

On distros with elfutils version < 0.170 (SLES 15 SP3 for example), dwarves fails to build with the following error:

dwarf_loader.c:2529:13: error: ‘DW_TAG_skeleton_unit’ undeclared (first use in this function); did you mean ‘DW_TAG_type_unit’?
  if (tag == DW_TAG_skeleton_unit) {
             ^~~~~~~~~~~~~~~~~~~~
             DW_TAG_type_unit

433dc78 Adds the definition for DW_TAG_skeleton_unit only if the elfutils version is >= 0.170, but 0135ccd uses the tag regardless of the elfutils version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant