[Bug middle-end/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-28 Thread romain.naour at gmail dot com via Gcc-bugs
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

[Bug c/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-26 Thread romain.naour at gmail dot com via Gcc-bugs
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

[Bug c/100262] warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-26 Thread romain.naour at gmail dot com via Gcc-bugs
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

[Bug c/100262] New: warning on sparc64: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]

2021-04-26 Thread romain.naour at gmail dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: romain.naour at gmail dot com Target Milestone: --- Hello, Using GCC 11.1.0-RC-20210423 for building sparc64 kernel fail to build due to -Werror

[Bug target/98784] [8/9/10/11 Regression] problematic build of uClibc with -fPIC

2021-01-26 Thread romain.naour at gmail dot com via Gcc-bugs
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 > >

[Bug target/98784] [8/9/10/11 Regression] problematic build of uClibc with -fPIC

2021-01-26 Thread romain.naour at gmail dot com via Gcc-bugs
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

[Bug target/98784] [8/9/10/11 Regression] sparcv8 regression

2021-01-23 Thread romain.naour at gmail dot com via Gcc-bugs
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:

[Bug target/98784] [8/9/10/11 Regression] sparcv8 regression

2021-01-23 Thread romain.naour at gmail dot com via Gcc-bugs
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.

[Bug c/98784] [gcc 8.4/9.3/10] sparcv8 regression

2021-01-21 Thread romain.naour at gmail dot com via Gcc-bugs
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:

[Bug c/98784] New: [gcc 8.4/9.3/10] sparcv8 regression

2021-01-21 Thread romain.naour at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: romain.naour at gmail dot com Target Milestone: --- Hello, When building a rootfs for sparcv8 using the Buildroot defconfig qemu_sparc_ss10_defconfig, the system produce some illegal instruction messages. gcc 8.3, 9.2 are the latest

[Bug target/92095] [8/9/10 regression] internal error with -O1 -mcpu=niagara2 -fPIE

2021-01-21 Thread romain.naour at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095 Romain Naour changed: What|Removed |Added CC||romain.naour at gmail dot com

[Bug c/97208] [gcc 10.2.0] Microblaze regression

2020-09-26 Thread romain.naour at gmail dot com via Gcc-bugs
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

[Bug c/97208] New: [gcc 10.2.0] Microblaze regression

2020-09-25 Thread romain.naour at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: romain.naour at gmail dot com Target Milestone: --- Hello, Toolchains using gcc 10.2.0 targeting Microblaze architecture are not able to build a bootable Linux kernel 5.4.58 under Qemu (5.0.0). https://gitlab.com/bootlin/toolchains

[Bug bootstrap/61164] GCC 4.9.0 fails to build libitm when fortification enabled

2018-11-05 Thread romain.naour at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 Romain Naour changed: What|Removed |Added CC||romain.naour at gmail dot com

[Bug rtl-optimization/85180] Infinite loop in RTL DSE optimizer

2018-05-09 Thread romain.naour at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180 Romain Naour changed: What|Removed |Added CC||romain.naour at gmail dot com