David Edelsohn <[EMAIL PROTECTED]> writes: >>>>>> Andreas Jaeger writes: > > Andreas> I'm not a build machinery expert - if anybody has a patch, I'll > happily test it, > Andreas> I'm building on Linux/Powerpc64. > > Andreas> Adding the above line to rs6000/x-linux64 did not help me. Btw. > Andreas> we would need it for other files - like gnat1 - as well, > > Andreas Schwab removed x-linux64 yesterday because it was not > referenced by any configuration.
Ah, that explains it.
>
> I know that the tmake_files are the wrong place, but just to test
> that it works, try adding the line to t-linux64, which is included in the
> powerpc64-linux configuration.
>
> Once we confirm the command is appended to LDFLAGS for executables
> that need it, we can figure out the correct Makefile fragment.
I added now to t-linux64:
cc1-dummy$(exeext) : override LDFLAGS += -Wl,--relax
cc1$(exeext) : override LDFLAGS += -Wl,--relax
gnat1$(exeext) : override LDFLAGS += -Wl,--relax
This gets me a bit further but I do get later a build failure in
configure:
checking for powerpc64-suse-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for powerpc64-suse-linux-gnu-gcc... /abuild/aj/gcc-tst/./gcc/xgcc
-B/abuild/aj/gcc-tst/./gcc/ -B/opt/gcc/4.4-devel/powerpc64-suse-linux-gnu/bin/
-B/opt/gcc/4.4-devel/powerpc64-suse-linux-gnu/lib/ -isystem
/opt/gcc/4.4-devel/powerpc64-suse-linux-gnu/include -isystem
/opt/gcc/4.4-devel/powerpc64-suse-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/abuild/aj/gcc-tst/powerpc64-suse-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
Andreas
--
Andreas Jaeger, Director Platform / openSUSE, [EMAIL PROTECTED]
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
pgpxGX4UhXEgW.pgp
Description: PGP signature
