google / AFL

american fuzzy lop - a security-oriented fuzzer
https://lcamtuf.coredump.cx/afl/
Apache License 2.0
3.56k stars 625 forks source link

Fail to build on Ubuntu 18.04 with GCC 6.5.0/7.5.0 #124

Open tcxxxx opened 3 years ago

tcxxxx commented 3 years ago

Hi,

I have tried to build AFL on a ubuntu 18.04 (x86_64) with GCC (tried both 6.5.0 and 7.5.0), but it constantly fails. Could you help? Thanks!

The environment: gcc --print-multiarch: x86_64-linux-gnu gcc --version | head -n1: gcc (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026

The failure information: image

tcxxxx commented 3 years ago

95

tcxxxx commented 3 years ago

Using Clang-6.0 instead of GCC-7.5.0/6.5.0 seems to work.

Reference: https://groups.google.com/g/afl-users/c/cCzDOLjt1VI/m/wpq7AGsfAwAJ