This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43952] New: NetBSD _ANSI_H_ vs. _I386_ANSI_H_ and _X86_64_ANSI_H_
- From: "corsepiu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2010 01:52:02 -0000
- Subject: [Bug bootstrap/43952] New: NetBSD _ANSI_H_ vs. _I386_ANSI_H_ and _X86_64_ANSI_H_
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Building GCC-4.5.0 for targets i?86-netbsdelf5* and amd64-netbsdelf5*
chokes on issues related to ptrdiff_t and further types from stddef.h.
>From what I gather, the cause is these targets not providing
_ANSI_H nor _MACHINE_ANSI_H in their <machine/ansi.h> header but them using
_I386_ANSI_H_ rsp. _X86_64_ANSI_H_
This breaks the logic which supposed to handle the <machine/ansi.h> for
NetBSD targets in ginclude/stddef.h
--
Summary: NetBSD _ANSI_H_ vs. _I386_ANSI_H_ and _X86_64_ANSI_H_
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: corsepiu at gcc dot gnu dot org
GCC target triplet: {i?86,amd64}-*-netbsdelf5*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43952