[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25866] New: bugs while compiling binutils using afl-gcc
From: |
rfstudy2020 at gmail dot com |
Subject: |
[Bug binutils/25866] New: bugs while compiling binutils using afl-gcc |
Date: |
Wed, 22 Apr 2020 17:35:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25866
Bug ID: 25866
Summary: bugs while compiling binutils using afl-gcc
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: rfstudy2020 at gmail dot com
Target Milestone: ---
When I was following the online tutorial of AFL fuzzing binutils.
I git cloned the binutils software into a new directory and tried to compile it
with :
CC=afl-gcc ./configure
make
And I got bugs as follows:
```
afl-cc 2.52b by <address@hidden>
In file included from ./../include/alloca-conf.h:1:0,
from sysdep.h:23,
from arparse.y:29:
./config.h:7:4: error: #error config.h must be #included before system headers
# error config.h must be #included before system headers
^~~~~
/usr/share/bison++/bison.cc: In function ‘yyparse’:
/usr/share/bison++/bison.cc:616:9: warning: this statement may fall through
[-Wimplicit-fallthrough=]
yyvsp = yyvs;
~~~~~~^~~~~~
/usr/share/bison++/bison.cc:377:23: note: here
#define YYLABEL(lb) } case lb: {
^
/usr/share/bison++/bison.cc:624:1: note: in expansion of macro ‘YYLABEL’
YYLABEL(yynewstate)
^~~~~~~
/usr/share/bison++/bison.cc:815:6: warning: this statement may fall through
[-Wimplicit-fallthrough=]
if (yyn == 0)
^
/usr/share/bison++/bison.cc:377:23: note: here
#define YYLABEL(lb) } case lb: {
^
/usr/share/bison++/bison.cc:819:1: note: in expansion of macro ‘YYLABEL’
YYLABEL(yyreduce)
^~~~~~~
/usr/share/bison++/bison.cc:981:11: warning: this statement may fall through
[-Wimplicit-fallthrough=]
yystate = *--yyssp;
~~~~~~~~^~~~~~~~~~
/usr/share/bison++/bison.cc:377:23: note: here
#define YYLABEL(lb) } case lb: {
^
/usr/share/bison++/bison.cc:997:1: note: in expansion of macro ‘YYLABEL’
YYLABEL(yyerrhandle)
^~~~~~~
Makefile:1505: recipe for target 'arparse.o' failed
make[4]: *** [arparse.o] Error 1
make[4]: Leaving directory '/home/runfeng/fuzzing/binutils-gdb/binutils'
Makefile:1135: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/runfeng/fuzzing/binutils-gdb/binutils'
Makefile:761: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/runfeng/fuzzing/binutils-gdb/binutils'
Makefile:3652: recipe for target 'all-binutils' failed
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory '/home/runfeng/fuzzing/binutils-gdb'
Makefile:853: recipe for target 'all' failed
make: *** [all] Error 2
```
I did not found anything useful online to address this bugs
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/25866] New: bugs while compiling binutils using afl-gcc,
rfstudy2020 at gmail dot com <=