All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Murray <murrayie@yahoo.co.uk>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Compliling Xen 4.5.0 Fails with error: ‘bufioreq_pfn’ may be used uninitialised in this function  [-Werror=uninitialized]
Date: Sun, 15 Mar 2015 22:59:26 +0000 (UTC)	[thread overview]
Message-ID: <101071002.3624992.1426460366726.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <1430082348.3376440.1426266319145.JavaMail.yahoo@mail.yahoo.com>

Hi,

This was originally posted to the user list but it was suggested to me to post it here also. I am getting a failed compilation when I try to compile Xen 4.5.0 from the tarball and also from Git. I can compile RC4, although a bisect reveals that they pertinent difference is debug=y in Config.mk, which allows it to compile. That compiles without a problem and that is what I am running with. I have tried to build on two different servers with the same result, however both are running Ubuntu 12.04.5 and are similarly configured.

Steps I (would) use to build are simply...

./configure
make dist
make install


which results in...

...
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable  
-DNDEBUG -I/root/xen450/xen-4.5.0/xen/include  
-I/root/xen450/xen-4.5.0/xen/include/asm-x86/mach-generic 
-I/root/xen450/xen-4.5.0/xen/include/asm-x86/mach-default -msoft-float 
-fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX 
-DHAVE_GAS_EPT -DHAVE_GAS_FSGSBASE -mno-red-zone -mno-sse -fpic 
-fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin 
-fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ 
-include /root/xen450/xen-4.5.0/xen/include/xen/config.h -nostdinc -DHAS_ACPI 
-DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_MEM_ACCESS -DHAS_MEM_PAGING 
-DHAS_MEM_SHARING -DHAS_PCI -DHAS_IOPORTS -DHAS_PDX -MMD -MF .hvm.o.d -c hvm.c 
-o hvm.o
hvm.c: In function ‘hvm_create_ioreq_server’:
hvm.c:487:18: error: ‘bufioreq_pfn’ may be used uninitialised in this function 
[-Werror=uninitialized]
hvm.c:718:30: note: ‘bufioreq_pfn’ was declared here
cc1: all warnings being treated as errors
make[5]: *** [hvm.o] Error 1

Any suggestions are welcome,

Thanks for reading,

Ian.

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

       reply	other threads:[~2015-03-15 22:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1426264521.32572.176.camel@citrix.com>
     [not found] ` <1430082348.3376440.1426266319145.JavaMail.yahoo@mail.yahoo.com>
2015-03-15 22:59   ` Ian Murray [this message]
2015-03-16  9:45     ` Compliling Xen 4.5.0 Fails with error: ‘bufioreq_pfn’ may be used uninitialised in this function [-Werror=uninitialized] Paul Durrant
2015-03-16 10:00       ` Ian Campbell
2015-03-16 21:19       ` Ian Murray
2015-03-17  0:10         ` Slutz, Donald Christopher
2015-03-17  1:07           ` Ian Murray
2015-03-17 10:37           ` Ian Campbell
2015-03-20 18:16             ` Slutz, Donald Christopher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=101071002.3624992.1426460366726.JavaMail.yahoo@mail.yahoo.com \
    --to=murrayie@yahoo.co.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.