[Bug target/28102] [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared
ams at gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 15 13:45:00 GMT 2006
------- Comment #2 from ams at gnu dot org 2006-07-15 13:45 -------
Created an attachment (id=11892)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11892&action=view)
Fixes #28102
(In reply to comment #1)
> Why is GNU target including linux.h header at all?
> TARGET_C99_FUNCTIONS should be overridden in gnu.h anyways.
Because the rules in config.gcc say so:
*-*-gnu*)
...
i[34567]86-*-*)
tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h
elfos.\
h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
...
Here is a patch that fixes the problem.
gcc/ChangeLog
2006-07-15 Alfred M. Szmidt <ams@gnu.org>
* config/i386/gnu.h (TARGET_C99_FUNCTIONS): Undefine macro.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28102
More information about the Gcc-bugs
mailing list