2008/5/31 Neil Jerram <[EMAIL PROTECTED]>: > 2008/5/29 Thiemo Seufer <[EMAIL PROTECTED]>: >> Neil Jerram wrote: >>> 2008/5/28 Thiemo Seufer <[EMAIL PROTECTED]>: >>> > >>> > After a closer look I believe the logic of the test is just plain wrong: >>> > >>> > aux (l) unsigned long l; >>> > { int x; exit (l >= ((unsigned long)&x)); } >>> > main () { int q; aux((unsigned long)&q); }, >>> > >>> > The test returns true for a downward-growing stack, but that sets >>> > SCM_I_GSC_STACK_GROWS_UP=1 !
Another possibility (which came from talking to Stepan Kasal) is that the code is failing because aux is being inlined. To avoid this, we can use instead the find_stack_direction code from Autoconf and Gnulib, in which find_stack_direction calls itself recursively. Therefore I've now committed 2 changes upstream which I hope will fix the current Debian build failures: http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=4ff3575c77f95ed5c86970fa93629ba3cfab1912 http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=9143131b2766d1e29e05d61b5021395b4c93a6bc If someone from Debian could try these out on all the architectures, that would be great. Neil -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]