From nobody Wed Feb 23 06:04:08 2022 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 A5F9619C8708 for ; Wed, 23 Feb 2022 06:04:08 +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 4K3QTh34pxz3lm8 for ; Wed, 23 Feb 2022 06:04:08 +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 4A3F612F73 for ; Wed, 23 Feb 2022 06:04:08 +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 21N648bW022066 for ; Wed, 23 Feb 2022 06:04:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21N648F1022065 for ports-bugs@FreeBSD.org; Wed, 23 Feb 2022 06:04:08 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 262134] textproc/re-flex: ARM build fails due to -march=native Date: Wed, 23 Feb 2022 06:04:08 +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: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gahr@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.mimetype 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645596248; 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=tfbouYqVrYK5VFj5ANwBduZX671ys8t/mtkLNXWKAMA=; b=evbiJJPzAM0qzB1S7BQEK+pn9ydeGR2B65HymmUQnMdpsddJR/Np5HpiAsuUjh9d9fdrNV vyTl04y0JObRBFXrt0S6XN1+TJPaEwWv4DHzpaX9RaHSFdDeP9McNCiyYhZZmDiQm0RD/1 GVn7ETrYt7XT7Y65cMC7/c9UGrD4T6pG11jeBP36ZRCJ6cLNCGlR9XHL2P3jV2h18pPMl+ ox4UKP+ODEs5lL6uRfZGVeNndGnGiNv1Cime6ryka/bYKIpVo9UuDfIm1DhsEaPG+mLkV6 QFt0ba0qAu3gRAurRAaMqCiUu8ZwH0Bol91xpzNZgTqvzrtczLkoAM27zcZM0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645596248; a=rsa-sha256; cv=none; b=B5yukBzyE/fa7OG4Hs9ZZCelCXZsBM/GNIH0WGuRL7lS1u9/22lAhbjmKK1eEuBJKTcR3w eD7mhVblCVkiP26UCR+k6uHxZy/eU9VEeI875o/f+Mm12vOHtzJX5DnRwz+BO/XoRGFVOC ezdKxxWkimDktyQlqHsbfo0ONNrska8ZAz9I8cSOZIuCgHhbL69jeAZ9Kg5B4ipF29YJYq 0n48LKL8+kkx/+ydTy83MOyX9kfEw6ZzlK/vky99UlMAIYo1g1UKVOxYORzxMqWu/YI7gx x+CrPkZbVYVP4eCXxOABfO0CzrW2p/0fqk0m4w1AXgUR3+caUxWweQM/145/wQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262134 Bug ID: 262134 Summary: textproc/re-flex: ARM build fails due to -march=3Dnative Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gahr@FreeBSD.org Reporter: fuz@fuz.su Assignee: gahr@FreeBSD.org Flags: maintainer-feedback?(gahr@FreeBSD.org) Attachment #232024 text/plain mime type: Created attachment 232024 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232024&action= =3Dedit textproc/re-flex 3.1.0 armv7 build log While building textproc/re-flex from 2022Q1, I noticed that the build fails= due to an unsupported compiler flag: =3D=3D=3D> Building for re-flex-3.1.0 [ 3% 1/32] /usr/bin/c++ -DHAVE_NEON -DReflexLib_EXPORTS -I/wrkdirs/usr/ports/textproc/re-flex/work/RE-flex-3.1.0/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -march=3Dnative -mfpu= =3Dneon -std=3Dgnu++11 -MD -MT CMakeFiles/ReflexLib.dir/lib/convert.cpp.o -MF CMakeFiles/ReflexLib.dir/lib/convert.cpp.o.d -o CMakeFiles/ReflexLib.dir/lib/convert.cpp.o -c /wrkdirs/usr/ports/textproc/re-flex/work/RE-flex-3.1.0/lib/convert.cpp FAILED: CMakeFiles/ReflexLib.dir/lib/convert.cpp.o=20 /usr/bin/c++ -DHAVE_NEON -DReflexLib_EXPORTS -I/wrkdirs/usr/ports/textproc/re-flex/work/RE-flex-3.1.0/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -march=3Dnative -mfpu= =3Dneon -std=3Dgnu++11 -MD -MT CMakeFiles/ReflexLib.dir/lib/convert.cpp.o -MF CMakeFiles/ReflexLib.dir/lib/convert.cpp.o.d -o CMakeFiles/ReflexLib.dir/lib/convert.cpp.o -c /wrkdirs/usr/ports/textproc/re-flex/work/RE-flex-3.1.0/lib/convert.cpp c++: error: the clang compiler does not support '-march=3Dnative' ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/textproc/re-flex --- This is because -march=3Dnative is only supported on x86. Furthermore, por= ts should not use this option (see porter's handbook, =C2=A713.14.4) as it may= cause packages to be built that do not run on other machines of the same architecture. Please patch the port to build without -march=3Dnative. --=20 You are receiving this mail because: You are the assignee for the bug.=