Skip to content

genv8constants fails to extract all symbols with binutils 2.41 #49991

@citrus-it

Description

@citrus-it

Version

Occurs on 12, 14, 16, 18

Platform

SunOS bloody 5.11 omnios-master-f42c5dbbece i86pc i386 i86pc

Subsystem

tools

What steps will reproduce the bug?

Attempting to build node on illumos and including --with-dtrace fails with binutils 2.41. It worked with previous versions of binutils.

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior? Why is that the expected behavior?

No response

What do you see instead?

dtrace: failed to compile script src/v8ustack.d: line 264: failed to resolve V8DBG_SMITAG: Unknown variable name

Additional information

This is caused by a change in behaviour in objdump from binutils 2.41 where the content of .bss sections is no longer included in disassembly output, even if -z is passed.

See https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0a3137ce4c4b38ee8

I have a patch for this and will open a PR once I've finished testing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions