July 07, 2012 Re: Build errors with GDC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On 07-07-2012 04:49, Iain Buclaw wrote: > On 7 July 2012 02:35, Alex Rønne Petersen <alex@lycus.org> wrote: >> On 06-07-2012 19:22, Timofei Bolshakov wrote: >>> >>> On gcc-4.8-20120701 it does not work either: >>> >>> echo timestamp > s-genrtl-h >>> gcc -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings >>> -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes >>> -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros >>> -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common >>> -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/gengtype \ >>> build/gengtype.o build/errors.o build/gengtype-lex.o >>> build/gengtype-parse.o build/gengtype-state.o build/version.o >>> .../build-i486-pc-linux-gnu/libiberty/libiberty.a >>> >>> build/genmodes -m > tmp-min-modes.c >>> /bin/bash ../../gcc/../move-if-change tmp-min-modes.c min-insn-modes.c >>> echo timestamp > s-modes-m >>> build/genenums ../../gcc/config/i386/i386.md \ >>> > tmp-enums.c >>> build/gengtype.o: In function `adjust_field_type': >>> /root/gdc/dev/gcc-4.8-20120701/objdir/gcc/../../gcc/gengtype.c:1279: >>> undefined reference to `lexer_line' >>> build/gengtype.o: In function `adjust_field_rtx_def': >>> /root/gdc/dev/gcc-4.8-20120701/objdir/gcc/../../gcc/gengtype.c:989: >>> undefined reference to `lexer_line' >>> build/gengtype.o: In function `adjust_field_type': >>> /root/gdc/dev/gcc-4.8-20120701/objdir/gcc/../../gcc/gengtype.c:1294: >>> undefined reference to `lexer_line' >>> >> >> Odd; I just tried building GDC on ARM with the same snapshot I used on x86, >> and got these errors too. Worked fine on the x86 machine... >> > > Hmm... do you have flex installed? > > I can confirm that installing flex (and bison for good measure) fixed this. -- Alex Rønne Petersen alex@lycus.org http://lycus.org |
Copyright © 1999-2021 by the D Language Foundation