From nobody Fri Nov 10 17:58:54 2023 X-Original-To: emulation@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 4SRmly6q3Zz50PZK for ; Fri, 10 Nov 2023 17:58:54 +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 4SRmly5j87z4Glq for ; Fri, 10 Nov 2023 17:58:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699639134; 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; bh=MBobIpt0YjALQjrCJPEPStQo2TusZwhJToo2S5fdeZI=; b=cni40D4bSsA7Ad+Lqx8rtSxaz9DKlEznRdxKYWlzoQWsSRopha2qNiL88wnPaxrdqYPIX2 YhKS/yqjX4lNp542tUWFuCIzG25EoiAojtn/FdU+lmvV71D6hfxuKNGuf+xa/UBr6/7hoY hX2EALaNanKIciMNYccojtfY+RNjN9IaSBeYRMAkEE21cST/MP0PZM2c2hLRDMdvFbj2+T UJ86/2cCvSIxaP1lCHu5TEfI92mlc0aVThcdSEGzQmwlQ0dEdNN+eHYPLNHK5GkOuuzDDd 9Pq1YoOd907/HYsJkU/dr2kBIPw+V6fbxGjGHe9VlFmoPsV+WA9XdOWOfyde/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699639134; a=rsa-sha256; cv=none; b=M3WTTx+8LI8UeycZj/TCOIJ8S/6oAY1UTasm8foF++PEoh+0it8bBWdQb6sSR/FQwowYPl kc9k0KKSVKDGzJBiQahSMQe83PgBuFYRdLQIIm8X0pLP9QBdUdBNhzMXQp51guhjFcoueG pe8PVYe+NNDwfFr7SYcKWh1lEBYiC2jpg3sWvjydYjrscw9fSt/LncSbeEJvUS8qOqZXIT h8dhpAoD/JG4f+wdrbrCzwdoCcj4TyjJJQXBzG1WFMqbs2XzizbdOSdXLKHOyqUc+WFOIN 84EOe+Dzuf0hlFeI8d0goHKGpqDBL2DxKxzCIUr7u+gOx8Ohd82CJN8kofoWSA== 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 4SRmly4p4tz16n6 for ; Fri, 10 Nov 2023 17:58:54 +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 3AAHwsDi043125 for ; Fri, 10 Nov 2023 17:58:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AAHwsjm043124 for emulation@FreeBSD.org; Fri, 10 Nov 2023 17:58:54 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: emulation@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNzUwMTRdIGF1ZGlvL2xpbnV4LWM3LWFsc2EtcGx1Z2lu?= =?UTF-8?B?cy1vc3M6IGZhaWxzIHRvIGJ1aWxkIHdpdGggLWVuYWJsZS10cml2aWFsLWF1?= =?UTF-8?B?dG8tdmFyLWluaXQtemVyby1rbm93aW5nLWl0LXdpbGwtYmUtcmVtb3ZlZC1m?= =?UTF-8?B?cm9tLWNsYW5n?= Date: Fri, 10 Nov 2023 17:58:54 +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: sean@rogue-research.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@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 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 List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275014 Bug ID: 275014 Summary: audio/linux-c7-alsa-plugins-oss: fails to build with -enable-trivial-auto-var-init-zero-knowing-it-will-be- removed-from-clang Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: emulation@FreeBSD.org Reporter: sean@rogue-research.com Assignee: emulation@FreeBSD.org Flags: maintainer-feedback?(emulation@FreeBSD.org) I build my own packages with poudriere. I recently globally added the clang `-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang` = flag and that broke `audio/linux-c7-alsa-plugins-oss` from building. The other = 419 packages I build had no problem. The error is: ``` checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... Segmentation fault (core dumped) configure: error: in `/wrkdirs/usr/ports/audio/linux-c7-alsa-plugins-oss/work/32/alsa-plugins-1.= 1.6': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details *** Error code 77 Stop. make: stopped in /usr/ports/audio/linux-c7-alsa-plugins-oss ``` The `-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-cla= ng` flag has a dubious name I agree, but that's only because FreeBSD 13.2's cla= ng 14 is rather old. In newer clang the flag was promoted from experimental to fully legit and is now named `-ftrivial-auto-var-init=3Dzero`. See https://discourse.llvm.org/t/making-ftrivial-auto-var-init-zero-a-first-cla= ss-option/55143 My reason for using the flag is the same as others: security. Android, Chr= ome OS, Windows, Apple, and others use this in production builds too. >From the error output, I would guess that something is building and running= a C program to test something, and that program is crashing. --=20 You are receiving this mail because: You are the assignee for the bug.=