[Bug 234080] devel/rust-cbindgen 0.6.7_1 segfaults during configure with *** Signal 11 on FreeBSD 12.0-RELEASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 17 15:18:43 UTC 2018


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

--- Comment #2 from Kevin Reinholz <kreinholz at gmail.com> ---
I do. I'm running a GENERIC FreeBSD 12.0-RELEASE kernel, which has the
following COMPAT_FREEBSD options enabled by default:

options         COMPAT_FREEBSD32        # Compatible with i386 binaries
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
options         COMPAT_FREEBSD7         # Compatible with FreeBSD7
options         COMPAT_FREEBSD9         # Compatible with FreeBSD9
options         COMPAT_FREEBSD10        # Compatible with FreeBSD10
options         COMPAT_FREEBSD11        # Compatible with FreeBSD11

I tried building rust-cbindgen with rust-nightly version 1.33.0.20181216, but
rust-cbindgen complains about not having rust version 1.31, tries to install
it, then complains that rust 1.31 conflicts with rust 1.33. I could not find an
option in rust-cbindgen's Makefile to change the version of rust it searches
for, which even in and of itself would have felt a little "hacky," and I was
not about to sift through the rust-cbindgen src files to find the rust version
checker and change it.

I wonder if anyone else has experienced this error, or if it can be duplicated
on a fresh install of FreeBSD 12.0-RELEASE as opposed to a binary update from
FreeBSD 11.2-RELEASE as was the case on my machine.

At any rate, I think it's a fairly significant issue, as Firefox will not build
without rust-cbindgen, and for Desktop users at least, I'd think a lot of folks
would want the option of building/running Firefox as their web browser. (Better
Flash support than Chromium, for starters, although that's becoming
increasingly less of an issue as more and more sites transition to HTML5
embedded videos based on codecs readily available through gstreamer).

Unless I'm mistaken, the issue lies with the stat wrapper in rust-cbindgen (but
not in rust, oddly enough), and a change between stat's memory layout from
FreeBSD 11.x to 12.0. Help?

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


More information about the freebsd-gecko mailing list