* powerpc build failures with GCC trunk
@ 2019-05-23 21:32 Joseph Myers
2019-05-24 20:36 ` Gabriel F. T. Gomes
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2019-05-23 21:32 UTC (permalink / raw)
To: libc-alpha
My glibc bot is showing build failures for powerpc with GCC trunk. For
powerpc64 (BE and LE), glibc fails to build, with errors of the form:
../sysdeps/powerpc/powerpc64/power8/strcmp.S: Assembler messages:
../sysdeps/powerpc/powerpc64/power8/strcmp.S:55: Error: unrecognized opcode: `cmpb'
For 32-bit, the failures are in the testsuite:
/tmp/ccs8hquE.s:43: Error: unrecognized opcode: `mfppr32'
(building tst-set_ppr.o).
Without having specifically tested, I'm guessing that
2019-05-22 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.h (ASM_OPT_ANY): Define.
(ASM_CPU_SPEC): Conditionally add -many.
* config/rs6000/rs6000.c (rs6000_machine): New static var.
(rs6000_machine_from_flags, emit_asm_machine): New functions..
(rs6000_file_start): ..extracted from here, and modified to
test all ISA bits.
(rs6000_output_function_prologue): Emit .machine as necessary.
is the change causing this. Could the powerpc maintainers look at this
and fix glibc / tests to build with current GCC (ensuring appropriate CPU
options or assembler directives are passed to enable the instructions in
question, I suppose)?
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: powerpc build failures with GCC trunk
2019-05-23 21:32 powerpc build failures with GCC trunk Joseph Myers
@ 2019-05-24 20:36 ` Gabriel F. T. Gomes
0 siblings, 0 replies; 2+ messages in thread
From: Gabriel F. T. Gomes @ 2019-05-24 20:36 UTC (permalink / raw)
To: Joseph Myers; +Cc: libc-alpha
On Thu, May 23 2019, Joseph Myers wrote:
>
> is the change causing this. Could the powerpc maintainers look at this
> and fix glibc / tests to build with current GCC (ensuring appropriate CPU
> options or assembler directives are passed to enable the instructions in
> question, I suppose)?
Thanks for the heads-up, I'm working on a patch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-24 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23 21:32 powerpc build failures with GCC trunk Joseph Myers
2019-05-24 20:36 ` Gabriel F. T. Gomes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).