Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 20:06:13 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Matthias Andree <mandree@FreeBSD.org>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Gerald Pfeifer <gerald@FreeBSD.org>
Subject:   Re: GCC i386 stack misalignment: [package - head-i386-default][graphics/rawtherapee-devel] Failed for rawtherapee-devel-5.0 in stage
Message-ID:  <2663804A-70D1-4804-B5B4-4F0A964FF929@FreeBSD.org>
In-Reply-To: <c519fb4d-2154-4dcf-b40e-2796cfe27c0e@FreeBSD.org>
References:  <201701291703.v0TH3gqR042774@beefy11.nyi.freebsd.org> <c519fb4d-2154-4dcf-b40e-2796cfe27c0e@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 29 Jan 2017, at 19:35, Matthias Andree <mandree@FreeBSD.org> 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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAliOPS0ACgkQsF6jCi4glqNh9QCglVH213RlnPI4pcbmflgJe0Rc
ZHgAn3uWIqRrJUJy9mUBQDPGxPYz9JV+
=M1uN
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2663804A-70D1-4804-B5B4-4F0A964FF929>