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

Re: [Xen-devel] [PATCH VTPM v8 0/8] Vtpm patch set

Putting list back again.

On Fri, 2013-01-11 at 16:25 +0000, Fioravante, Matthew E. wrote:
> > CMAKE_BUILD_TYPE is blank for me.
> Ok I think thatâs the bug. It looks like the default value of
> BUILD_TYPE is dependent on the compiler.
> Can you try changing the line in stubdom/Makefile to do
> -DCMAKE_C_FLAGS_RELEASE=<stuff> and and add
> -DCMAKE_BUILD_TYPE=Release. Then do a make cross-tpmemu and see if
> TPM_NO_EXTERN was set in the build. 

I applied:
diff --git a/stubdom/Makefile b/stubdom/Makefile
index 3006ad6..a74480e 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -208,7 +208,7 @@ tpm_emulator-$(XEN_TARGET_ARCH): 
        mv tpm_emulator-$(TPMEMU_VERSION) $@
        patch -d $@ -p1 < tpmemu-$(TPMEMU_VERSION).patch;
        mkdir $@/build
-       cd $@/build; $(CMAKE) .. -DCMAKE_C_COMPILER=${CC} 
+       cd $@/build; $(CMAKE) .. -DCMAKE_C_COMPILER=${CC} 
$(TARGET_CFLAGS) -Wno-declaration-after-statement" -DCMAKE_BUILD_TYPE=Release
        touch $@

Is this what you meant?

$ rm ./cross-root-x86_64/x86_64-xen-elf/lib/libtpm.a
$ rm -rf tpm_emulator-x86_64/
$ make cross-tpmemu

I don't see NO_EXTERN anywhere apart from the initial invocation of
CMAKE and I still see the undesired symbols in

ccmake does say release now though.


Xen-devel mailing list



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