This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build-many-glibcs: powerpc-linux-gnu-soft configuration builds with hard float, link fails
- From: Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>
- To: Zack Weinberg <zackw at panix dot com>, GNU C Library <libc-alpha at sourceware dot org>, Joseph Myers <joseph at codesourcery dot com>
- Cc:
- Date: Tue, 21 May 2019 17:35:02 -0300
- Subject: Re: build-many-glibcs: powerpc-linux-gnu-soft configuration builds with hard float, link fails
- References: <CAKCAbMhozBC=7ae7BK-_ELNUCPFqMfwzVphGK7OSaTCBH1dEvg@mail.gmail.com>
Zack Weinberg <zackw@panix.com> writes:
> I'm seeing a build failure under build-many-glibcs for the
> powerpc-linux-gnu-soft configuration. The syndrome is that some (but
> not all) of the object files going into libc_pic.os are compiled with
> -mhard-float and so the final link of libc.so.6 blows up:
Is this happening after you apply your patch?
If so, please check if you removed the following line was removed from
sysdeps/powerpc/preconfigure:
with_fp_cond="!defined __NO_FPRS__"
This variable must be defined per configure.ac:
# A preconfigure script for a system that may or may not use fpu
# sysdeps directories sets this to a preprocessor conditional for
# whether to use such directories.
with_fp_cond=1
--
Tulio Magno