This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/18116] build failure on ppc64le: setcontext.S uses power6 mtfsf when not supported
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 01 Jun 2015 19:21:22 +0000
- Subject: [Bug build/18116] build failure on ppc64le: setcontext.S uses power6 mtfsf when not supported
- Auto-submitted: auto-generated
- References: <bug-18116-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18116
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via db8fed87d9741b6b3da6c2257f01d63ef2fe407c (commit)
from 0cd2828695cc328aa1b48379436d15c39d433076 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=db8fed87d9741b6b3da6c2257f01d63ef2fe407c
commit db8fed87d9741b6b3da6c2257f01d63ef2fe407c
Author: Martin Sebor <msebor@redhat.com>
Date: Mon Jun 1 14:12:09 2015 -0300
powerpc: setcontext.S uses power6 mtfsf when not supported [BZ #18116]
The attached patch fixes a glibc build failure with gcc 5 on powerpc64le
caused by a recent change in gcc where the compiler defines the
_ARCH_PWR6 macro when processing assembly files but doesn't invoke the
assembler in the corresponding machine mode (unless it has been
explicitly configured to target POWER 6 or later). A bug had been filed
with gcc for this (65341) but was closed as won't fix. Glibc relies on
the _ARCH_PWR6 macro in a few .S files to make use of Power ISA 2.5
instructions (specifically, the four-argument form of the mtfsf insn).
A similar problem had occurred in the past (bug 10118) but the fix that
was committed for it didn't anticipate this new problem.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++
.../unix/sysv/linux/powerpc/powerpc64/setcontext.S | 30 +++++++++++++---
.../sysv/linux/powerpc/powerpc64/swapcontext.S | 36 +++++++++++++++----
3 files changed, 61 insertions(+), 14 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.