Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2022 13:04:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262977] Preprocessor error in sys/contrib/zlib/crc32.c on arm64
Message-ID:  <bug-262977-227-mGU374bWog@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262977-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262977

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |delphij@FreeBSD.org,
                   |                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
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 just
turning off the warning but that will take more time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262977-227-mGU374bWog>