From nobody Sun Feb 20 18:18:01 2022 X-Original-To: chromium@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 F3EF019D4424 for ; Sun, 20 Feb 2022 18:18:02 +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 4K1tvt0m46z4ZnW for ; Sun, 20 Feb 2022 18:18:02 +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 D74BE2105F for ; Sun, 20 Feb 2022 18:18:01 +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 21KII12K075733 for ; Sun, 20 Feb 2022 18:18:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21KII1EY075732 for chromium@FreeBSD.org; Sun, 20 Feb 2022 18:18:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: maintainer-feedback requested: [Bug 262067] www/chromium: HAVE_MEMPCPY is undefined in third_party/nasm/include/compiler.h Date: Sun, 20 Feb 2022 18:18:01 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: chromium@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Chromium issues List-Archive: https://lists.freebsd.org/archives/freebsd-chromium List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-chromium@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645381082; 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=YDu9d+SBhYozS7TueScAqN1Kslxetj0/F7A7magHjos=; b=YGM+UQcwNjrv9BTbhn5eOzGpevpIOanTLLrmQjo39IPsSGyP5cf/6qacPCJdX+78xRCJ6V AG8whX8m7YO3ppjQ1Nu9GmbgXlCIGscPzugULNDA/v02Fe5UD0UEVdJ4vZZUKGTSSEt1RT oOGNK/0luowlAPOP8Hd4bQMMhLW+VB9tg5u5yWnGwqN7I1SRRrUi6wLs2hdPnkhu1/gQJl FzxHgSusEh2ZXQ59k2vR8vlD9XIW7tutzzFhoUybZljZ54PFkloicSCjWkzvocVWopPfA7 iBBfehW/MiO0TVzhX/VA1YqbmVqpWY2L6eFAa0Z8kVZ/Eejltdae07BYdbUMzQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645381082; a=rsa-sha256; cv=none; b=FG4pWEeEuzJj927BWc+co5xELc77nMgzjS8cc+0uiyTWyJiBwYVdCP7WTNVKzy+RYUhWZy uTGZ91EF8pG1b7cgrK0mqevNIfIRIseBKt8cwz+7O7AuLjXZ+kMT3tj750GmAH+hBqLRf4 6c9/INZ9/46dMdiAUciBaJ/NogSHlGh+lPRuz6pvgWfJNsQVJG+fhZUwbm/23qpnhWIkao do/0So+2JhhGAMeyq0QqCaXjfx7yiQ2BIa+rEimbqRqIWAySPLGsaDdxQxUKS6Cw8yXSKc dDJNF0hJBcXr+bdGgGnUe9PqWTI/pNW3Wl2Alt8k9lZWnfkTcat3RbFXSj9W9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-chromium (Nobo= dy) for maintainer-feedback: Bug 262067: www/chromium: HAVE_MEMPCPY is undefined in third_party/nasm/include/compiler.h https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262067 --- Description --- This is on 14.0-CURRENT. HAVE_MEMPCPY is undefined in third_party/nasm/include/compiler.h, resulting= in messages such as: In file included from ../../third_party/nasm/asm/directbl.c:6: In file included from ../../third_party/nasm/asm/directiv.h:9: In file included from ../../third_party/nasm/include/perfhash.h:37: ../../third_party/nasm/include/compiler.h:249:21: error: static declaration= of 'mempcpy' follows non-static declaration static inline void *mempcpy(void *dst, const void *src, size_t n) ^ /usr/include/string.h:70:7: note: previous declaration is here void *mempcpy(void * __restrict, const void * __restrict, size_t); ^ 1 error generated. My crude and simple patch involve commenting out the offending prototype in third_party/nasm/include/compiler.h. A better patch would be to ensure HAVE_MEMPCPY is defined all the way. Log file and patch will be attached soon.