* bug#9832: [bug #34619] Aborted compilation when configured with --enable-debug-malloc
@ 2011-10-22 11:24 Bake Timmons
2011-10-22 11:38 ` bug#9834: " Ludovic Courtès
2013-03-10 20:14 ` bug#9832: " Andy Wingo
0 siblings, 2 replies; 4+ messages in thread
From: Bake Timmons @ 2011-10-22 11:24 UTC (permalink / raw)
To: b3timmons, 9832
URL:
<http://savannah.gnu.org/bugs/?34619>
Summary: Aborted compilation when configured with
--enable-debug-malloc
Project: Guile
Submitted by: bt3
Submitted on: Sat 22 Oct 2011 11:24:47 AM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
After configuring with --enable-debug-malloc, compiling yielded the
following:
libtool: compile: gcc -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I..
-I../lib -I../lib -pthread -Wall -Wmissing-prototypes
-Wdeclaration-after-statement -Wswitch-enum -fvisibility=hidden
-I/usr/local/include -g -ggdb3 --param l1-cache-line-size=64 --param
l1-cache-size=64 --param l2-cache-size=512 -march=athlon64 -O2
-fno-omit-frame-pointer -MT libguile_2.2_la-gc-malloc.lo -MD -MP -MF
.deps/libguile_2.2_la-gc-malloc.Tpo -c gc-malloc.c -fPIC -DPIC -o
.libs/libguile_2.2_la-gc-malloc.o
mv -f .deps/libguile_2.2_la-frames.Tpo .deps/libguile_2.2_la-frames.Plo
gc-malloc.c: In function 'scm_gc_register_collectable_memory':
gc-malloc.c:157:5: error: too few arguments to function 'scm_malloc_register'
Here is a patch:
commit 1f97614e3b42021d4e9c9a3b1550e2401117b5d5
Author: Bake Timmons <b3timmons@speedymail.org>
Date: Sat Oct 22 07:04:05 2011 -0400
* libguile/gc-malloc.c (scm_gc_register_collectable_memory): Add the
missing second argument in the call to scm_malloc_register.
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c
index 839154a..a8a54c7 100644
--- a/libguile/gc-malloc.c
+++ b/libguile/gc-malloc.c
@@ -154,7 +154,7 @@ scm_gc_register_collectable_memory (void *mem, size_t
size, const char *what)
/* Nothing to do. */
#ifdef GUILE_DEBUG_MALLOC
if (mem)
- scm_malloc_register (mem);
+ scm_malloc_register (mem, what);
#endif
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34619>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#9834: [bug #34619] Aborted compilation when configured with --enable-debug-malloc
2011-10-22 11:24 bug#9832: [bug #34619] Aborted compilation when configured with --enable-debug-malloc Bake Timmons
@ 2011-10-22 11:38 ` Ludovic Courtès
2011-10-22 15:58 ` Ludovic Courtès
2013-03-10 20:14 ` bug#9832: " Andy Wingo
1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2011-10-22 11:38 UTC (permalink / raw)
To: ludo, b3timmons, 9834
Update of bug #34619 (project guile):
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Committed, thanks!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34619>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#9834: [bug #34619] Aborted compilation when configured with --enable-debug-malloc
2011-10-22 11:38 ` bug#9834: " Ludovic Courtès
@ 2011-10-22 15:58 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2011-10-22 15:58 UTC (permalink / raw)
To: 9834-done
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#9832: [bug #34619] Aborted compilation when configured with --enable-debug-malloc
2011-10-22 11:24 bug#9832: [bug #34619] Aborted compilation when configured with --enable-debug-malloc Bake Timmons
2011-10-22 11:38 ` bug#9834: " Ludovic Courtès
@ 2013-03-10 20:14 ` Andy Wingo
1 sibling, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2013-03-10 20:14 UTC (permalink / raw)
To: 9832-close
Committed and closed in savannah in 2011.
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-10 20:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-22 11:24 bug#9832: [bug #34619] Aborted compilation when configured with --enable-debug-malloc Bake Timmons
2011-10-22 11:38 ` bug#9834: " Ludovic Courtès
2011-10-22 15:58 ` Ludovic Courtès
2013-03-10 20:14 ` bug#9832: " Andy Wingo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).