Build errors with GDC

Iain Buclaw ibuclaw at ubuntu.com
Fri Jul 6 17:50:17 PDT 2012


On 6 July 2012 18:22, Timofei Bolshakov <tbolsh at gmail.com> 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'
>


Have made a gdc-4.7 branch for those who are having issues with the
current development version of gcc.

https://github.com/D-Programming-GDC/GDC/tree/gdc-4.7


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list