* Xen 4.4 - NetBSD libaio
@ 2014-04-17 19:21 Miguel Clara
2014-04-18 6:38 ` Ian Campbell
0 siblings, 1 reply; 8+ messages in thread
From: Miguel Clara @ 2014-04-17 19:21 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 405 bytes --]
Hello,
I'm getting an error with ./configure in netbsd 6.1.3
configure: error: Could not find libaio
configure: error: ./configure failed for tools
I tried adding (to config/NetBSD.Mk):
CONFIG_SYSTEM_LIBAIO = n
But still get the same output
Looking into "tools/Makefile" I don't see this part:
ifneq ($(CONFIG_SYSTEM_LIBAIO),y)
SUBDIRS-libaio := libaio
endif
As I see for example in 4.2 (pkgsrc)
[-- Attachment #1.2: Type: text/html, Size: 717 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] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-17 19:21 Xen 4.4 - NetBSD libaio Miguel Clara
@ 2014-04-18 6:38 ` Ian Campbell
2014-04-18 13:23 ` Mike C.
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2014-04-18 6:38 UTC (permalink / raw)
To: Miguel Clara; +Cc: xen-devel@lists.xensource.com
On Thu, 2014-04-17 at 20:21 +0100, Miguel Clara wrote:
> configure: error: Could not find libaio
> configure: error: ./configure failed for tools
> I tried adding (to config/NetBSD.Mk):
> CONFIG_SYSTEM_LIBAIO = n
We dropped our ancient in-tree copy of libaio in 4.4. You need to
arrange for it to be installed as a dependency now (from ports, or
however this stuff works on BSD).
Ian.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-18 6:38 ` Ian Campbell
@ 2014-04-18 13:23 ` Mike C.
2014-04-18 18:21 ` Ian Campbell
0 siblings, 1 reply; 8+ messages in thread
From: Mike C. @ 2014-04-18 13:23 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 849 bytes --]
Theres is no libaio in NetBSD not in the system or even pkgsrc/package.
I was looking into the pkgsrc version and it has libaio under tools/libaio... so its patched to use that version but its probably ancient as you said.
NetBSD uses the POSIX aio I wonder if xen could use that?
Thanks
On 18 April 2014 07:38:57 WEST, Ian Campbell <Ian.Campbell@citrix.com> wrote:
>On Thu, 2014-04-17 at 20:21 +0100, Miguel Clara wrote:
>
>
>> configure: error: Could not find libaio
>> configure: error: ./configure failed for tools
>
>> I tried adding (to config/NetBSD.Mk):
>> CONFIG_SYSTEM_LIBAIO = n
>
>We dropped our ancient in-tree copy of libaio in 4.4. You need to
>arrange for it to be installed as a dependency now (from ports, or
>however this stuff works on BSD).
>
>Ian.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[-- Attachment #1.2: Type: text/html, Size: 1465 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] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-18 13:23 ` Mike C.
@ 2014-04-18 18:21 ` Ian Campbell
2014-04-18 19:05 ` Miguel Clara
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2014-04-18 18:21 UTC (permalink / raw)
To: Mike C.; +Cc: xen-devel@lists.xensource.com
On Fri, 2014-04-18 at 14:23 +0100, Mike C. wrote:
> NetBSD uses the POSIX aio I wonder if xen could use that?
Hrm, seem like this has come up before (I'd totally forgotten).
http://lists.xen.org/archives/html/xen-devel/2012-01/msg00499.html says
that "NetBSD provides the aio interface (IEEE Std 1003.1-2001
(``POSIX.1'')) via the POSIX real-time library (-lrt)." (which I suppose
is the same as what you were referring to)
On the other hand libaio is only used by blktap, isn't it? That's
totally Linux specific. Perhaps you could send a patch to the autoconf
machinery to remove the libaio requirement on non-Linux?
Ian.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-18 18:21 ` Ian Campbell
@ 2014-04-18 19:05 ` Miguel Clara
2014-04-18 19:11 ` Ian Campbell
0 siblings, 1 reply; 8+ messages in thread
From: Miguel Clara @ 2014-04-18 19:05 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 1028 bytes --]
Yes that it.
I don't know where its used, but that's what makes most sense.
I'm not much of a codder, but that part seems rather easy... I simply if
checking if the OS is NETBSD.
Actually...
http://lists.xen.org/archives/html/xen-devel/2011-10/msg00141.html
I guess that would do it?
On Fri, Apr 18, 2014 at 7:21 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:
> On Fri, 2014-04-18 at 14:23 +0100, Mike C. wrote:
> > NetBSD uses the POSIX aio I wonder if xen could use that?
>
> Hrm, seem like this has come up before (I'd totally forgotten).
>
> http://lists.xen.org/archives/html/xen-devel/2012-01/msg00499.html says
> that "NetBSD provides the aio interface (IEEE Std 1003.1-2001
> (``POSIX.1'')) via the POSIX real-time library (-lrt)." (which I suppose
> is the same as what you were referring to)
>
> On the other hand libaio is only used by blktap, isn't it? That's
> totally Linux specific. Perhaps you could send a patch to the autoconf
> machinery to remove the libaio requirement on non-Linux?
>
> Ian.
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 1749 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] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-18 19:05 ` Miguel Clara
@ 2014-04-18 19:11 ` Ian Campbell
2014-04-18 19:16 ` Andrew Cooper
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2014-04-18 19:11 UTC (permalink / raw)
To: Miguel Clara; +Cc: xen-devel@lists.xensource.com
On Fri, 2014-04-18 at 20:05 +0100, Miguel Clara wrote:
> Yes that it.
>
> I don't know where its used, but that's what makes most sense.
>
>
> I'm not much of a codder, but that part seems rather easy... I simply
> if checking if the OS is NETBSD.
>
>
> Actually...
> http://lists.xen.org/archives/html/xen-devel/2011-10/msg00141.html
>
>
> I guess that would do it?
That looks like a qemu patch. You might need that too but the patch I
was thinking of ought to mostly be against xen.git/tools/configure.ac I
think.
Ian.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-18 19:11 ` Ian Campbell
@ 2014-04-18 19:16 ` Andrew Cooper
2014-04-18 19:26 ` Miguel Clara
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Cooper @ 2014-04-18 19:16 UTC (permalink / raw)
To: Ian Campbell, Miguel Clara; +Cc: xen-devel@lists.xensource.com
On 18/04/2014 20:11, Ian Campbell wrote:
> On Fri, 2014-04-18 at 20:05 +0100, Miguel Clara wrote:
>> Yes that it.
>>
>> I don't know where its used, but that's what makes most sense.
>>
>>
>> I'm not much of a codder, but that part seems rather easy... I simply
>> if checking if the OS is NETBSD.
>>
>>
>> Actually...
>> http://lists.xen.org/archives/html/xen-devel/2011-10/msg00141.html
>>
>>
>> I guess that would do it?
> That looks like a qemu patch. You might need that too but the patch I
> was thinking of ought to mostly be against xen.git/tools/configure.ac I
> think.
>
> Ian.
>
Roger has a patch for exactly this problem in his FreeBSD series.
Subject: [Xen-devel] [PATCH RFC 02/23] configure: make the libaio test
non-fatal on OSes different than Linux
Message-ID: 1397657612-57277-3-git-send-email-roger.pau@citrix.com
It might be worth fast tracking it.
~Andrew
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Xen 4.4 - NetBSD libaio
2014-04-18 19:16 ` Andrew Cooper
@ 2014-04-18 19:26 ` Miguel Clara
0 siblings, 0 replies; 8+ messages in thread
From: Miguel Clara @ 2014-04-18 19:26 UTC (permalink / raw)
To: Andrew Cooper; +Cc: xen-devel@lists.xensource.com, Ian Campbell
[-- Attachment #1.1: Type: text/plain, Size: 1423 bytes --]
Ah yes I read it to fast... that was for qemu, I'll have a look in the
pkgsrc tree see what they did better, that freebsd patch might bee very
helpful too, thanks Andrew.
Would be nice to be able to patch cause, there's not pkgsrc port for
xen-4.3 yet so I doubt I will see one for 4.4 anytime soon, but patching
this part is essential for a future port, I'll see what I can achieve on my
own!
On Fri, Apr 18, 2014 at 8:16 PM, Andrew Cooper <andrew.cooper3@citrix.com>wrote:
> On 18/04/2014 20:11, Ian Campbell wrote:
> > On Fri, 2014-04-18 at 20:05 +0100, Miguel Clara wrote:
> >> Yes that it.
> >>
> >> I don't know where its used, but that's what makes most sense.
> >>
> >>
> >> I'm not much of a codder, but that part seems rather easy... I simply
> >> if checking if the OS is NETBSD.
> >>
> >>
> >> Actually...
> >> http://lists.xen.org/archives/html/xen-devel/2011-10/msg00141.html
> >>
> >>
> >> I guess that would do it?
> > That looks like a qemu patch. You might need that too but the patch I
> > was thinking of ought to mostly be against xen.git/tools/configure.ac I
> > think.
> >
> > Ian.
> >
>
> Roger has a patch for exactly this problem in his FreeBSD series.
>
> Subject: [Xen-devel] [PATCH RFC 02/23] configure: make the libaio test
> non-fatal on OSes different than Linux
> Message-ID: 1397657612-57277-3-git-send-email-roger.pau@citrix.com
>
> It might be worth fast tracking it.
>
> ~Andrew
>
[-- Attachment #1.2: Type: text/html, Size: 2312 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] 8+ messages in thread
end of thread, other threads:[~2014-04-18 19:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 19:21 Xen 4.4 - NetBSD libaio Miguel Clara
2014-04-18 6:38 ` Ian Campbell
2014-04-18 13:23 ` Mike C.
2014-04-18 18:21 ` Ian Campbell
2014-04-18 19:05 ` Miguel Clara
2014-04-18 19:11 ` Ian Campbell
2014-04-18 19:16 ` Andrew Cooper
2014-04-18 19:26 ` Miguel Clara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).