On 03/04/15 09:40, Martin Sebor wrote:
On 03/04/2015 09:19 AM, Jeff Law wrote:
On 03/04/15 06:43, Andreas Schwab wrote:
Martin Sebor <mse...@redhat.com> writes:

The attached patch resolves PR 65286 by adding --disable-multilib
when configuring for a ppc64le target.

If powerpc64le doesn't want multilib it should not set any multilib
parameters.
Agreed, and it's debatable whether or not ppc64le should have any
multilibs at this time.  That's a decision I leave to the ppc
maintainers to answer.

I think the concern is that simply disabling the multilib without
looking at the underlying failure may be papering over a real bug.

The configure script explicitly adds --enable-multilib unless
--disable-multilib is specified. This then results in libraries
being built with the -m32 option, which fails with errors like
the one below:

/usr/include/gnu/stubs.h:8:27: fatal error: gnu/stubs-32.h: No such file
or directory
Ah, yes, lack of 32bit glibc for ppc64le would cause this. Unless the IBM-ers are planning a 32bit glibc for ppc64le, then this patch makes perfect sense.

jeff

Reply via email to