From nobody Sun Jul 18 23:56:17 2021 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0F17F12755E1 for ; Sun, 18 Jul 2021 23:56:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GShhf6hWHz3vrQ for ; Sun, 18 Jul 2021 23:56:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id c17so2187839wmb.5 for ; Sun, 18 Jul 2021 16:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0TCiuW7fjS9lFKTl87e/usQDnFRW72PpI+UR/tKQIg8=; b=e9tp+7OQm++W6cp2HG4C8s98G+76W1kJxg7l3evHske2fWTMwmB0K0Gq2DT16YAZ6B P/pT9mONFxDZT++rdvI32lw0SyGkwOLayaV0nVW1qBvZY2LM8oDJ3WPZMOp0n5uCirof rbaoUPyVmhLbRz39pH/oPzJYfrzA4GJzIxGINdBvkAxVzxfGPRw+vXIHpWJouhTAlYjA MQgV322NXNph4eeZndMrvgAQ/Mso1JByCFw76kdFYbMeQ8WBnLYe6WFya0m0Ada7ISyI zO3CGtR3x85hnDbkDbCemoXPiJ3Z3UDtqLyuyAm4JezY/vhaZFY4aLeH0l8y7Vag/gaj hs3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0TCiuW7fjS9lFKTl87e/usQDnFRW72PpI+UR/tKQIg8=; b=Nk7ScDSRhJmAWjpmdtM6H1p+nTg1Dohmek+PC/YXAMQKgM5aTJycWDAUWuErDJ5S0l fR0G4mrYI/ahSWqMoz18s9s/cWFJ+i1NpHjwldRflT1OanJ8oXohTle+HTq5V3toRpmO bF+Na77dpvtZVR+kN8nMax/jV8+4ToN/S4ZJf+bkSd+VbuBO/cH5RG6xbj/XiWlmwX69 tMh6LR3mGFsc7Ce/Q4rdZ19I2FElhA1OXyJ/6Hc0WdpXHQbHRXJn1zTzeY4Hz6YC0GXh c1QTwfNVlX9xs/7mhI7gkCwF+u03y/GcqUyMUxphoC8ss16dC3pILRSWiRF8bc8zOAQu gbBg== X-Gm-Message-State: AOAM5308nBUJah7cipxrLC+NJoTn03oMECPy4V1lByzvxg86BsSHxv0H xFIl+0XFXufcSTzDCP3u+uX0AGdjYgtuqBmc6V7GdTgDusw9lg== X-Google-Smtp-Source: ABdhPJxUWM+cvMLIyVjnWsd7fDw3AUT7u4Bijl0sXFpkB9nslr4vXb2BD1XWmeIU6WyNEsFk3WIhGW9Ul6nZ/tw0whs= X-Received: by 2002:a05:600c:154a:: with SMTP id f10mr624373wmg.183.1626652593497; Sun, 18 Jul 2021 16:56:33 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Sun, 18 Jul 2021 16:56:17 -0700 Message-ID: Subject: Re: Kernel build fails for stable To: Warner Losh Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="000000000000022bc705c76e9218" X-Rspamd-Queue-Id: 4GShhf6hWHz3vrQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000022bc705c76e9218 Content-Type: text/plain; charset="UTF-8" No problem, thanks! I assume this ties to the lkpi update today for the iwlwifi drivers by bz. The note in UPDATING states: Bump __FreeBSD_version to 1300512 after merging LinuxKPI, OFED, net80211, and driver changes in order to support building Intel wireless iwlwifi drivers. This is especially needed for drm-kmod which needs updates after this. So, are updates available or am I just stuck until they are done. (BTW, trying to build the drm-fbsd13-kmod port yields similar errors. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Sun, Jul 18, 2021 at 4:36 PM Warner Losh wrote: > Scratch that... sorry for the hair trigger.. too many pings elsewhere. > > Warner > > On Sun, Jul 18, 2021, 5:31 PM Warner Losh wrote: > >> You need to grab the awk fix listed in UPDATING. >> >> Warner >> >> >> On Sun, Jul 18, 2021, 5:29 PM Kevin Oberman wrote: >> >>> I updated sources and did a buildworld for 13/stable updated about >>> 2021-07-18 22:50. Still trying to figure out how to get the hash. Sorry. >>> >>> buildkernel dies building >>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi. >>> Build of linux_compat.o fails with the rather long chain of includes >>> with: >>> In file included from >>> /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36: >>> In file included from >>> >>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/kobject.h:4: >>> In file included from >>> /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37: >>> /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error: >>> implicit declaration of function '__stringify' is invalid in C99 >>> [-Werror,-Wimplicit-function-declaration] >>> WARN_ON(release == NULL); >>> ^ >>> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note: >>> expanded from macro 'WARN_ON' >>> __stringify(cond), __FILE__, __LINE__); \ >>> ^ >>> ^ >>> In file included from >>> >>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/src/linux_compat.c:10: >>> In file included from >>> >>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/pci.h:10: >>> In file included from >>> /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55: >>> In file included from >>> /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:37: >>> In file included from >>> >>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/device.h:4: >>> In file included from >>> /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36: >>> In file included from >>> >>> /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/kobject.h:4: >>> In file included from >>> /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37: >>> /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error: >>> format specifies type 'char *' but the argument has type 'int' >>> [-Werror,-Wformat] >>> WARN_ON(release == NULL); >>> ^~~~~~~~~~~~~~~~~~~~~~~~ >>> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note: >>> expanded from macro 'WARN_ON' >>> __stringify(cond), __FILE__, __LINE__); \ >>> >>> Are others seeing this? Any idea what's wrong? I didn't even realize that >>> the lkpi and drm module had been moved into the kernel build. >>> >>> I mostly would like to see if something is broken in my environment >>> before >>> opening a ticket. Full build log available on request. >>> -- >>> Kevin Oberman, Part time kid herder and retired Network Engineer >>> E-mail: rkoberman@gmail.com >>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >>> >> --000000000000022bc705c76e9218--