From owner-freebsd-ports-bugs@freebsd.org Mon May 17 20:04:36 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6094E631296 for ; Mon, 17 May 2021 20:04:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FkVTc253jz3Qrc for ; Mon, 17 May 2021 20:04:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 47823631573; Mon, 17 May 2021 20:04:36 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 47493631323 for ; Mon, 17 May 2021 20:04:36 +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 4FkVTc1TgNz3R4c for ; Mon, 17 May 2021 20:04:36 +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 1726C122ED for ; Mon, 17 May 2021 20:04:36 +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 14HK4ap8008885 for ; Mon, 17 May 2021 20:04:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14HK4aA1008884 for ports-bugs@FreeBSD.org; Mon, 17 May 2021 20:04:36 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: ports-bugs@FreeBSD.org Subject: [Bug 255955] devel/mdb: Fix build with clang 12 Date: Mon, 17 May 2021 20:04:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2021 20:04:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255955 Bug ID: 255955 Summary: devel/mdb: Fix build with clang 12 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jhb@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: jhb@FreeBSD.org Flags: maintainer-feedback?(jhb@FreeBSD.org) Created attachment 225038 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225038&action= =3Dedit Fix devel/mdb build with clang 12 During an exp-run for llvm 12 (see bug 255570), it turned out that devel/mdb does not build with clang 12.0.0 [1]: cc -O2 -pipe -DMDB_PREFIX=3D\"/usr/local\" -g -fstack-protector-strong -fno-strict-aliasing=20 -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../sys/cddl/compat/opensolaris -I/usr/src/sys/cddl/compat/opensolaris=20 -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../cddl/compat/opensolaris/include -I/usr/src/cddl/compat/opensolaris/include=20 -I/usr/src/cddl/contrib/opensolaris/head=20 -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/lib/libdisasm/common -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/common/dis/i386 -I/usr/src/cddl/contrib/opensolaris/lib/libctf/common=20 -I/usr/src/sys/cddl/contrib/opensolaris/uts/common -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel/mdb -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel/amd64/mdb -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/lib/libsaveargs/common -D_MDB -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/us= r.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/common -I/usr/src -DDIS_TEXT -D_SYS_INT_TYPES_H -Dmemalign=3Daligned_alloc -DTCGETS=3DTIOCGETA -DTCSETSW=3DTIOCSETAW -DIUCLC=3D0 -DENODATA=3DENOENT = -D__amd64 -DIN_BASE -DNEED_SOLARIS_BOOLEAN -fPIE -MD -MF.depend.kvm_amd64dep_freebsd= .o -MTkvm_amd64dep_freebsd.o -std=3Dgnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/12.0.0/include -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-ali= gn -Wchar-subscripts -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-unknown-pragmas -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-vari= able -Wno-bitwise-op-parentheses -Wno-cast-align -Wno-cast-qual=20 -Wno-char-subscripts -Wno-incompatible-pointer-types=20 -Wno-incompatible-pointer-types-discards-qualifiers=20 -Wno-logical-op-parentheses -Wno-missing-braces=20 -Wno-missing-field-initializers -Wno-missing-variable-declarations=20 -Wno-shadow -Wno-sign-compare -Wno-strict-prototypes=20 -Wno-error-tautological-pointer-compare -Wno-unused-parameter=20 -Qunused-arguments -c /wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.= bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel/mdb/kvm_amd64dep_freebsd.c -o kvm_amd64dep_freebsd.o error: unknown -Werror warning specifier: '-Wno-error-tautological-pointer-compare' [-Werror,-Wunknown-warning-option] *** [kvm_amd64dep_freebsd.o] Error code 1 This is because for a while -Wno-error- options should be spelled as -Wno-error=3D. The attached patch makes it so. [1] http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_= 16h02m24s/logs/mdb-20210125.log --=20 You are receiving this mail because: You are the assignee for the bug.=