From owner-freebsd-gecko@freebsd.org Fri Dec 15 14:06:06 2017 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7988DE82384 for ; Fri, 15 Dec 2017 14:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE2B76F3F for ; Fri, 15 Dec 2017 14:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B8C4E82383; Fri, 15 Dec 2017 14:06:06 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B324E82382 for ; Fri, 15 Dec 2017 14:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4873976F3E for ; Fri, 15 Dec 2017 14:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vBFE61PO064378 for ; Fri, 15 Dec 2017 14:06:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 223300] www/firefox (56+) fails to build using lang/rust (1.21+) built with PORT_LLVM=on: error[E0432]: unresolved import `x86::sse2` Date: Fri, 15 Dec 2017 14:06:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: mi@ALDAN.algebra.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 14:06:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223300 Mikhail T. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mi@ALDAN.algebra.com --- Comment #36 from Mikhail T. --- (In reply to commit-hook from comment #32) The commit changes gecko.mk to derive the target-cpu setting given to rustc from the CFLAGS. This is a very elegant solution and would've been perfect,= if not for the common case of "-march=3Dnative". Because, sadly, "native" to rustc currently means "generic", instead of "ch= eck the features of the currently-used processor and enable them all". And "generic" means "no SSE2". And, because it means generic, the firefox build fails with that same error about SSE2, when CPUTYPE is set to "native". I'm not sure, how to fix it correctly, but a warning advising user to set CPUTYPE explicitly may be helpful. --=20 You are receiving this mail because: You are the assignee for the bug.=