Red Hat Bugzilla – Bug 127101
Bison 1.875c breaks rebuilding of gcc 3.2.3
Last modified: 2007-11-30 17:07:02 EST
Description of problem:
Please be very carefull with the update 1.875c (pre-announced in bug
#116823, because rebuilding of gcc-3.2.3-34 at IA32 using 1.875c-x
(rebuilded from Fedora Development) caused the following problem; so
the gcc rebuild died in this way:
--- snipp ---
gcc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include \ -c ../../gcc/c-parse.c -o c-parse.o
c-p18625.c:349:20: attempt to use poisoned "malloc"
make: *** [c-parse.o] Error 1
make: Leaving directory `/usr/src/redhat/BUILD/gcc-3.2.3-20031114/obj-i386-redhat-linux/gcc'
--- snapp ---
Version-Release number of selected component (if applicable):
Everytime, see below.
Steps to Reproduce:
1. Get bison-1.875c-x from Fedora Development, rebuild and install it
2. Get gcc-3.2.3-34 from RHEL3 Updates, try to rebuild it
3. Die with the error written above
Rebuilding of gcc using bison-1.875c-x dies.
Working rebuild of gcc further on...
That problem is NOT reproducable for me using the original bison-
Thanks for noticing this. The RHEL3 update of bison will be 1.875c
with the problematic change backed out so that the old gcc sources do
not elicit this problem.
Thank you Roland and/or Jakub for working out a solution - gcc-3.2.3-39
rebuilds against bison-1.875c-2, here...closing.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.