David Edelsohn <[EMAIL PROTECTED]> writes:

>>>>>> Andreas Jaeger writes:
>
> Andreas> I had the same problem on my PowerPC Linux machine and the workaround
> Andreas> I'm using now is to run make with the additional flag 
> STAGE1_CFLAGS=3D-O.
> Andreas> The problem (thanks to Andreas Schwab and Michael Matz for help) is 
> that
> Andreas> .glink and .text is too far away from each other (> 32 MB in the
> Andreas> non-optimized case) and therefore building of e.g. cc1-dummy fails.
> Andreas> Adding -Wl,--relax to the cc1-dummy build helped for that binary but 
> I
> Andreas> found no way to get this properly into the Makefiles (and make
> Andreas> LDFLAGS=3D"-Wl,--relax" gave an error in configure later on),
>
>       Can you add
>
> cc1-dummy$(exeext) : override LDFLAGS += -Wl,--relax
>
> to an appropriate tmake_file in gcc/config/rs6000 ?

It should be put in a host_xmake_file fragment.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to