[Bug 223300] www/firefox (56+) fails to build using lang/rust (1.21+) built with PORT_LLVM=on: error[E0432]: unresolved import `x86::sse2`

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 15 14:41:46 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223300

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

> $ RUSTC_BOOTSTRAP=1 rustc -C target-cpu=native --print cfg

For me the above command prints something different:

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

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

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

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


More information about the freebsd-gecko mailing list