* Bug: Compile Fail - v4.4
@ 2014-06-16 18:37 merc1984
2014-06-17 2:52 ` merc1984
2014-06-17 7:51 ` Jan Beulich
0 siblings, 2 replies; 6+ messages in thread
From: merc1984 @ 2014-06-16 18:37 UTC (permalink / raw)
To: Xen-devel
On Debian Testing, x86_64.
I cannot get Xen compiled. I've carefully followed the wiki here:
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=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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug: Compile Fail - v4.4
2014-06-16 18:37 Bug: Compile Fail - v4.4 merc1984
@ 2014-06-17 2:52 ` merc1984
2014-06-17 7:51 ` Jan Beulich
1 sibling, 0 replies; 6+ messages in thread
From: merc1984 @ 2014-06-17 2:52 UTC (permalink / raw)
To: Xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 3663 bytes --]
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=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
--
[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/
--
http://www.fastmail.fm - Access your email from home and the web
[-- Attachment #1.2: Type: text/html, Size: 5495 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug: Compile Fail - v4.4
2014-06-16 18:37 Bug: Compile Fail - v4.4 merc1984
2014-06-17 2:52 ` merc1984
@ 2014-06-17 7:51 ` Jan Beulich
2014-06-17 14:43 ` merc1984
1 sibling, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2014-06-17 7:51 UTC (permalink / raw)
To: merc1984; +Cc: Xen-devel
>>> On 16.06.14 at 20:37, <merc1984@f-m.fm> wrote:
> On Debian Testing, x86_64.
>
> I cannot get Xen compiled. I've carefully followed the wiki here:
> http://wiki.xen.org/wiki/Compiling_Xen_From_Source
> ... especially WRT dependencies, but no change.
You don't mention the most important point here - you're using gcc
4.9.0. A patch for these new warnings was posted already (see
http://lists.xenproject.org/archives/html/xen-devel/2014-06/msg01399.html),
but in the original shape it wasn't immediately acceptable. An
alternative got posted in response a little later. You can pick
any (especially if you're not using blktap2), or simply disable
building of the blktap code via configure option.
As to your subsequent post - please be a little more patient.
Or, even better, just supply a patch (we're on xen-devel after
all).
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug: Compile Fail - v4.4
2014-06-17 7:51 ` Jan Beulich
@ 2014-06-17 14:43 ` merc1984
2014-06-17 14:48 ` Ian Campbell
2014-06-18 7:59 ` Dario Faggioli
0 siblings, 2 replies; 6+ messages in thread
From: merc1984 @ 2014-06-17 14:43 UTC (permalink / raw)
To: Jan Beulich; +Cc: Xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1335 bytes --]
On Tue, Jun 17, 2014, at 0:51, Jan Beulich wrote:
On 16.06.14 at 20: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.
You don't mention the most important point here - you're using gcc
4.9.0. A patch for these new warnings was posted already (see
[3]http://lists.xenproject.org/archives/html/xen-devel/2014-06/msg01399
.html),
but in the original shape it wasn't immediately acceptable. An
alternative got posted in response a little later. You can pick
any (especially if you're not using blktap2), or simply disable
building of the blktap code via configure option.
Thank you. Be advised that I got this from the Supported download
point
(http://www.xenproject.org/downloads/xen-archives/xen-44-series/xen-440
.html), so this is going to keep happening, or users will simply give
up.
Also I wish I could make a number of clarifications and updates in the
wiki, of issues that tripped me up for days.
References
1. mailto:merc1984@f-m.fm
2. http://wiki.xen.org/wiki/Compiling_Xen_From_Source
3. http://lists.xenproject.org/archives/html/xen-devel/2014-06/msg01399.html
--
http://www.fastmail.fm - The professional email service
[-- Attachment #1.2: Type: text/html, Size: 2780 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug: Compile Fail - v4.4
2014-06-17 14:43 ` merc1984
@ 2014-06-17 14:48 ` Ian Campbell
2014-06-18 7:59 ` Dario Faggioli
1 sibling, 0 replies; 6+ messages in thread
From: Ian Campbell @ 2014-06-17 14:48 UTC (permalink / raw)
To: merc1984; +Cc: Jan Beulich, Xen-devel
On Tue, 2014-06-17 at 07:43 -0700, merc1984@f-m.fm wrote:
> Also I wish I could make a number of clarifications and updates in the
> wiki, of issues that tripped me up for days.
If you register for an account then you can request write access via
http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
(sorry about this, spammers spoiling it for everyone...)
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug: Compile Fail - v4.4
2014-06-17 14:43 ` merc1984
2014-06-17 14:48 ` Ian Campbell
@ 2014-06-18 7:59 ` Dario Faggioli
1 sibling, 0 replies; 6+ messages in thread
From: Dario Faggioli @ 2014-06-18 7:59 UTC (permalink / raw)
To: merc1984; +Cc: Jan Beulich, Xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 2438 bytes --]
On mar, 2014-06-17 at 07:43 -0700, merc1984@f-m.fm wrote:
>
> On Tue, Jun 17, 2014, at 0:51, Jan Beulich wrote:
> > On 16.06.14 at 20:37, <merc1984@f-m.fm>
> > wrote:
> >
> > On Debian Testing, x86_64.
> >
> > I cannot get Xen compiled. I've carefully followed the wiki
> > here:
> > http://wiki.xen.org/wiki/Compiling_Xen_From_Source
> > ... especially WRT dependencies, but no change.
> >
> > You don't mention the most important point here - you're using gcc
> > 4.9.0. A patch for these new warnings was posted already (see
> > http://lists.xenproject.org/archives/html/xen-devel/2014-06/msg01399.html),
> > but in the original shape it wasn't immediately acceptable. An
> > alternative got posted in response a little later. You can pick
> > any (especially if you're not using blktap2), or simply disable
> > building of the blktap code via configure option.
>
> Thank you. Be advised that I got this from the Supported download
> point
> (http://www.xenproject.org/downloads/xen-archives/xen-44-series/xen-440.html), so this is going to keep happening, or users will simply give up.
>
You're right. I tried to ping the discussion containing the proposed fix
already here:
http://lists.xen.org/archives/html/xen-devel/2014-06/msg02065.html
Hopefully, someone will look at the patch soon...
> Also I wish I could make a number of clarifications and updates in the
> wiki, of issues that tripped me up for days.
>
Yeah, please do! Do as Ian said for getting write access and then go
ahead.
Also, next Wednesday is going to be one of our Docs Day:
http://lists.xen.org/archives/html/xen-devel/2014-06/msg02266.html
http://wiki.xenproject.org/wiki/Xen_Document_Days
If you have time, I'd really recommend participating.
In the mean time, if there are issues that you've found in the docs, but
for any reason you can't fix them right away, consider adding them here,
so that they someone can take care of them during the event:
http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-18 7:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 18:37 Bug: Compile Fail - v4.4 merc1984
2014-06-17 2:52 ` merc1984
2014-06-17 7:51 ` Jan Beulich
2014-06-17 14:43 ` merc1984
2014-06-17 14:48 ` Ian Campbell
2014-06-18 7:59 ` Dario Faggioli
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.