From: Ian Campbell Subject: Re: [xen-unstable] 26319: libcacard error Date: Tue, 3 Dec 2013 10:16:46 +0000 Message-ID: <1386065806.16012.57.camel@kazak.uk.xensource.com> References: <2013010313113655797614@gmail.com> <1357207140.10985.76.camel@zakaz.uk.xensource.com> <529D21B2.4080206@terremark.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <529D21B2.4080206@terremark.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: xen-devel , Stefano Stabellini , yanxiaoliang , Anthony Perard , Samuel Thibault , Daniel De Graaf List-Id: xen-devel@lists.xenproject.org On Mon, 2013-12-02 at 19:11 -0500, Don Slutz wrote: > > It seems likely that his is an upstream qemu issue, but it's not clear > > to me why this appears to not happen anywhere else (according to > > google). It's possible that this functionality is just not widely used? > > It might be useful to raise this on qemu-devel. > https://bugs.launchpad.net/qemu/+bug/1257099 Thanks, lets wait and see what they say. Once there is a backportable patch please let us (mostly Stefano) know. > cd /home/don/xen/stubdom/tpm_emulator-x86_64/build/tpm && /usr/bin/gcc > -std=c99 -DTPM_NO_EXTERN > -isystem /home/don/xen/stubdom/../extras/mini-os/include -D__MINIOS__ > -DHAVE_LIBC > -isystem /home/don/xen/stubdom/../extras/mini-os/include/posix > -isystem /home/don/xen/stubdom/../tools/xenstore > -isystem /home/don/xen/stubdom/../extras/mini-os/include/x86 > -isystem /home/don/xen/stubdom/../extras/mini-os/include/x86/x86_64 -U > __linux__ -U __FreeBSD__ -U __sun__ -nostdinc > -isystem /home/don/xen/stubdom/../extras/mini-os/include/posix > -isystem /home/don/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -isystem /home/don/xen/stubdom/lwip-x86_64/src/include -isystem /home/don/xen/stubdom/lwip-x86_64/src/include/ipv4 -I/home/don/xen/stubdom/include -I/home/don/xen/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -fno-stack-protector -fno-exceptions -Wno-declaration-after-statement -I/opt/local/include -I/home/don/xen/stubdom/tpm_emulator-x86_64 -I/home/don/xen/stubdom/tpm_emulator-x86_64/build -Wall -Werror -Wno-unused-parameter -Wpointer-arith -Wcast-align -Wwrite-strings -Wex tra -o CMakeFiles/tpm.dir/tpm_daa.o -c /home/don/xen/stubdom/tpm_emulator-x86_64/tpm/tpm_daa.c > cc1: warnings being treated as errors > /home/don/xen/stubdom/tpm_emulator-x86_64/tpm/tpm_daa.c: In function 'TPM_DAA_Join': > /home/don/xen/stubdom/tpm_emulator-x86_64/tpm/tpm_daa.c:336: warning: unused parameter 'ordinal' > /home/don/xen/stubdom/tpm_emulator-x86_64/tpm/tpm_daa.c: In function 'TPM_DAA_Sign': > /home/don/xen/stubdom/tpm_emulator-x86_64/tpm/tpm_daa.c:2362: warning: unused parameter 'ordinal' > make[5]: *** [tpm/CMakeFiles/tpm.dir/tpm_daa.o] Error 1 This is despite -Wno-unused-parameter being used in the command line. Perhaps the subsequent -Wextra turns it back on? This is probably one for the tpm_emulator upstream. Ian.