Bug 165529

Summary: Make: assert() fails, make dumps core
Product: Red Hat Enterprise Linux 3 Reporter: Suzuki Takashi <suzuki-t>
Component: makeAssignee: Jakub Jelinek <jakub>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-27 21:32:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suzuki Takashi 2005-08-10 07:57:04 UTC
+++ This bug was initially created as a clone of Bug #55490 +++

This is the only line in a makefile:

a: CFLAGS += -DMAIN

There is a file a.c, which is irrelevant. I used a simple helloworld 
program.

Run make as:

binand@binand[~/testprogs]:(25) make CFLAGS+=-DMAIN a

This is the output:

cc -DMAIN -DMAIN    a.c   -o a
make: expand.c:489: allocated_variable_append: Assertion 
`current_variable_set_list->next != 0' failed.
Aborted (core dumped)

Comment 1 Suzuki Takashi 2005-08-10 07:59:08 UTC
I wanted to try valgrind,
but couldn't rebuild valgrind-2.2.0-5.EL4.src.rpm or valgrind-2.4.0-3.src.rpm
on a RHEL3WS system.


Comment 2 Jakub Jelinek 2005-09-27 21:32:21 UTC
It is fixed in RHEL4.  I don't think it is severe enough to justify a RHEL3
errata at this point.