This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failed on i386-pc-solaris2.10
- From: "H.J. Lu" <hjl at lucon dot org>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Art Haas <ahaas at impactweather dot com>, gcc at gcc dot gnu dot org, GCC Patches <gcc-patches at gcc dot gnu dot org>, Daniel Jacobowitz <drow at false dot org>
- Date: Wed, 8 Aug 2007 06:32:50 -0700
- Subject: Re: Bootstrap failed on i386-pc-solaris2.10
- References: <200708071938.l77Jcjed013598@impdell3.impactweather.com> <20070807223456.GA16357@lucon.org> <20070807224133.GA26093@caradoc.them.org> <20070807224947.GA16473@lucon.org> <46B9796B.2030400@gnu.org>
On Wed, Aug 08, 2007 at 10:06:03AM +0200, Paolo Bonzini wrote:
>
> >That is what I missed. Thanks.
> >
> >This patch should work.
>
> Sure, but it makes the mess even worse. You should instead:
>
> - in config/t-svr4, change the two CFLAGS assignments to use +=
There is
CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
How do you use +=?
> - in config/i386/t-sol2, change the CRTSTUFF_T_CFLAGS assignment to "+=
> -O2" and remove the TARGET_LIBGCC2_CFLAGS assignment
> - in config.gcc, change
>
> tmake_file="t-sol2 i386/t-sol2 t-svr4"
>
> to
>
> tmake_file="${tmake_file} t-sol2 i386/t-sol2 t-svr4"
>
> and move it at the end of the case stanza, i.e. before
>
> ;;
> i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
>
There are so many changes and I can't test any of them. I will leave
them to someone who can test. I will be happy to back out:
- tmake_file="$tmake_file i386/t-sol2-10"
+ tmake_file="$tmake_file i386/t-crtstuff i386/t-sol2-10"
in the mean time.
H.J.