From owner-freebsd-toolchain@freebsd.org Sun Jan 29 19:06:31 2017 Return-Path: Delivered-To: freebsd-toolchain@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 74A51CC7420 for ; Sun, 29 Jan 2017 19:06:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B28E1EB1; Sun, 29 Jan 2017 19:06:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::dbc:265c:2c54:c7a9] (unknown [IPv6:2001:7b8:3a7:0:dbc:265c:2c54:c7a9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2A007A156; Sun, 29 Jan 2017 20:06:22 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_73132049-1DBA-49F8-B04C-1DCAADD2D80B"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: GCC i386 stack misalignment: [package - head-i386-default][graphics/rawtherapee-devel] Failed for rawtherapee-devel-5.0 in stage From: Dimitry Andric In-Reply-To: Date: Sun, 29 Jan 2017 20:06:13 +0100 Cc: FreeBSD Toolchain , Gerald Pfeifer Message-Id: <2663804A-70D1-4804-B5B4-4F0A964FF929@FreeBSD.org> References: <201701291703.v0TH3gqR042774@beefy11.nyi.freebsd.org> To: Matthias Andree X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 19:06:31 -0000 --Apple-Mail=_73132049-1DBA-49F8-B04C-1DCAADD2D80B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 29 Jan 2017, at 19:35, Matthias Andree wrote: > whenever I've traced one of the attached SIGBUS issues on gcc-compiled > i386 code with SSE2, I found that it was using unaligned 128-bit = > 16-byte wide SSE2 access which also needs 16-byte aligned data > (including stacks). See these very old bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38496 PR 40838 is 8 years old and still has status NEW, PR38496 has WONTFIX. E.g. don't count on this getting fixed upstream. -Dimitry --Apple-Mail=_73132049-1DBA-49F8-B04C-1DCAADD2D80B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAliOPS0ACgkQsF6jCi4glqNh9QCglVH213RlnPI4pcbmflgJe0Rc ZHgAn3uWIqRrJUJy9mUBQDPGxPYz9JV+ =M1uN -----END PGP SIGNATURE----- --Apple-Mail=_73132049-1DBA-49F8-B04C-1DCAADD2D80B--