This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support
- From: "kettenis at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Sep 2012 08:44:02 +0000
- Subject: [Bug pch/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support
- Auto-submitted: auto-generated
- References: <bug-39618-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618
kettenis at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kettenis at gnu dot org
--- Comment #6 from kettenis at gnu dot org 2012-09-09 08:44:02 UTC ---
This is fixed by the following commit.
Turns out it is possible to use a carefully chosen address to get PCH working
reliably, so I did go for that approach since it has a chance to work if GCC
is compiled as a position independent executable as well.
2012-09-02 Mark Kettenis <kettenis@openbsd.org>
* config.gcc (x86_64-*-openbsd*): New target.
* config.host (*-*-openbsd*): New target.
* config/openbsd.h (TARGET_C99_FUNCTIONS): Define.
* config/i386/openbsdelf.h: Remove some superfluous defines and
group things together in a more logical fashion.
(DBX_REGISTER_NUMBER): Provide a
definition that works on both 32-bit and 64-bit targets.
(WCHAR_TYPE_SIZE): Hardcode as 32.
(NO_DOLLAR_IN_LABEL): Remove undef.
(TARGET_DEFAULT): Remove.
(SET_ASM_OP): Remove.
(DEFAULT_PCC_STRUCT_RETURN): Undef first to prevent warning.
(ASM_OUTPUT_MAX_SKIP_ALIGN): Synch with x86-64.h
(DWARF2_UNWIND_INFO): Remove define.
(HAVE_ENABLE_EXECUTE_STACK): Define.
* config/host-openbsd.c: New file.
* config/t-openbsd (USER_H): Add EXTRA_HEADERS.
* config/x-openbsd: New file.