OK setting aside the slightly off-topic of Gentoo ricers.
I worked out where the actual log is for building clisp from
the spkg and reproduced the various steps in the sage 
environment (no playing with C(XX)FLAGS) - I use gcc-4.3.3.

First we have an interesting warning at the beginning 
that may have to be taken into account in some cases:
# The default stack size on your platform is insufficient
# and must be increased to at least 16384.  You must do either
# 'ulimit -s 16384' (for Bourne shell derivatives, e.g., bash and zsh)
# or 'limit stacksize 16384' (for C shell derivarives, e.g., tcsh)

However that is not the reason it fails. It fails with this line in the src 
folder:
gcc -Igllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit 
-Wreturn-type -Wmissing-declarations -Wno-sign-compare -O0 
-falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -c spvw.c

And I get a massive amount of warnings about files included from
spvw.d:
In file included from spvw.d:153:
spvw_debug.d: In function ‘nobject_out1’:
spvw_debug.d:84: warning: format ‘%c’ expects type ‘int’, but argument 3 has 
type ‘long unsigned int’
spvw_debug.d:123: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘uintL’
spvw_debug.d:124: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘uintL’
spvw_debug.d:190: warning: format ‘%u’ expects type ‘unsigned int’, but 
argument 3 has type ‘uintL’
spvw_debug.d:190: warning: format ‘%u’ expects type ‘unsigned int’, but 
argument 4 has type ‘long unsigned int’
spvw_debug.d:190: warning: format ‘%u’ expects type ‘unsigned int’, but 
argument 5 has type ‘long unsigned int’
spvw_debug.d:225: warning: format ‘%lx’ expects type ‘long unsigned int’, but 
argument 3 has type ‘void *’
spvw_debug.d:238: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘long int’
spvw_debug.d:286: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘long unsigned int’
spvw_debug.d:291: warning: format ‘%d’ expects type ‘int’, but argument 5 has 
type ‘long unsigned int’
spvw_debug.d:291: warning: format ‘%d’ expects type ‘int’, but argument 6 has 
type ‘uintL’
spvw_debug.d:327: warning: format ‘%lx’ expects type ‘long unsigned int’, but 
argument 4 has type ‘void *’
spvw_debug.d:329: warning: format ‘%lx’ expects type ‘long unsigned int’, but 
argument 3 has type ‘void *’
spvw_debug.d: In function ‘bt_out’:
spvw_debug.d:363: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘uintL’
spvw_debug.d:363: warning: format ‘%lx’ expects type ‘long unsigned int’, but 
argument 4 has type ‘const struct backtrace_t *’
spvw_debug.d:370: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘long unsigned int’
spvw_debug.d:370: warning: format ‘%d’ expects type ‘int’, but argument 4 has 
type ‘long unsigned int’
In file included from spvw.d:546:
spvw_sigsegv.d: In function ‘stackoverflow_handler’:
spvw_sigsegv.d:74: warning: format not a string literal and no format 
arguments
spvw_sigsegv.d:94: error: too few arguments to 
function ‘sigsegv_leave_handler’
In file included from spvw.d:561:
spvw_allocate.d: In function ‘make_space_gc_true’:
spvw_allocate.d:246: warning: format not a string literal and no format 
arguments
spvw_allocate.d: In function ‘make_space_gc_false’:
spvw_allocate.d:305: warning: format not a string literal and no format 
arguments
spvw.d: In function ‘init_module_2’:
spvw.d:1566: warning: format not a string literal and no format arguments
spvw.d:1568: warning: format not a string literal and no format arguments
spvw.d: In function ‘usage’:
spvw.d:1605: warning: format not a string literal and no format arguments
spvw.d:1607: warning: format not a string literal and no format arguments
spvw.d:1608: warning: format not a string literal and no format arguments
spvw.d:1612: warning: format not a string literal and no format arguments
spvw.d:1613: warning: format not a string literal and no format arguments
spvw.d:1614: warning: format not a string literal and no format arguments
spvw.d:1615: warning: format not a string literal and no format arguments
spvw.d:1616: warning: format not a string literal and no format arguments
spvw.d:1617: warning: format not a string literal and no format arguments
spvw.d:1618: warning: format not a string literal and no format arguments
spvw.d:1619: warning: format not a string literal and no format arguments
spvw.d:1621: warning: format not a string literal and no format arguments
spvw.d:1623: warning: format not a string literal and no format arguments
spvw.d:1624: warning: format not a string literal and no format arguments
spvw.d:1628: warning: format not a string literal and no format arguments
spvw.d:1629: warning: format not a string literal and no format arguments
spvw.d:1630: warning: format not a string literal and no format arguments
spvw.d:1631: warning: format not a string literal and no format arguments
spvw.d:1632: warning: format not a string literal and no format arguments
spvw.d:1635: warning: format not a string literal and no format arguments
spvw.d:1636: warning: format not a string literal and no format arguments
spvw.d:1637: warning: format not a string literal and no format arguments
spvw.d:1638: warning: format not a string literal and no format arguments
spvw.d:1639: warning: format not a string literal and no format arguments
spvw.d:1640: warning: format not a string literal and no format arguments
spvw.d:1641: warning: format not a string literal and no format arguments
spvw.d:1642: warning: format not a string literal and no format arguments
spvw.d:1643: warning: format not a string literal and no format arguments
spvw.d:1644: warning: format not a string literal and no format arguments
spvw.d:1645: warning: format not a string literal and no format arguments
spvw.d:1646: warning: format not a string literal and no format arguments
spvw.d:1647: warning: format not a string literal and no format arguments
spvw.d:1648: warning: format not a string literal and no format arguments
spvw.d:1649: warning: format not a string literal and no format arguments
spvw.d:1650: warning: format not a string literal and no format arguments
spvw.d:1651: warning: format not a string literal and no format arguments
spvw.d:1652: warning: format not a string literal and no format arguments
spvw.d:1653: warning: format not a string literal and no format arguments
spvw.d:1654: warning: format not a string literal and no format arguments
spvw.d:1655: warning: format not a string literal and no format arguments
spvw.d:1656: warning: format not a string literal and no format arguments
spvw.d:1657: warning: format not a string literal and no format arguments
In file included from spvw.d:3531:
spvw_memfile.d: In function ‘loadmem_from_handle’:
spvw_memfile.d:1720: warning: format ‘%u’ expects type ‘unsigned int’, but 
argument 3 has type ‘uintL’
make: *** [spvw.o] Error 1

So finally spvw_memfile.d kills the whole compilation.
clisp-2.47 compiles and works fine here (it has a patch for pari and some 
filtering of CFLAGS for some archs). 

Francois

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to