This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/15212] [4.0/4.1/4.2/4.3 Regression] bootstrap fails on interix3
- From: "mkoeppe at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2006 00:17:57 -0000
- Subject: [Bug bootstrap/15212] [4.0/4.1/4.2/4.3 Regression] bootstrap fails on interix3
- References: <bug-15212-8438@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from mkoeppe at gmx dot de 2006-12-04 00:17 -------
(In reply to comment #22)
> Shell script issue:
> While building in builddir/gcc there are 3 scripts generated:
> as, nm, collect-ld. These have a wrong header. When gmake fails, you need to
> modify the first line "#!sh" -> "#!/bin/sh" and restart. Unfortunately I don't
> know where the right place for patching this is.
> Interix apparently cannot execute scripts starting with "#!sh".
I now found the source of this in config/mh-interix, which says SHELL=sh. At
least on interix 3.5+ there is /bin/sh, so this line should be removed! It
causes the build to fail, as "#!sh" scripts are now disabled for security
reasons on interix.
Martin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15212