From owner-freebsd-ports-bugs@freebsd.org Sat Oct 15 22:00:36 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 414A4C131FA for ; Sat, 15 Oct 2016 22:00:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1806EA71 for ; Sat, 15 Oct 2016 22:00:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9FM0ZFx059459 for ; Sat, 15 Oct 2016 22:00:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213515] lang/erlang-riak: Fix build with clang 3.9.0 Date: Sat, 15 Oct 2016 22:00:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2016 22:00:36 -0000 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.=