[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc internal error building m4



Hello.

Latest m4 FTBFS on several architectures, for different reasons.

On hppa, it seems to trigger a gcc bug:

gcc -std=gnu99  -g -Wall -O2   -o test-fpurge test-fpurge.o libtests.a ../lib/libm4.a libtests.a  
collect2: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
gcc: Internal error: Aborted (program collect2)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.

I assume a build-depends on gcc-4.3 would be a workaround for this, but
that should only be done as a last resort.

[ Please Cc: me as I'm not subscribed ].

Thanks.


Reply to: