Running into a build error on up-to-date sources today.
%git status
# On branch dwarf
nothing to commit (working directory clean)
--
$src/elfutils/configure --enable-maintainer-mode --verbose
--prefix=$bld/H-x86-elfutils
and then
make
fails with:
make[2]: Entering directory `/mnt/share/bld/elfutils/libcpu'
m4 -Di386 -DDISASSEMBLER /mnt/share/src/elfutils/libcpu/defs/i386 \
| sed
'1,/^%%/d;/^#/d;/^[[:space:]]*$/d;s/[^:]*:\([^[:space:]]*\).*/MNE(\1)/;s/{[^}]*}//g;/INVALID/d'
\
| sort -u > i386.mnemonics
if gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I/mnt/share/src/elfutils/libcpu
-I.. -I/mnt/share/src/elfutils/libcpu
-I/mnt/share/src/elfutils/libcpu/../lib
-I/mnt/share/src/elfutils/libcpu/../libelf
-I/mnt/share/src/elfutils/libcpu/../libebl
-I/mnt/share/src/elfutils/libcpu/../libdw
-I/mnt/share/src/elfutils/libcpu/../libasm -Wall -Wshadow -Wunused -Wextra
-std=gnu99 -fpic -Werror -g -O2 -MT i386_gendis.o -MD -MP -MF
".deps/i386_gendis.Tpo" -c -o i386_gendis.o
/mnt/share/src/elfutils/libcpu/i386_gendis.c; \
then mv -f ".deps/i386_gendis.Tpo" ".deps/i386_gendis.Po"; else rm
-f
".deps/i386_gendis.Tpo"; exit 1; fi
byacc -pi386_ /mnt/share/src/elfutils/libcpu/i386_parse.y
byacc: e - line 240 of "/mnt/share/src/elfutils/libcpu/i386_parse.y", syntax
error
%defines
^
make[2]: *** [i386_parse.c] Error 1
make[2]: *** Waiting for unfinished jobs....
this is on F10, nothing special.
-benjamin