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
Upgrade to 0.55: r_debug__bindgen_ty_1 not found in this scope. #1880
Comments
Hmm, probably a regression from #1850. Thanks for filing! Reduced test-case: typedef unsigned long long Elf64_Addr;
struct r_debug
{
int r_version; /* Version number for this protocol. */
struct link_map *r_map; /* Head of the chain of loaded objects. */
/* This is the address of a function internal to the run-time linker,
that will always be called when the linker begins to map in a
library or unmap it, and again when the mapping change is complete.
The debugger can set a breakpoint at this address if it wants to
notice shared object mapping changes. */
Elf64_Addr r_brk;
enum
{
/* This state value describes the mapping change taking place when
the `r_brk' address is called. */
RT_CONSISTENT, /* Mapping change is complete. */
RT_ADD, /* Beginning to add a new object. */
RT_DELETE /* Beginning to remove an object mapping. */
} r_state;
Elf64_Addr r_ldbase; /* Base address the linker is loaded at. */
}; |
emilio
added a commit
that referenced
this issue
Aug 24, 2020
emilio
added a commit
that referenced
this issue
Aug 24, 2020
#1882 has a fix. |
Thanks! |
emilio
added a commit
that referenced
this issue
Aug 24, 2020
emilio
added a commit
that referenced
this issue
Aug 24, 2020
0.55.1 has this fix, thank you again for reporting it. |
LoganBarnett
pushed a commit
to LoganBarnett/rust-bindgen
that referenced
this issue
Dec 2, 2023
LoganBarnett
pushed a commit
to LoganBarnett/rust-bindgen
that referenced
this issue
Dec 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input C/C++ Header
It's just an include of
<link.h>
on a Debian 10 system. Expanded file hereBindgen Invocation
Actual Results
Compilation fails:
Any ideas?
The text was updated successfully, but these errors were encountered: