Date: Thu, 26 Jan 2017 09:56:00 +0000 From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 216206] editors/openoffice-4 and editors/openoffice-devel: fails to build with clang 4.0 Message-ID: <bug-216206-25061-S3RgAhL2tU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-216206-25061@https.bugs.freebsd.org/bugzilla/> References: <bug-216206-25061@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216206 Don Lewis <truckman@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |truckman@FreeBSD.org --- Comment #14 from Don Lewis <truckman@FreeBSD.org> --- (In reply to Pedro F. Giffuni from comment #2) I used a poudriere jail running the /projects/clang400-import/ branch to tr= ack down some more openoffice build problems with clang 4.0. In all cases the code looked like: somestruct *obj =3D new somestruct (); It turns out that clang 4.0 tries to use SSE instructions to zero the memory block returned by new, which requires that the memory be 16-byte aligned, b= ut our malloc implementation only does 8-byte alignment. If the memory isn't sufficiently aligned, then we get a bus error core dump. I wasn't able to provoke our malloc() implementation into returning an unaligned pointer for objects of 16 bytes or larger, but I see that AOO redefines new and uses its own memory allocator. --=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-216206-25061-S3RgAhL2tU>