From nobody Mon Apr 15 23:30:51 2024 X-Original-To: ports-bugs@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 4VJNhX0Qf5z5HK7k for ; Mon, 15 Apr 2024 23:30:52 +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 4VJNhW6Qjnz4tvr for ; Mon, 15 Apr 2024 23:30:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713223851; a=rsa-sha256; cv=none; b=KsiL93PRV3d1uHv8eDgulzVhC+ywxngzY9ouUt6bq6fawtH+0tu3GBKMyf/TrDJMWJAFhA gCvKSkAWrnFXN936Tk8z5nA8Rl9yiPwn1eprpMhzST+8/+F4Elyq30bONhlcgXt3ipyuUD E13mcX+UIfD4U27vAbbDJLg+MxxDl09X8zX+tJd864nGCUSwLUVK/0iUBBeHyfNgMjJikA CRe2uOYZT48HcJu6aY4cWXN8r2/0Z7Ma8dTO+XxkjA2RzIJwaEW5qBxLwln/PEJyyVvChF yoUNe5wWHRwVEKSmhPfVuHrj+Uyg7bKEFZcY0kcxpnYZrAYR/SclIuDXErhmaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713223851; 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=6vDf0jNzUKUvScuK8kXQPrgqitDHXWcJ2+BVkMCbqs0=; b=OUgorHqCev797e3KEowCp/VjaRBwExlwenVNmNramWp2yoxYqPQtWt5++e1Mdx7Xa5tN0Y ieNdplgw0CAaa7uhZ/NprJcHkYeMawb2xp61fJvvqfZLHE669/eS+rM4HpDPBBdbd2sU7h 7RyBIwR5LmbPqv6+uXE7r0CRCVTp/4VzYF5maw8QkrC6F31We7gaxkYUKOXq34X4XHn5rK 2Vk/C5rjjnTnpXXyntRirlOonkfR5PR+OnsetNYUOPCc9Lm2CiM45gyPk3Kw5YMUE65t+3 hHRLvPbZZr7U3umVBPb84bbFyK7fM2JxU3ipcRJeE3Cb0d4lKvYDKmcE8992rg== 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 4VJNhW639FzK7k for ; Mon, 15 Apr 2024 23:30:51 +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 43FNUp5e007343 for ; Mon, 15 Apr 2024 23:30:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43FNUpto007341 for ports-bugs@FreeBSD.org; Mon, 15 Apr 2024 23:30:51 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 278387] devel/wasi-compiler-rt17: build fails if -march= set Date: Mon, 15 Apr 2024 23:30:51 +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: iron.udjin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vishwin@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278387 Bug ID: 278387 Summary: devel/wasi-compiler-rt17: build fails if -march=3D set Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vishwin@freebsd.org Reporter: iron.udjin@gmail.com Assignee: vishwin@freebsd.org Flags: maintainer-feedback?(vishwin@freebsd.org) OS: stable/14-n267222-89dd0612d933: wasi-compiler-rt17-17.0.6_1 fails to build if -match cflag set. My default version CFLAGS is: -march=3Dskylake -O2 -pipe. But the port builds only if I remove -march=3Dskylake from them. Is it possible to make the port build wi= th -march set? build log: [ 4% 8/147] /usr/local/llvm17/bin/clang --target=3Dwasm32-wasi --sysroot=3D/usr/local/share/wasi-sysroot -O2 -pipe -march=3Dskylake -O2 = -pipe=20 -fno-strict-aliasing -O2 -pipe -march=3Dskylake -O2 -pipe -fno-strict-alia= sing=20 -DNDEBUG -fPIC -MD -MT CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o -= MF CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o.d -o CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o -c /wrkdirs/usr/ports/devel/wasi-compiler-rt17/work/llvm-project-17.0.6.src/co= mpiler-rt/lib/builtins/divtf3.c FAILED: CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o=20 /usr/local/llvm17/bin/clang --target=3Dwasm32-wasi --sysroot=3D/usr/local/share/wasi-sysroot -O2 -pipe -march=3Dskylake -O2 = -pipe=20 -fno-strict-aliasing -O2 -pipe -march=3Dskylake -O2 -pipe -fno-strict-alia= sing=20 -DNDEBUG -fPIC -MD -MT CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o -= MF CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o.d -o CMakeFiles/clang_rt.builtins-wasm32.dir/divtf3.c.o -c /wrkdirs/usr/ports/devel/wasi-compiler-rt17/work/llvm-project-17.0.6.src/co= mpiler-rt/lib/builtins/divtf3.c clang: error: unsupported option '-march=3D' for target 'wasm32-wasi' clang: error: unsupported option '-march=3D' for target 'wasm32-wasi' [ 5% 8/147] /usr/local/llvm17/bin/clang --target=3Dwasm32-wasi --sysroot=3D/usr/local/share/wasi-sysroot -O2 -pipe -march=3Dskylake -O2 = -pipe=20 -fno-strict-aliasing -O2 -pipe -march=3Dskylake -O2 -pipe -fno-strict-alia= sing=20 -DNDEBUG -fPIC -MD -MT CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.= c.o -MF CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.c.o.d -o CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.c.o -c /wrkdirs/usr/ports/devel/wasi-compiler-rt17/work/llvm-project-17.0.6.src/co= mpiler-rt/lib/builtins/extendsftf2.c FAILED: CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.c.o=20 /usr/local/llvm17/bin/clang --target=3Dwasm32-wasi --sysroot=3D/usr/local/share/wasi-sysroot -O2 -pipe -march=3Dskylake -O2 = -pipe=20 -fno-strict-aliasing -O2 -pipe -march=3Dskylake -O2 -pipe -fno-strict-alia= sing=20 -DNDEBUG -fPIC -MD -MT CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.= c.o -MF CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.c.o.d -o CMakeFiles/clang_rt.builtins-wasm32.dir/extendsftf2.c.o -c /wrkdirs/usr/ports/devel/wasi-compiler-rt17/work/llvm-project-17.0.6.src/co= mpiler-rt/lib/builtins/extendsftf2.c clang: error: unsupported option '-march=3D' for target 'wasm32-wasi' clang: error: unsupported option '-march=3D' for target 'wasm32-wasi' ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. --=20 You are receiving this mail because: You are the assignee for the bug.=