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 because of missing bfd_get_* functions #32

Closed
Byter09 opened this issue Mar 1, 2020 · 1 comment
Closed

Build fails because of missing bfd_get_* functions #32

Byter09 opened this issue Mar 1, 2020 · 1 comment

Comments

@Byter09
Copy link

Byter09 commented Mar 1, 2020

As can be seen in the following commit history, this was fixed in early January, but the current honggfuzz version is from early December of last year.

https://github.com/google/honggfuzz/commits/master/linux/bfd.c

Compilation currently fails on my system because of this.

--- stderr
linux/bfd.c: In Funktion »arch_getSectionForPc«:
linux/bfd.c:125:36: Fehler: Implizite Deklaration der Funktion »bfd_get_section_vma«; meinten Sie »bfd_set_section_vma«? [-Werror=implicit-function-declaration]
  125 |         uintptr_t vma = (uintptr_t)bfd_get_section_vma(bfdh, section);
      |                                    ^~~~~~~~~~~~~~~~~~~
      |                                    bfd_set_section_vma
linux/bfd.c:126:35: Fehler: Implizite Deklaration der Funktion »bfd_get_section_size«; meinten Sie »bfd_set_section_size«? [-Werror=implicit-function-declaration]
  126 |         uintptr_t sz = (uintptr_t)bfd_get_section_size(section);
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   bfd_set_section_size
cc1: Alle Warnungen werden als Fehler behandelt
make: *** [Makefile:249: linux/bfd.o] Fehler 1
thread 'main' panicked at 'assertion failed: status.success()', /home/btr/.cargo/registry/src/github.com-1ecc6299db9ec823/honggfuzz-0.5.46/build.rs:46:5

I'm sorry for the German text in there but I'm sure its still readable.

In the meantime, I'll use docker.

Thanks so much for updating to 2.0, I really appreciate it :)

@PaulGrandperrin
Copy link
Member

Thank you @Byter09 for the bug report!
I just uploaded the 0.5.47 version to crates.io with honggfuzz master in it.

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

2 participants