MarvellEmbeddedProcessors / openwrt-dd

GNU General Public License v2.0
12 stars 17 forks source link

Flex Build Fails w/GCC7 #20

Open MisterRager opened 6 years ago

MisterRager commented 6 years ago

This has been fixed upstream. I get this failure:

gcc -DHAVE_CONFIG_H -I.  -DLOCALEDIR=\"/home/misterrager/src/openwrt-dd/staging_dir/host/share/locale\" -I/home/misterrager/src/openwrt-dd/staging_dir/host/include -I/home/misterrager/src/op
enwrt-dd/staging_dir/host/usr/include   -O2 -I/home/misterrager/src/openwrt-dd/staging_dir/host/include -I/home/misterrager/src/openwrt-dd/staging_dir/host/usr/include  -MT stage1flex-yylex.
o -MD -MP -MF .deps/stage1flex-yylex.Tpo -c -o stage1flex-yylex.o `test -f 'yylex.c' || echo './'`yylex.c
mv -f .deps/stage1flex-yylex.Tpo .deps/stage1flex-yylex.Po
/usr/bin/env bash ../libtool  --tag=CC   --mode=link gcc  -O2 -I/home/misterrager/src/openwrt-dd/staging_dir/host/include -I/home/misterrager/src/openwrt-dd/staging_dir/host/usr/include   -L
/home/misterrager/src/openwrt-dd/staging_dir/host/lib -L/home/misterrager/src/openwrt-dd/staging_dir/host/usr/lib  -o stage1flex stage1flex-scan.o stage1flex-buf.o stage1flex-ccl.o stage1fle
x-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-parse.o stage1flex-regex.o stage1flex-scanf
lags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o    -lm 
OpenWrt-libtool: link: gcc -O2 -I/home/misterrager/src/openwrt-dd/staging_dir/host/include -I/home/misterrager/src/openwrt-dd/staging_dir/host/usr/include -o stage1flex stage1flex-scan.o sta
ge1flex-buf.o stage1flex-ccl.o stage1flex-dfa.o stage1flex-ecs.o stage1flex-filter.o stage1flex-gen.o stage1flex-main.o stage1flex-misc.o stage1flex-nfa.o stage1flex-options.o stage1flex-par
se.o stage1flex-regex.o stage1flex-scanflags.o stage1flex-scanopt.o stage1flex-skel.o stage1flex-sym.o stage1flex-tables.o stage1flex-tables_shared.o stage1flex-tblcmp.o stage1flex-yylex.o  
-L/home/misterrager/src/openwrt-dd/staging_dir/host/lib -L/home/misterrager/src/openwrt-dd/staging_dir/host/usr/lib -lm 
./stage1flex   -o stage1scan.c ./scan.l
Makefile:1689: recipe for target 'stage1scan.c' failed
make[6]: *** [stage1scan.c] Segmentation fault
make[6]: Leaving directory '/home/misterrager/src/openwrt-dd/build_dir/host/flex-2.6.4/src'
Makefile:539: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/misterrager/src/openwrt-dd/build_dir/host/flex-2.6.4/src'
Makefile:525: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/misterrager/src/openwrt-dd/build_dir/host/flex-2.6.4'
Makefile:28: recipe for target '/home/misterrager/src/openwrt-dd/build_dir/host/flex-2.6.4/.built' failed
make[3]: *** [/home/misterrager/src/openwrt-dd/build_dir/host/flex-2.6.4/.built] Error 2
make[3]: Leaving directory '/home/misterrager/src/openwrt-dd/tools/flex'
tools/Makefile:148: recipe for target 'tools/flex/compile' failed
make[2]: *** [tools/flex/compile] Error 2
make[2]: Leaving directory '/home/misterrager/src/openwrt-dd'
tools/Makefile:146: recipe for target '/home/misterrager/src/openwrt-dd/staging_dir/target-aarch64_cortex-a53+neon-vfpv4_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyyn
ynnyyynny' failed
make[1]: *** [/home/misterrager/src/openwrt-dd/staging_dir/target-aarch64_cortex-a53+neon-vfpv4_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynny] Error 2
make[1]: Leaving directory '/home/misterrager/src/openwrt-dd'
/home/misterrager/src/openwrt-dd/include/toplevel.mk:207: recipe for target 'world' failed
make: *** [world] Error 2