[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
circular dependency, GNU Make 3.82, realloc invalid next size
From: |
Martin d'Anjou |
Subject: |
circular dependency, GNU Make 3.82, realloc invalid next size |
Date: |
Mon, 21 Nov 2011 09:09:36 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111110 Thunderbird/8.0 |
Hi,
I just compiled GNU Make 3.82 because I was running into a strange
circular dependency error with 3.81. The circular dependency error is
gone as make -n shows, but now I am running into this run time error:
*** glibc detected *** /home/mdanjou/local/bin/make: realloc(): invalid
next size: 0x000000001bd27910 ***
In gdb, the backtrace:
(gdb) bt
#0 0x00000032cc630265 in raise () from /lib64/libc.so.6
#1 0x00000032cc631d10 in abort () from /lib64/libc.so.6
#2 0x00000032cc66a84b in __libc_message () from /lib64/libc.so.6
#3 0x00000032cc6747a4 in _int_realloc () from /lib64/libc.so.6
#4 0x00000032cc675292 in realloc () from /lib64/libc.so.6
#5 0x0000000000411f6e in xrealloc (ptr=0x5574, size=0) at misc.c:400
#6 0x000000000040b242 in pattern_search (file=0x7fffffff99b0,
archive=<value optimized out>, depth=3, recursions=2) at implicit.c:655
#7 0x000000000040b6a4 in pattern_search (file=0x7fffffffad90,
archive=<value optimized out>, depth=2, recursions=1) at implicit.c:750
#8 0x000000000040b6a4 in pattern_search (file=0x6442a0, archive=<value
optimized out>, depth=1, recursions=0) at implicit.c:750
#9 0x000000000040bdb1 in try_implicit_rule (file=0x6442a0, depth=1) at
implicit.c:47
#10 0x0000000000418816 in update_file_1 (file=0x6442a0, depth=0) at
remake.c:493
#11 update_file (file=0x6442a0, depth=0) at remake.c:317
#12 0x0000000000419476 in update_goal_chain (goals=0x65d760) at remake.c:157
#13 0x0000000000411688 in main (argc=2, argv=0x7fffffffdbf8, envp=<value
optimized out>) at main.c:2282
When I do a dry run with "-n", there is no error. When I use 3.81, there
is no error.
All I can think of is the architecture, but it seems okay, as
./configure reported:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
and uname -m:
x86_64
Can someone help?
Thanks,
Martin
- circular dependency, GNU Make 3.82, realloc invalid next size,
Martin d'Anjou <=