bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28794] Kernel build on big-endian PowerPC fails with 'Error: un


From: amodra at gmail dot com
Subject: [Bug gas/28794] Kernel build on big-endian PowerPC fails with 'Error: unrecognized opcode'
Date: Wed, 19 Jan 2022 23:16:32 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28794

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Not a binutils bug.  All of these are linux kernel errors.  Please report them
there (after verifying that they are not already fixed).

gas has no changed behaviour between 2.37 and 2.38 regarding the two
instructions that your 32-bit toolchain complains about, "dssall" and
"ptesync".  The same is very likely true of the instructions that are flagged
by the 64-bit build, "stbcix", "stbcx.", "lharx", "lbarx", "lwzcix", "stwcix",
"dssall", "popcntd", "ldcix", but I haven't checked all of them.

I believe the most likely explanation is that you have --enable-checking=yes or
one of the other enable-checking options that sets CHECKING_P in your gcc11
build.  --enable-checking=yes,extra is default for a non-release gcc11. 
CHECKING_P set results in "-many" *not* being passed to the assembler, in which
case gas complains when instructions are used that are not available in the
current "-mcpu" selection.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]