[Gc] Re[2]: Powerpc/m68k issue running test_stack

Thorsten Glaser tg at mirbsd.de
Wed Dec 5 10:08:50 PST 2012


Pavel Raiskup dixit:

>I was unable to find here in mail archives system (glibc, kernel, ..)
>requirements for supporting this test on PowerPC - thus I'm not sure how
>to fix/help you regarding this issue.

Can you try with this patch applied for more debugging?

--- tests/test_stack.c~	Wed Dec  5 18:06:29 2012
+++ tests/test_stack.c	Wed Dec  5 18:08:22 2012
@@ -78,6 +78,8 @@ typedef struct le {
 
 AO_stack_t the_list = AO_STACK_INITIALIZER;
 
+#define VERBOSE
+
 void add_elements(int n)
 {
   list_element * le;
@@ -240,6 +242,8 @@ int main(int argc, char **argv)
         int list_length = nthreads*(nthreads+1)/2;
         long long start_time;
         list_element * le;
+printf("Before add_elements: exper_n=%d nthreads=%d max_nthreads=%d list_length=%d\n",exper_n,nthreads,max_nthreads,list_length);
+fflush(stdout);
 
         add_elements(list_length);
 #       ifdef VERBOSE

bye,
//mirabilos
-- 
I want one of these. They cost 720 € though… good they don’t have the HD hole,
which indicates 3½″ floppies with double capacity… still. A tad too much, atm.
‣ http://www.floppytable.com/floppytable-images-1.html



More information about the Gc mailing list