From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E52EC433B4 for ; Sat, 8 May 2021 21:42:39 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE90B60FD8 for ; Sat, 8 May 2021 21:42:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE90B60FD8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bsdio.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfUib-0002pF-Pg for qemu-devel@archiver.kernel.org; Sat, 08 May 2021 17:42:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfUhz-00029V-BG for qemu-devel@nongnu.org; Sat, 08 May 2021 17:41:59 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:46578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfUhw-0003Lf-U3 for qemu-devel@nongnu.org; Sat, 08 May 2021 17:41:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:To:From:Sender:Reply-To:Cc:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=Vqo9CFLD9bVVLrVXwlmnImZHkq7YU4gwY6DOjZFq0AM=; b=SGrfrXBPcln5oxhPFTZETJS8A/ XC7XJXIirgBdGMwHIiAVL91GjMeAjjczQdcnXhXqcTuM5u2BKQMEiBn4z6ZTJLINsPUFaeLPS5Ttc ewnJXiu2eZydVmSh3G/PJYJ1xnf6pRsJvr25tqQuw6S6lH2gCp4GxMfSdeKFHMf5ivgQ=; Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lfUht-001Wr2-T9 for qemu-devel@nongnu.org; Sat, 08 May 2021 15:41:54 -0600 Received: from mta5.zcs.xmission.com ([166.70.13.69]) by in01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1lfUhs-0004fj-VT for qemu-devel@nongnu.org; Sat, 08 May 2021 15:41:53 -0600 Received: from localhost (localhost [127.0.0.1]) by mta5.zcs.xmission.com (Postfix) with ESMTP id 8891A1280FDA for ; Sat, 8 May 2021 15:41:52 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta5.zcs.xmission.com Received: from mta5.zcs.xmission.com ([127.0.0.1]) by localhost (mta5.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RcDNl2Ifoaxt for ; Sat, 8 May 2021 15:41:52 -0600 (MDT) Received: from [10.0.10.142] (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta5.zcs.xmission.com (Postfix) with ESMTPSA id 61A691280EFF for ; Sat, 8 May 2021 15:41:52 -0600 (MDT) From: Rebecca Cran To: qemu-devel@nongnu.org References: Message-ID: <91f215a3-2076-63ed-d311-a95cfdbc9046@bsdio.com> Date: Sat, 8 May 2021 15:41:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-XM-SPF: eid=1lfUhs-0004fj-VT; ; ; mid=<91f215a3-2076-63ed-d311-a95cfdbc9046@bsdio.com>; ; ; hst=in01.mta.xmission.com; ; ; ip=166.70.13.69; ; ; frm=rebecca@bsdio.com; ; ; spf=none X-SA-Exim-Connect-IP: 166.70.13.69 X-SA-Exim-Mail-From: rebecca@bsdio.com Subject: Re: io_uring code appears to be broken X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Received-SPF: none client-ip=166.70.13.233; envelope-from=rebecca@bsdio.com; helo=out03.mta.xmission.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Of course I realized I only have headers for version 0.2 and upstream is now up to 2.0, so it looks like I just need to update. -- Rebecca Cran On 5/8/21 3:19 PM, Rebecca Cran wrote: > I noticed that after installing liburing-devel-0.2-lp152.2.1.x86_64, a > "./configure" causes support for io_uring to be enabled by default. > > It appears to be broken, so I was wondering if it should be disabled > unless explicitly enabled via configure? > > I'm running openSUSE Leap 15.2. > > [285/9281] Compiling C object libqemuutil.a.p/util_fdmon-io_uring.c.o > FAILED: libqemuutil.a.p/util_fdmon-io_uring.c.o > cc -Ilibqemuutil.a.p -I. -I.. -Isubprojects/libvhost-user > -I../subprojects/libvhost-user -Iqapi -Itrace -Iui -Iui/shader > -I/usr/include/p11-kit-1 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/libmount > -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 > -fdiagnostics-color=auto -pipe -Wall -Winvalid-pch -Werror -std=gnu99 > -O2 -g -isystem /home/jenkins/qemu/linux-headers -isystem linux-headers > -iquote . -iquote /home/jenkins/qemu -iquote /home/jenkins/qemu/include > -iquote /home/jenkins/qemu/disas/libvixl -iquote > /home/jenkins/qemu/tcg/i386 -pthread -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=2 -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef > -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common > -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits > -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers > -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined > -Wimplicit-fallthrough=2 -Wno-missing-include-dirs > -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -fPIC -MD > -MQ libqemuutil.a.p/util_fdmon-io_uring.c.o -MF > libqemuutil.a.p/util_fdmon-io_uring.c.o.d -o > libqemuutil.a.p/util_fdmon-io_uring.c.o -c ../util/fdmon-io_uring.c > ../util/fdmon-io_uring.c: In function ‘fdmon_io_uring_need_wait’: > ../util/fdmon-io_uring.c:305:9: error: implicit declaration of function > ‘io_uring_sq_ready’; did you mean ‘io_uring_cq_ready’? > [-Werror=implicit-function-declaration] >     if (io_uring_sq_ready(&ctx->fdmon_io_uring)) { >         ^~~~~~~~~~~~~~~~~ >         io_uring_cq_ready > ../util/fdmon-io_uring.c:305:9: error: nested extern declaration of > ‘io_uring_sq_ready’ [-Werror=nested-externs] > >