Re: [PATCH] Fix -print-multiarch for powerpc{,le}-linux (PR target/89587)

2019-03-05 Thread Jakub Jelinek
On Tue, Mar 05, 2019 at 11:10:20AM -0600, Segher Boessenkool wrote: > On Tue, Mar 05, 2019 at 04:22:17PM +0100, Jakub Jelinek wrote: > > powerpc-linux-gnu is apparently the only target that provides > > MULTIARCH_DIRNAME unconditionally, > > (Unless building with default CPU a 4xx or 8xx or simila

Re: [PATCH] Fix -print-multiarch for powerpc{,le}-linux (PR target/89587)

2019-03-05 Thread Segher Boessenkool
Hi, On Tue, Mar 05, 2019 at 04:22:17PM +0100, Jakub Jelinek wrote: > powerpc-linux-gnu is apparently the only target that provides > MULTIARCH_DIRNAME unconditionally, (Unless building with default CPU a 4xx or 8xx or similar embedded. Which doesn't seem right, oh well). > all others properly w

Re: [PATCH] Fix -print-multiarch for powerpc{,le}-linux (PR target/89587)

2019-03-05 Thread Matthias Klose
On 05.03.19 16:22, Jakub Jelinek wrote: > Hi! > > powerpc-linux-gnu is apparently the only target that provides > MULTIARCH_DIRNAME unconditionally, all others properly wrap that with > if_multiarch, which decides if it should be used (--enable-multiarch, > or if the test for automatic multiarch s

[PATCH] Fix -print-multiarch for powerpc{,le}-linux (PR target/89587)

2019-03-05 Thread Jakub Jelinek
Hi! powerpc-linux-gnu is apparently the only target that provides MULTIARCH_DIRNAME unconditionally, all others properly wrap that with if_multiarch, which decides if it should be used (--enable-multiarch, or if the test for automatic multiarch succeeds), or should be empty (--disable-multiarch, o