This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/22301] [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed
- From: "pbrook at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2005 14:19:54 -0000
- Subject: [Bug ada/22301] [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed
- References: <20050705014041.22301.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pbrook at gcc dot gnu dot org 2005-07-05 14:19 -------
In that case this may be a darwin bug.
IIUC gnat1 uses exceptions, and needs the host unwind.h to do so. These
exceptions may be different to the exceptions on the target system. If darwin
doesn't have this file it's a bug in the bootstrap compiler. Using the target
version is just plain wrong (and will break horribly when cross-compiling).
The other alternative is ada is very confused about host vs. target, and raise.c
shouldn't be in the compiler at all.
I can't tell which is the case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22301