[Bug 213515] lang/erlang-riak: Fix build with clang 3.9.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 15 22:00:36 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213515
Bug ID: 213515
Summary: lang/erlang-riak: Fix build with clang 3.9.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: wg at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(wg at FreeBSD.org)
Assignee: wg at FreeBSD.org
Created attachment 175794
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175794&action=edit
Upstream fix for alignment bug in allocator start code
During the exp-run for bug 212343, lang/erlang-riak failed to build on i386
with clang 3.9.0, because beam.smp segfaults:
gmake[4]: Entering directory
'/wrkdirs/usr/ports/lang/erlang-riak/work/otp_src_R16B02-basho5/lib/hipe/misc'
erlc -W +debug_info +warn_exported_vars +warn_missing_spec
+warn_untyped_record -o../ebin hipe_consttab.erl
gmake[4]: ***
[/wrkdirs/usr/ports/lang/erlang-riak/work/otp_src_R16B02-basho5/make/i386-portbld-freebsd12.0/otp.mk:115:
../ebin/hipe_consttab.beam] Segmentation fault (core dumped)
This is because of an alignment bug in Erlang's threaded allocator, fixed by
the following upstream commit:
https://github.com/erlang/otp/commit/5a00e724a58ee29d4012cca79c8aa33979e74eb6
Here is a patch for lang/erlang-riak to apply this. The regular lang/erlang
port already has the fix.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list