From nobody Thu Nov 20 15:15:16 2025 X-Original-To: freebsd-current@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 4dC23N6HFHz6HWxc for ; Thu, 20 Nov 2025 15:15:28 +0000 (UTC) (envelope-from minsoochoo0122@proton.me) Received: from mail-24429.protonmail.ch (mail-24429.protonmail.ch [109.224.244.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dC23M6zF1z3MGd for ; Thu, 20 Nov 2025 15:15:27 +0000 (UTC) (envelope-from minsoochoo0122@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1763651723; x=1763910923; bh=SFeHQIcLnWEkQsrW9LVxuzkSEnAnizhPL17bWwRcmWI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=UegVmMvyKCV+POlo8JwsFq3kbEkSHk+MO5DNJsILqmvD2rLd4qge+7fOyes1cA4fQ iuZj6G6//OecikXkzqZEzizVKfNDceRyi/xDspDrT9AgX7ECCzIlwaPVHWUPBcOKBN TWmTKsV+nwtN3wGZ7hpsWgVTlx71cpQq1iH28l8nFDGKxXpLAZs/ctgmbctRdy3U/O cFrUdzxP+XXnOkPfnKsHYl3Y9s0lfcH3a0dKv2vBgyPxVCAAQz5DoJUZI3mJ5CV0jL /BVSfXa4Qy8vztItW8KhHT/hMv0vuwiCnyqznCbGhojdigTM6IkDh5DQohUNwJqGZR 5VCBXUWtNJMyg== Date: Thu, 20 Nov 2025 15:15:16 +0000 To: Minsoo Choo From: Minsoo Choo Cc: cyric@mm.st, freebsd-current@freebsd.org Subject: Re: nvme.c:2012:2: error: call to undeclared function 'memmove' Message-ID: In-Reply-To: References: <814ce2bc-2a95-444b-9ab7-7e680a024c68@gmail.com> Feedback-ID: 45891198:user:proton X-Pm-Message-ID: 120877f3b0dd6875963a19b41fd9eac6384b4907 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:109.224.244.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dC23M6zF1z3MGd On Thursday, November 20th, 2025 at 12:09 AM, Minsoo Choo wrote: > On Wednesday, November 19th, 2025 at 11:52 PM, cyric@mm.st cyric@mm.st wr= ote: >=20 > > Ian FREISLICH wrote: > >=20 > > > My kernel build started failing recently with the following error. I = use > > > a custom kernel config but looking at NOTES, it's not clear that I've > > > missed an option that would make it compile. > > >=20 > > > In file included from /usr/src/sys/dev/nvme/nvme_util.c:34: > > > /usr/src/sys/dev/nvme/nvme.h:2012:2: error: call to undeclared functi= on > > > 'memmove'; ISO C99 and later do not support implicit function > > > declarations [-Werror,-Wimplicit-function-declaration] > > > 2012 | memmove(sn, cdata->sn, NVME_SERIAL_NUMBER_LENGTH); > > > | ^ > > > 1 error generated. > > > *** Error code 1 > > >=20 > > > I've also tried compiling after blowing away usr/obj. > >=20 > > It seems to be the following commit: > >=20 > > https://cgit.freebsd.org/src/commit/?id=3D8d2a50bb38051fefeb1427fdbfd24= 9f2829310d8 > >=20 > > And it was reported: > >=20 > > https://lists.freebsd.org/archives/dev-commits-src-main/2025-November/0= 37599.html >=20 >=20 > Thanks for figuring this out. I will see if adding #include = solves this issue and try to create pr by tomorrow. PR created: https://github.com/freebsd/freebsd-src/pull/1893