This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/15212] [4.0/4.1/4.2/4.3 Regression] bootstrap fails on interix3



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]