Stephan Zimmer <st.zimmer@xxxxxx> writes: > c-p9871.c:497:43: attempt to use poisoned "malloc" Try installing a new version of bison. > I tried to solve the problem with the 'poisoned "malloc"' by > applying the YYMALLOC patches as, e.g., described at > http://gcc.gnu.org/ml/gcc/2004-09/msg00927.html. However, the error > persists. Can anyone help? What actually is a "poisoned" > (x){c,m}alloc? This happens because gcc/system.h says #pragma GCC poison malloc realloc It is because gcc source code should not use malloc. In your case the error is happening in code generated by yacc/bison. Ian