Trying to build Julia 0.4 master on CentOS 6.4 with gcc 4.4.7. The
compiler doesn't seem to like one of the lines in gc.c:
...
CC src/disasm.o
CC src/support/int2str.o
CC src/support/libsupportinit.o
CC src/debuginfo.o
CC src/support/arraylist.o
CC src/support/strtod.o
LINK src/support/libsupport.a
CC src/interpreter.o
CC src/alloc.o
CC src/dlload.o
CC src/sys.o
CC src/init.o
CC src/task.o
CC src/array.o
CC src/dump.o
CC src/toplevel.o
CC src/jl_uv.o
CC src/jlapi.o
CC src/profile.o
CC src/llvm-simdloop.o
CC src/gc.o
gc.c:40: error: flexible array member in otherwise empty struct
make[2]: *** [gc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [julia-release] Error 2
line 40 of gc.c is highlighted below:
typedef struct {
union {
uintptr_t header;
struct {
uintptr_t gc_bits:2;
uintptr_t pooled:1;
};
};
char data[];
} buff_t;
Does this mean the compiler is too old? The README says gcc >= 4.4 should
work.
Thanks in advance for any suggestions.