Bug 165529 - Make: assert() fails, make dumps core
Summary: Make: assert() fails, make dumps core
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: make
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-10 07:57 UTC by Suzuki Takashi
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-27 21:32:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.