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 4SRmly6CyDz50Pgg 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 4SRmly3mnsz4Gt8 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: in-reply-to:in-reply-to:references:references; bh=ijlu6U3v04eO+aStVm+m+3yDs5+fUB4SP8+wAbCEne8=; b=KNX/wYyofT2IeFIeqlEpxgiZEkLszUMB174uG2IHKAFRC4NPMRz1EAd2nPUsvRnsmnP0sO VA5fAXUR5BG7JQN/UNJ4Gr85NmPoVqQHtlhDRAwzGNlqYwOTh0yelbplr4p6YbTEGhk4WF CjQ1Kz89NjaeuuTGxKdV1rHYwvgnOjXzm28rjNE4Fdahm0/ra2aT/lQV8akCLI/c7Jf9/3 bl/DPLWcytBvDzVw18/QzJje4WqqFJn4+a2q7pHNQrK9TTDmmGNrOfu/Y485ACXvISeP8V ExLBXmkau4V4o3p9l2tCZ9nb51fgQJXG4E39H6dx8zEkwa6lpAxUZ4z2trZyWA== 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=kQhcelUzT4EpkT1VEGPr3j+WmswHte4l6759jhwZlkPq4nvMAZVeqKdAZOwJifwPMOKzA+ D+6WK9UES5UWAFQbN66VS3CNik0SubraOG2f1vp8Ch8rAaHu34kZhN6HgXmNmINEDC0GA8 Ueb+yHhTamVIWvhMiKaAd15VtSEvNVV7Jh00UK3xd7TaVgmBvIicrETTCVPcf4s7DoWo/r Ss1PYvIQTe8Es6crp8Dv9BNdEcc8JVnP/AWApRcur1RxKgllNKftwxPCDcI0CF1qKN/h96 1JyplMjzKQsFbq2stLVOz8viuWACxj0oxJtBbApPBPBkxpvgm6zjnzhDeldJLQ== 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 4SRmly2rzSz173C 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 3AAHwsJN043117 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 3AAHwsNT043116 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: =?UTF-8?B?bWFpbnRhaW5lci1mZWVkYmFjayByZXF1ZXN0ZWQ6IFtCdWcgMjc1?= =?UTF-8?B?MDE0XSBhdWRpby9saW51eC1jNy1hbHNhLXBsdWdpbnMtb3NzOiBmYWlscyB0?= =?UTF-8?B?byBidWlsZCB3aXRoIC1lbmFibGUtdHJpdmlhbC1hdXRvLXZhci1pbml0LXpl?= =?UTF-8?B?cm8ta25vd2luZy1pdC13aWxsLWJlLXJlbW92ZWQtZnJvbS1jbGFuZw==?= Date: Fri, 10 Nov 2023 17:58:54 +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: emulation@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: 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 Bugzilla Automation has asked freebsd-emulation (Nob= ody) for maintainer-feedback: Bug 275014: audio/linux-c7-alsa-plugins-oss: fails to build with -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275014 --- Description --- 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-o ption/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.