[Bug 210890] [exp-run] Define max_align_t for C11 and C++11 in stddef.h
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 7 12:44:48 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210890
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 at FreeBSD.org
Reporter: jhb at FreeBSD.org
CC: freebsd-ports-bugs at FreeBSD.org
Created attachment 172194
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172194&action=edit
max_align_t.patch
gnu lib wants max_align_t defined by the C compiler. If it doesn't find one,
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 has
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list