This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH], PowerPC long double transition patches, v2, Patch #1 (disable long double multilib)


When we started down the road of transitioning long double to IEEE 128-bit, we
thought the only way to do it was to add multi-lib support.  Since then with
work underway in both GLIBC and libstdc++ we no longer feel that we need to use
multilibs.

The code as it is now for GCC 8.x and trunk will automatically build multilibs
on little endian PowerPC Linux by default unless you configure the compiler
with --disable-multilib.  However, things will fail unless the target GLIBC
directory is set up for multlibs.

This code disables the automatic multilib creation unless you use the
--with-advance-toolchain=<xxx> option and the Advance Toolchain directoy has
been modified to have the lib64/ieee128 and/or lib64/ibm128 directories for
multilib support.  This allows the multilib to still be created, but it is not
enabled by default.

Alternatively, I have a patch that disables the IEEE/IBM long double multilib
support completely.

This patch has been tested on a little endian power8 system.  Can I install
this patch on the trunk, and back port it to GCC 8.x?

[gcc]
2018-06-20  Michael Meissner  <meissner@linux.ibm.com>

	* config.gcc (powerpc64le*-*-*): Only enable IEEE/IBM long double
	multilibs if we are building against an Advance Toolchain compiler
	that has multilib support.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.ibm.com, phone: +1 (978) 899-4797

Attachment: ieee128-patch120b
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]