From nobody Fri Apr 01 13:04:10 2022 X-Original-To: bugs@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 2653C1A44270 for ; Fri, 1 Apr 2022 13:04:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KVL3G67ybz4gTY for ; Fri, 1 Apr 2022 13:04:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B363F14E98 for ; Fri, 1 Apr 2022 13:04:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 231D4AV9077024 for ; Fri, 1 Apr 2022 13:04:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 231D4Atd077023 for bugs@FreeBSD.org; Fri, 1 Apr 2022 13:04:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262977] Preprocessor error in sys/contrib/zlib/crc32.c on arm64 Date: Fri, 01 Apr 2022 13:04:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648818250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qR5yTjq7PxqMD4XvdI27HS0ER17fbmv+vf8zKi/tTW8=; b=a1T1XZex7hti07vrVMym4sA6euYfMQjm2/c5dbjtzfS59qxWn2dygVTeBdwHmAisMXmKFd G7oKARPsx+n8DgMsVMrJ+rtxhPgUo4oLgfWOC4PnbwF11ZpAzLvc3TgQ4N+sexZUtG3kh5 IAmXHLk+Ir4bS+P2fafmkhfLokDDZk9NC3/CcIz6B02emrHCedyUJINB5J+r4RROn4c7Pv 2XvsT4I3HBo/A0yZNFYLbh8N//u+0U5H1DH4uvbmzKMHPoSY9mDlisK76Clp4tAdhZbdRK fIOdym23sy2+FqZ3bfKo1GVmJjvFpWepTX3e2+6p28UmO1tc+HJ2n6Z+7Qly4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648818250; a=rsa-sha256; cv=none; b=HAndHgX2VHzlpuPfG/Zuc9pk6PmYM7TAs7JHKgbQyfaq8iJHrFCMySjVrYE9M0ayYdbI/r tP6KXrq5DOzUrtL+DQUck+MdeZlPlu3CTlzD4cX/MpBidBXto3HprQoY7q+gCmsOK8dwkK PFTWLXY946l93WMeCbUvQGjoFq5PWoLVPBfK6VEDjEkcWR/Nr7Qatq4Aw9man+TD+emjRY UQEfr7xx2JGl5u4IGDtBWYSTmGdBGf+/gMchWC7oTheuc9Uxa7aXhCt9q+1pWNnkpjMzfW fnInYYCeQAq5cJgWp1lL9tm9gWMwqrQVmc4xS2AMRfgdEcjMzb1YSQd/58c5yQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262977 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |delphij@FreeBSD.org, | |emaste@freebsd.org --- Comment #1 from Ed Maste --- Can you give this (untested) patch a try: diff --git a/sys/conf/files b/sys/conf/files index 6639485509bc..335d240e0526 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4073,7 +4073,8 @@ contrib/zlib/compress.c optional crypto | geom_uzip | \ mxge | ddb_ctf | gzio | zfs | zlib \ compile-with "${NORMAL_C} -Wno-cast-qual" contrib/zlib/crc32.c optional crypto | geom_uzip | \ - mxge | ddb_ctf | gzio | zfs | zlib + mxge | ddb_ctf | gzio | zfs | zlib \ + compile-with "${NORMAL_C} -Wno-undef" contrib/zlib/deflate.c optional crypto | geom_uzip | \ mxge | ddb_ctf | gzio | zfs | zlib \ compile-with "${NORMAL_C} -Wno-cast-qual" I'd like to submit a patch upstream to do this in a more elegant way than j= ust turning off the warning but that will take more time. --=20 You are receiving this mail because: You are the assignee for the bug.=