[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [xen-unstable test] 15136: regressions - FAIL



On Sat, 2013-01-19 at 12:52 +0000, Ian Campbell wrote:
> On Sat, 2013-01-19 at 12:41 +0000, xen.org wrote:
> > Tests which did not succeed and are blocking,
> > including tests which could not be run:
> >  build-i386                    4 xen-build                 fail REGR. vs. 
> > 15130
> >  build-i386-oldkern            4 xen-build                 fail REGR. vs. 
> > 15130 
> 
> Looks like vtpm_storage.c doesn't compile for 32-bit:
>         vtpm_storage.c: In function 'vtpm_storage_load_header':
>         vtpm_storage.c:658: error: format '%ld' expects type 'long int', but 
> argument 5 has type 'unsigned int'
>         vtpm_storage.c:658: error: format '%ld' expects type 'long int', but 
> argument 5 has type 'unsigned int'
>         make[2]: *** [vtpm_storage.o] Error 1

diff --git a/stubdom/vtpmmgr/vtpm_storage.c b/stubdom/vtpmmgr/vtpm_storage.c
index abb0dba..de21b4a 100644
--- a/stubdom/vtpmmgr/vtpm_storage.c
+++ b/stubdom/vtpmmgr/vtpm_storage.c
@@ -655,7 +655,7 @@ TPM_RESULT vtpm_storage_load_header(void)
 
    /* Validate the length of the output buffer */
    if(datalen < AES_KEY_SIZE + sizeof(UINT32)) {
-      vtpmlogerror(VTPM_LOG_VTPM, "Unbound AES key size (%d) was too small! 
expected (%ld)\n", datalen, AES_KEY_SIZE + sizeof(UINT32));
+      vtpmlogerror(VTPM_LOG_VTPM, "Unbound AES key size (%d) was too small! 
expected (%zu)\n", datalen, AES_KEY_SIZE + sizeof(UINT32));
       status = TPM_IOERROR;
       goto abort_egress;
    }

But also:

ld -nostdlib 
-L/local/scratch/ianc/devel/xen-unstable.git/stubdom/cross-root-i686/i686-xen-elf/lib
  -m elf_i386 \
        -T arch/x86/minios-x86_32.lds 
/local/scratch/ianc/devel/xen-unstable.git/stubdom/mini-os-x86_32-vtpmmgr/mini-os.o
  \
        -o 
/local/scratch/ianc/devel/xen-unstable.git/stubdom/mini-os-x86_32-vtpmmgr/mini-os
ld: warning: section `.bss' type changed to PROGBITS
/local/scratch/ianc/devel/xen-unstable.git/stubdom/mini-os-x86_32-vtpmmgr/mini-os.o:
 In function `aes_crypt_ecb':
/local/scratch/ianc/devel/xen-unstable.git/stubdom/polarssl-x86_32/library/aes.c:659:
 undefined reference to `padlock_supports'
/local/scratch/ianc/devel/xen-unstable.git/stubdom/polarssl-x86_32/library/aes.c:661:
 undefined reference to `padlock_xcryptecb'
/local/scratch/ianc/devel/xen-unstable.git/stubdom/mini-os-x86_32-vtpmmgr/mini-os.o:
 In function `aes_crypt_cbc':
/local/scratch/ianc/devel/xen-unstable.git/stubdom/polarssl-x86_32/library/aes.c:771:
 undefined reference to `padlock_supports'
/local/scratch/ianc/devel/xen-unstable.git/stubdom/polarssl-x86_32/library/aes.c:773:
 undefined reference to `padlock_xcryptcbc'
make[1]: *** 
[/local/scratch/ianc/devel/xen-unstable.git/stubdom/mini-os-x86_32-vtpmmgr/mini-os]
 Error 1
make[1]: Leaving directory 
`/local/scratch/ianc/devel/xen-unstable.git/extras/mini-os'
make: *** [vtpmmgr-stubdom] Error 2




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.