From: merc1984@f-m.fm Subject: Re: Bug: Compile Fail - v4.4 Date: Mon, 16 Jun 2014 19:52:03 -0700 Message-ID: <1402973523.20983.129561645.082780BE@webmail.messagingengine.com> References: <1402943822.32292.129413189.081B2002@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6356798180833958749==" Return-path: In-Reply-To: <1402943822.32292.129413189.081B2002@webmail.messagingengine.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: Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============6356798180833958749== Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary="_----------=_1402973523209833"; charset="utf-8" This is a multi-part message in MIME format. --_----------=_1402973523209833 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Can someone please advise? I need this to get VGA passthrough, as Debian Xen packages can't do it. On Mon, Jun 16, 2014, at 11:37, [1]merc1984@f-m.fm wrote: On Debian Testing, x86_64. I cannot get Xen compiled. I've carefully followed the wiki here: [2]http://wiki.xen.org/wiki/Compiling_Xen_From_Source ... especially WRT dependencies, but no change. gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -or -g -Wno-unused -fno-strict-aliasing -I../include -I../drivers -I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc -I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../. gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -or -g -Wno-unused -fno-strict-aliasing -I../include -I../drivers -I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc -I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../. gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -ror -g -Wno-unused -fno-strict-aliasing -I../include -I../drivers -I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc -I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../ block-qcow.c: In function =E2=80=98get_cluster_offset=E2=80=99: block-qcow.c:431:3: error: =E2=80=98tmp_ptr=E2=80=99 may be used uninitiali= zed in this function [-Werror=3Dmaybe-uninitialized] memcpy(tmp_ptr, l1_ptr, 4096); ^ block-qcow.c:606:7: error: =E2=80=98tmp_ptr2=E2=80=99 may be used uninitial= ized in this function [-Werror=3Dmaybe-uninitialized] if (write(s->fd, tmp_ptr2, 4096) !=3D 4096) { ^ cc1: all warnings being treated as errors /usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/Rules.mk: 89: recipe for target 'block-qcow.o' failed make[6]: *** [block-qcow.o] Error 1 make[6]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2/drivers' /usr/local/src/xen-4.4.0/tools/blktap2/../../tools/Rules.mk:105: recipe for target 'subdir-install-drivers' failed make[5]: *** [subdir-install-drivers] Error 2 make[5]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2' /usr/local/src/xen-4.4.0/tools/blktap2/../../tools/Rules.mk:100: recipe for target 'subdirs-install' failed make[4]: *** [subdirs-install] Error 2 make[4]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2' /usr/local/src/xen-4.4.0/tools/../tools/Rules.mk:105: recipe for target 'subdir-install-blktap2' failed make[3]: *** [subdir-install-blktap2] Error 2 make[3]: Leaving directory '/usr/local/src/xen-4.4.0/tools' /usr/local/src/xen-4.4.0/tools/../tools/Rules.mk:100: recipe for target 'subdirs-install' failed make[2]: *** [subdirs-install] Error 2 make[2]: Leaving directory '/usr/local/src/xen-4.4.0/tools' Makefile:96: recipe for target 'install-tools' failed make[1]: *** [install-tools] Error 2 make[1]: Leaving directory '/usr/local/src/xen-4.4.0' Makefile:144: recipe for target 'world' failed make: *** [world] Error 2 -- [3]http://www.fastmail.fm - IMAP accessible web-mail References 1. mailto:merc1984@f-m.fm 2. http://wiki.xen.org/wiki/Compiling_Xen_From_Source 3. http://www.fastmail.fm/ --=20 http://www.fastmail.fm - Access your email from home and the web --_----------=_1402973523209833 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset="utf-8"
 
Can someone please advise?  I need this to get VGA passthrough, as Debian Xen packages can't do it.
 
 
 
On Mon, Jun 16, 2014, at 11:37, merc1984@f-m.fm wrote:
 
On Debian Testing, x86_64.
 
I cannot get Xen compiled.  I've carefully followed the wiki here:
... especially WRT dependencies, but no change.
 
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -or -g
-Wno-unused -fno-strict-aliasing -I../include -I../drivers
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../.
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -or -g
-Wno-unused -fno-strict-aliasing -I../include -I../drivers
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../.
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -ror -g
-Wno-unused -fno-strict-aliasing -I../include -I../drivers
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/libxc
-I/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../
block-qcow.c: In function ‘get_cluster_offset’:
block-qcow.c:431:3: error: ‘tmp_ptr’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
  memcpy(tmp_ptr, l1_ptr, 4096);
  ^
block-qcow.c:606:7: error: ‘tmp_ptr2’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
  if (write(s->fd, tmp_ptr2, 4096) != 4096) {
      ^
cc1: all warnings being treated as errors
/usr/local/src/xen-4.4.0/tools/blktap2/drivers/../../../tools/Rules.mk:89:
recipe for target 'block-qcow.o' failed
make[6]: *** [block-qcow.o] Error 1
make[6]: Leaving directory
'/usr/local/src/xen-4.4.0/tools/blktap2/drivers'
/usr/local/src/xen-4.4.0/tools/blktap2/../../tools/Rules.mk:105: recipe
for target 'subdir-install-drivers' failed
make[5]: *** [subdir-install-drivers] Error 2
make[5]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2'
/usr/local/src/xen-4.4.0/tools/blktap2/../../tools/Rules.mk:100: recipe
for target 'subdirs-install' failed
make[4]: *** [subdirs-install] Error 2
make[4]: Leaving directory '/usr/local/src/xen-4.4.0/tools/blktap2'
/usr/local/src/xen-4.4.0/tools/../tools/Rules.mk:105: recipe for target
'subdir-install-blktap2' failed
make[3]: *** [subdir-install-blktap2] Error 2
make[3]: Leaving directory '/usr/local/src/xen-4.4.0/tools'
/usr/local/src/xen-4.4.0/tools/../tools/Rules.mk:100: recipe for target
'subdirs-install' failed
make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory '/usr/local/src/xen-4.4.0/tools'
Makefile:96: recipe for target 'install-tools' failed
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory '/usr/local/src/xen-4.4.0'
Makefile:144: recipe for target 'world' failed
make: *** [world] Error 2
 
--
http://www.fastmail.fm - IMAP accessible web-mail
 
-- 
http://www.fastmail.fm - Access your email from home and the web
--_----------=_1402973523209833-- --===============6356798180833958749== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6356798180833958749==--