https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262
--- Comment #6 from Romain Naour ---
Hello,
Thanks for the help and confirm that's a problem on the existing code, not on
gcc.
Best regards,
Romain
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262
--- Comment #3 from Romain Naour ---
Created attachment 50677
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50677=edit
arch/sparc/kernel/mdesc.o generated with gcc -E
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262
--- Comment #1 from Romain Naour ---
Seems related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262
Bug ID: 100262
Summary: warning on sparc64: 'strcmp' reading 1 or more bytes
from a region of size 0 [-Werror=stringop-overread]
Product: gcc
Version: 11.0
Status:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
--- Comment #10 from Romain Naour ---
(In reply to Eric Botcazou from comment #8)
> > OK, this makes sense now and this looks like a bootstrap problem, e.g. the
> > code setting up _GLOBAL_OFFSET_TABLE_ in the libc might be trying to access
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
--- Comment #9 from Romain Naour ---
(In reply to Eric Botcazou from comment #7)
> > The previous gcc command line was from the busybox build (without -fPIC) but
> > this is not busybox that crash... this is the libc.
> >
> > See how the libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
--- Comment #6 from Romain Naour ---
Hello,
Thanks for the help,
The previous gcc command line was from the busybox build (without -fPIC) but
this is not busybox that crash... this is the libc.
See how the libc (uClibc) was built:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
--- Comment #4 from Romain Naour ---
(In reply to Eric Botcazou from comment #3)
> > So -fPIE is not used here but there is a side effect when the patch is
> > applied.
>
> You need to look at the output of 'gcc -v' to be sure of that.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
--- Comment #2 from Romain Naour ---
Hello,
The kernel and userland are built with the same toolchain, but this is the
userpace program (such busybox) that crash.
Busybox is built with the following flags:
Toolchain wrapper executing:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
Bug ID: 98784
Summary: [gcc 8.4/9.3/10] sparcv8 regression
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095
Romain Naour changed:
What|Removed |Added
CC||romain.naour at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97208
--- Comment #1 from Romain Naour ---
Hello,
I had to disable -ftree-loop-distribute-patterns while building the kernel on
microblaze (using -Os).
The regression appear since the commit [1] that moved
-ftree-loop-distribute-patterns from -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97208
Bug ID: 97208
Summary: [gcc 10.2.0] Microblaze regression
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
13 matches
Mail list logo