[Bug gas/28919] powerpc e500mc Error: unrecognized opcode: `isel'

2022-02-23 Thread judge.packham+glibc at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28919

--- Comment #1 from Chris Packham  ---
Created attachment 13993
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13993&action=edit
assembly file emitted by GCC

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


[Bug gas/28733] RISC-V: Bad errors on fence.i and CSR ISA checking

2022-02-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28733

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nelson Chu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=df0a549ebdae74ef9d233243b869d424e6a33c73

commit df0a549ebdae74ef9d233243b869d424e6a33c73
Author: Patrick O'Neill 
Date:   Fri Jan 21 09:22:00 2022 -0800

RISC-V: PR28733, add missing extension info to 'invalid CSR' error

Currently we report errors as "invalid CSR 'fscr' for the current ISA"
when the instruction isn't valid.

This patch expands that error message to include the missing extension
information. For example, now the error message would be "invalid CSR
'fscr' for the current ISA, CSR 'fscr' needs 'f' extension".

Signed-off-by: Patrick O'Neill 

gas/
pr 28733
* config/tc-riscv.c (riscv_csr_address): Report more details
when the CSR is invalid.
* testsuite/gas/riscv/csr-version-1p10.l: Updated detailed errors.
* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
* testsuite/gas/riscv/csr-version-1p12.l: Likewise.
* testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.

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


[Bug gas/28733] RISC-V: Bad errors on fence.i and CSR ISA checking

2022-02-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28733

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nelson Chu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e4028336b19998e74a51dd0918a8b3922e08a537

commit e4028336b19998e74a51dd0918a8b3922e08a537
Author: Patrick O'Neill 
Date:   Fri Jan 21 09:22:46 2022 -0800

RISC-V: PR28733, add missing extension info to 'unrecognized opcode' error

Currently we report errors as "unrecognized opcode `fence.i'" when the
opcode isn't part of the selected extensions.
This patch expands that error message to include the missing extension
information. For example, now the error message would be "unrecognized
opcode `fence.i', extension `zifencei' required".
If the opcode is not a part of any extension, the error message reverts
to "unrecognized opcode `'".

Signed-off-by: Patrick O'Neill 

bfd/
pr 28733
* elfxx-riscv.c (riscv_multi_subset_supports_ext): New function,
used to return the extension string for each INSN_CLASS_*.
* elfxx-riscv.h: Added extern riscv_multi_subset_supports_ext.
gas/
pr 28733
* config/tc-riscv.c (struct riscv_ip_error): New structure,
contains information about errors that occur within the riscv_ip.
(riscv_ip): Use struct riscv_ip_error to report more detailed
errors.
* testsuite/gas/riscv/c-fld-fsd-fail.l: Updated.
* testsuite/gas/riscv/march-imply-i2p1-01.: Likewise.

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


[Bug gas/28733] RISC-V: Bad errors on fence.i and CSR ISA checking

2022-02-23 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28733

Nelson Chu  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #3 from Nelson Chu  ---
Marked as resolved and fixed.

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


[Bug gold/17169] gold: many_sections_define.h test fails: argument list too long error

2022-02-23 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17169

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

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


ld cannot find pam even though it is installed

2022-02-23 Thread rusty the hermit


 $ git clone https://git.sr.ht/~kennylevinsen/greetd
 $ cd greetd/
 $ cargo build --release
 
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" 
"/home/gorn/Desktop/git/greeter/greetd/target/release/deps/greetd-a0c6ef9c2ba09bb2.greetd.73906aa5-cgu.0.rcgu.o"
 "-Wl,--as-needed" "-L" 
"/home/gorn/Desktop/git/greeter/greetd/target/release/deps" "-L" 
"/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" 
"-Wl,--end-group" "-Wl,-Bstatic" 
"/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5667a4a7e2c48d47.rlib"
 "-Wl,-Bdynamic" "-lpam" "-lpam_misc" "-lgcc_s" "-lutil" "-lrt" "-lpthread" 
"-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" 
"/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" 
"/home/gorn/Desktop/git/greeter/greetd/target/release/deps/greetd-a0c6ef9c2ba09bb2"
 "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
  = note: /usr/bin/ld: cannot find -lpam: No such file or directory
          /usr/bin/ld: cannot find -lpam_misc: No such file or directory
          collect2: error: ld returned 1 exit status
         
warning: `greetd` (bin "greetd") generated 2 warnings
error: could not compile `greetd` due to previous error; 2 warnings emitted
 
 $ ls /usr/lib64|grep pam
lrwxrwxrwx  1 0 0        17  libpamc.so.0 -> libpamc.so.0.82.1*
-rwxr-xr-x  1 0 0     18488  libpamc.so.0.82.1*
lrwxrwxrwx  1 0 0        21  libpam_misc.so.0 -> libpam_misc.so.0.82.1*
-rwxr-xr-x  1 0 0     18512  libpam_misc.so.0.82.1*
lrwxrwxrwx  1 0 0        16  libpam.so.0 -> libpam.so.0.84.2*
-rwxr-xr-x  1 0 0     63624  libpam.so.0.84.2*