Update to Binutils 2.38
Joel Sherrill
joel at rtems.org
Sat Mar 12 17:29:03 UTC 2022
Any news on the PowerPC build failures introduced?
https://lists.rtems.org/pipermail/build/2022-March/032357.html
On Sat, Feb 26, 2022, 12:38 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 25/02/2022 15:33, Sebastian Huber wrote:
> > On 24/02/2022 10:46, Sebastian Huber wrote:
> >> Hello,
> >>
> >> just for your information, I updated the RSB to use Binutils 2.38 for
> >> the RTEMS 6 tool suite.
> >
> > This update causes a lot of trouble for riscv BSPs:
> >
> > unrecognized opcode `csrr a0,mcause'
> > unrecognized opcode `csrr a0,mstatus'
> > unrecognized opcode `csrr a1,mhartid'
> > unrecognized opcode `csrr a1,mstatus'
> > unrecognized opcode `csrr a2,mepc'
> > unrecognized opcode `csrr a2,mscratch'
> > unrecognized opcode `csrr a3,mhartid'
> > unrecognized opcode `csrr a4,mhartid'
> > unrecognized opcode `csrr a5,mhartid'
> > unrecognized opcode `csrrc a0,mstatus,0x8'
> > unrecognized opcode `csrrc a1,mstatus,0x8'
> > unrecognized opcode `csrrc a2,mstatus,0x8'
> > unrecognized opcode `csrrc a3,mstatus,0x8'
> > unrecognized opcode `csrrc a4,mstatus,0x8'
> > unrecognized opcode `csrrc a5,mstatus,0x8'
> > unrecognized opcode `csrrc a6,mstatus,0x8'
> > unrecognized opcode `csrrc a7,mstatus,0x8'
> > unrecognized opcode `csrrc s0,mstatus,0x8'
> > unrecognized opcode `csrrc s1,mstatus,0x8'
> > unrecognized opcode `csrrc s2,mstatus,0x8'
> > unrecognized opcode `csrrc s3,mstatus,0x8'
> > unrecognized opcode `csrrc s4,mstatus,0x8'
> > unrecognized opcode `csrrc t3,mstatus,0x8'
> > unrecognized opcode `csrrc zero,mstatus,0x8'
> > unrecognized opcode `csrr s0,mscratch'
> > unrecognized opcode `csrr s1,mscratch'
> > unrecognized opcode `csrr s2,mscratch'
> > unrecognized opcode `csrr s4,mscratch'
> > unrecognized opcode `csrrs a5,mie,8'
> > unrecognized opcode `csrrs a5,mie,a5'
> > unrecognized opcode `csrrs zero,mstatus,a0'
> > unrecognized opcode `csrrs zero,mstatus,a1'
> > unrecognized opcode `csrrs zero,mstatus,a2'
> > unrecognized opcode `csrrs zero,mstatus,a3'
> > unrecognized opcode `csrrs zero,mstatus,a4'
> > unrecognized opcode `csrrs zero,mstatus,a5'
> > unrecognized opcode `csrrs zero,mstatus,a6'
> > unrecognized opcode `csrrs zero,mstatus,a7'
> > unrecognized opcode `csrrs zero,mstatus,s0'
> > unrecognized opcode `csrrs zero,mstatus,s1'
> > unrecognized opcode `csrrs zero,mstatus,s2'
> > unrecognized opcode `csrrs zero,mstatus,s3'
> > unrecognized opcode `csrrs zero,mstatus,s4'
> > unrecognized opcode `csrrs zero,mstatus,t3'
> > unrecognized opcode `csrw mepc,a1'
> > unrecognized opcode `csrw mstatus,a0'
>
> I fixed the riscv issues.
>
> >
> > and powerpc BSPs:
> >
> > unrecognized opcode: `dlmzb.'
> > unrecognized opcode: `eieio'
> > unrecognized opcode: `mfdcr'
> > unrecognized opcode: `mfpid'
> > unrecognized opcode: `mfsrin'
> > unrecognized opcode: `mftcr'
> > unrecognized opcode: `mtdcr'
> > unrecognized opcode: `mtevpr'
> > unrecognized opcode: `mtpid'
> > unrecognized opcode: `mtsrin'
> > unrecognized opcode: `mttcr'
> > unrecognized opcode: `tlbre'
> > unrecognized opcode: `tlbrehi'
> > unrecognized opcode: `tlbrelo'
> > unrecognized opcode: `tlbsx.'
> > unrecognized opcode: `tlbwe'
> > unrecognized opcode: `tlbwehi'
> > unrecognized opcode: `tlbwelo'
> > unrecognized opcode: `wait'
> >
> > I am on holidays next week, so we can revert the patch, someone else
> > fixes the issue, or we let it be broken for a while.
>
> I fixed some powerpc issues, however, there seems to be also a code
> generation issue for -mcpu=405 in GCC (this could be a previously
> undetected GCC bug). We are not the only ones having issues with
> Binutils 2.38:
>
> https://sourceware.org/pipermail/binutils/2022-February/119787.html
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list