[racket-dev] build error with gcc 4.5.2
I think the problem is that I changed xform without adjusting the
version number as I should have.
A fresh build directory or throwing out
"<build>/racket/gc2/xform-collects" and "<build>/racket/gc2/xsrc"
should avoid the problem.
[I planned to push a change that adjusts the version number, but I
haven't gotten to it.]
At Mon, 12 Sep 2011 11:38:37 -0400, Sam Tobin-Hochstadt wrote:
> I'm currently getting the following compilation error from HEAD:
>
> make[4]: Entering directory `/home/samth/sw/plt/src/build/racket/gc2'
> gcc -I./.. -I../../../racket/gc2/../include -g -O2 -pthread
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -c xsrc/jit.c -o
> jit.o
> ../../../racket/gc2/../src/jit.c: In function ‘scheme_get_native_arity’:
> ../../../racket/gc2/../src/jit.c:3870:5: error: invalid use of
> flexible array member
> make[4]: *** [jit.o] Error 1
>
> This is with gcc 4.5.2, Ubuntu 11.04.
> --
> sam th
> samth at ccs.neu.edu
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/dev