Page 1 of 1

2.1.12-2.6.26-200807271420 fails to build on sparc64

PostPosted: Tue Aug 05, 2008 11:04 am
by androsyn
Below are the compile errors I get:

arch/sparc64/mm/fault.c: In function 'pax_emuplt_nopage':
arch/sparc64/mm/fault.c:283: error: 'NOPAGE_OOM' undeclared (first use in this function)
arch/sparc64/mm/fault.c:283: error: (Each undeclared identifier is reported only once
arch/sparc64/mm/fault.c:283: error: for each function it appears in.)
arch/sparc64/mm/fault.c: At top level:
arch/sparc64/mm/fault.c:297: error: unknown field 'nopage' specified in initializer
arch/sparc64/mm/fault.c:297: warning: initialization from incompatible pointer type
make[1]: *** [arch/sparc64/mm/fault.o] Error 1
make: *** [arch/sparc64/mm] Error 2

Re: 2.1.12-2.6.26-200807271420 fails to build on sparc64

PostPosted: Tue Aug 05, 2008 7:44 pm
by PaX Team
androsyn wrote:Below are the compile errors I get:

arch/sparc64/mm/fault.c: In function 'pax_emuplt_nopage':
arch/sparc64/mm/fault.c:283: error: 'NOPAGE_OOM' undeclared (first use in this function)
arch/sparc64/mm/fault.c:283: error: (Each undeclared identifier is reported only once
arch/sparc64/mm/fault.c:283: error: for each function it appears in.)
arch/sparc64/mm/fault.c: At top level:
arch/sparc64/mm/fault.c:297: error: unknown field 'nopage' specified in initializer
arch/sparc64/mm/fault.c:297: warning: initialization from incompatible pointer type
make[1]: *** [arch/sparc64/mm/fault.o] Error 1
make: *** [arch/sparc64/mm] Error 2
fixed in -test8, can you try it please?

Re: 2.1.12-2.6.26-200807271420 fails to build on sparc64

PostPosted: Wed Aug 06, 2008 10:44 am
by androsyn
Got the following warnings:

arch/sparc64/mm/fault.c: In function 'pax_emuplt_fault':
arch/sparc64/mm/fault.c:282: warning: return makes pointer from integer without a cast
arch/sparc64/mm/fault.c:289: warning: return makes pointer from integer without a cast
arch/sparc64/mm/fault.c: At top level:
arch/sparc64/mm/fault.c:295: warning: initialization from incompatible pointer type

Re: 2.1.12-2.6.26-200807271420 fails to build on sparc64

PostPosted: Wed Aug 06, 2008 1:55 pm
by PaX Team
androsyn wrote:Got the following warnings:

arch/sparc64/mm/fault.c: In function 'pax_emuplt_fault':
arch/sparc64/mm/fault.c:282: warning: return makes pointer from integer without a cast
arch/sparc64/mm/fault.c:289: warning: return makes pointer from integer without a cast
arch/sparc64/mm/fault.c: At top level:
arch/sparc64/mm/fault.c:295: warning: initialization from incompatible pointer type
thanks, test9 should fix these.

Re: 2.1.12-2.6.26-200807271420 fails to build on sparc64

PostPosted: Fri Aug 08, 2008 8:48 am
by androsyn
Yeah test9 fixed this. All seems to be looking good now.