Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2016 22:00:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213515] lang/erlang-riak: Fix build with clang 3.9.0
Message-ID:  <bug-213515-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213515

            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@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(wg@FreeBSD.org)
          Assignee: wg@FreeBSD.org

Created attachment 175794
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175794&action=
=3Dedit
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/mi=
sc'
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-p=
ortbld-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/5a00e724a58ee29d4012cca79c8aa33979e74e=
b6

Here is a patch for lang/erlang-riak to apply this.  The regular lang/erlang
port already has the fix.

--=20
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-213515-13>