------- Comment #22 from mkoeppe at gmx dot de  2006-09-14 10:12 -------
(In reply to comment #21)

Update 2 for gcc-4.2
====================

I now successfully bootstrapped gcc-4.2-20060909, using native, i.e.
ms-patched, binutils!

After applying some hotfixes to interix, fixing the shell script headers for
as, nm, collect-ld, and disabling -Werror, "gmake bootstrap" now succeeded.

Interix hotfixes:
KB886655: ld
KB902074: libc.a, libc.so.3.5
KB917960: posix.exe, psxdll.dll, psxrun.exe, psxss.exe
You may refer to: http://www.duh.org/interix/hotfixes.php

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

-Werror:
There are several of the following warnings emitted when building stage2 and
higher:
warning: alignment of '[...]' is greater than maximum object file alignment. 
Using 16
When gmake stopped, I removed -Werror in the Makefile and restarted.
Don't know what's really wrong here, either.

(The hotfixes didn't help for 4.0.3 or 4.1.1.)

Martin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15212

Reply via email to