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=223300

--- Comment #38 from Mikhail T. <mi@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.


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