Date: Thu, 07 Jul 2016 12:44:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210890] [exp-run] Define max_align_t for C11 and C++11 in stddef.h Message-ID: <bug-210890-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210890 Bug ID: 210890 Summary: [exp-run] Define max_align_t for C11 and C++11 in stddef.h Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: jhb@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org Created attachment 172194 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172194&action= =3Dedit max_align_t.patch gnu lib wants max_align_t defined by the C compiler. If it doesn't find on= e, it generates its own version which conflicts with the version in libc++'s stddef.h. This breaks builds of GDB master on 11.0. I know dim@ (cc'd) has worked around this in various ports by forcing max_align_t to be defined via autoconf. However, defining max_align_t in C (not just C++) should fix this for real. This patch has survived make tinderbox, but I need to see what fallout it h= as in ports. Note that you will need to build a new world with this to get updated headers. It does not require a new kernel. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210890-13>