Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 14:41:43 +0000
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`
Message-ID:  <bug-223300-21738-gmdTS8oq53@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223300-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223300-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223300

--- Comment #38 from Mikhail T. <mi@ALDAN.algebra.com> ---
> I cannot reproduce.

> $ RUSTC_BOOTSTRAP=3D1 rustc -C target-cpu=3Dnative --print cfg

For me the above command prints something different:

    debug_assertions
    target_arch=3D"x86"
    target_endian=3D"little"
    target_env=3D""
    target_family=3D"unix"
    target_os=3D"freebsd"
    target_pointer_width=3D"32"
    unix

Maybe, that's because I compiled rust itself (1.22.1) with "march=3Dnative"=
?=20

BTW, if you are trying to set RUSTFLAGS intelligently in bsd.gecko.mk, you =
may
also want to add the `-C codegen-units=3D${MAKE_JOBS_NUMBER}` to paralleliz=
e the
compilations.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223300-21738-gmdTS8oq53>