Re: rust broken?

From: Matthew Macy <mat.macy_at_gmail.com>
Date: Thu, 7 Jun 2018 10:36:24 -0700
On Thu, Jun 7, 2018 at 10:33 Michael Butler <imb_at_protected-networks.net>
wrote:

> Ah - I'll re-enable that to see if it makes a difference ..
>


It's not a question of enabling. It doesn't explicitly use the 11 symbols.
Rust developers assume that every OS has a frozen ABI like Linux. The rust
from rustup will only work on 11. This is why you need to use the port /
pkg.

-M


> I missed that in the comparison between my two build environments :-(
>
>         Michael
>
> On 06/07/18 13:21, Matthew Macy wrote:
> >
> > Rustup uses the 11 ABI.
> >
> > On Thu, Jun 7, 2018 at 10:11 Alan Somers <asomers_at_freebsd.org
> > <mailto:asomers_at_freebsd.org>> wrote:
> >
> >     Can you reproduce the problem using rust installed from rustup
> >     instead of
> >     from Ports?  If so, you should file a bug report with the Rust
> >     developers.
> >     Hint: when using Rustup, you'll have to use vresion 1.26.1 instead of
> >     1.26.0.
> >     -Alan
> >
> >     On Thu, Jun 7, 2018 at 9:44 AM, Michael Butler
> >     <imb_at_protected-networks.net <mailto:imb_at_protected-networks.net>>
> >     wrote:
> >
> >     > In response to a Firefox update, I tried to build the new version.
> >     > However, rust now fails with a core-dump in the build process.
> >     >
> >     > checking for libffi > 3.0.9... yes
> >     > checking MOZ_FFI_CFLAGS... -I/usr/local/lib/libffi-3.2.1/include
> >     > checking MOZ_FFI_LIBS... -L/usr/local/lib -lffi
> >     > checking for rustc... /usr/local/bin/rustc
> >     > checking for cargo... /usr/local/bin/cargo
> >     > checking rustc version...
> >     > DEBUG: Executing: `/usr/local/bin/rustc --version --verbose`
> >     > DEBUG: The command returned non-zero exit status -12.
> >     > DEBUG: Its output was:
> >     > DEBUG: | rustc 1.26.0
> >     > DEBUG: | binary: rustc
> >     > DEBUG: | commit-hash: unknown
> >     > DEBUG: | commit-date: unknown
> >     > DEBUG: | host: x86_64-unknown-freebsd
> >     > DEBUG: | release: 1.26.0
> >     > ERROR: Command `/usr/local/bin/rustc --version --verbose` failed
> with
> >     > exit status -12.
> >     >
> >     > Attempts to rebuild rust (and cargo) from the bootstrap files fail
> in
> >     > similar fashion.
> >     >
> >     > On a machine running a SVN r334538 kernel but more recent
> >     user-land, it
> >     > builds successfully. With (the only difference being) a kernel at
> SVN
> >     > r334748, it does not.
> >     >
> >     > Any hints/thoughts?
> >     >
> >     >         imb
> >     > _______________________________________________
> >     > freebsd-current_at_freebsd.org <mailto:freebsd-current_at_freebsd.org>
> >     mailing list
> >     > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> >     > To unsubscribe, send any mail to
> >     "freebsd-current-unsubscribe_at_freebsd.org
> >     <mailto:freebsd-current-unsubscribe_at_freebsd.org>"
> >     >
> >     _______________________________________________
> >     freebsd-current_at_freebsd.org <mailto:freebsd-current_at_freebsd.org>
> >     mailing list
> >     https://lists.freebsd.org/mailman/listinfo/freebsd-current
> >     To unsubscribe, send any mail to
> >     "freebsd-current-unsubscribe_at_freebsd.org
> >     <mailto:freebsd-current-unsubscribe_at_freebsd.org>"
> >
>
>
Received on Thu Jun 07 2018 - 15:36:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC