This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12520] New: Unnecessary inclusion of Solaris-specific header
- From: "jonm at dualitymedia dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2003 00:21:44 -0000
- Subject: [Bug target/12520] New: Unnecessary inclusion of Solaris-specific header
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12520
Summary: Unnecessary inclusion of Solaris-specific header
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jonm at dualitymedia dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc64-*-openbsd*
GCC host triplet: sparc64-*-openbsd*
GCC target triplet: sparc64-*-openbsd*
A basic build (passing no arguments to `configure`) eventually aborts with an
error message about two undefined macros, STARTFILE_ARCH_SPEC and
LINK_ARCH_SPEC. The problem was traced to the unnecessary inclusion of
gcc/config/sparc/sol2.h in gcc/config-gcc:2409. I was using OpenBSD 3.4 to
build gcc.