[Bug target/43892] PowerPC suboptimal "add with carry" optimization

2021-06-03 Thread joakim.tjernlund at infinera dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892 --- Comment #34 from Joakim Tjernlund --- (In reply to Christophe Leroy from comment #28) > Looks like we have a way to do it. Works at least with GCC 5.5, 8.2, 9.2, > 10.1 > > unsigned long g(unsigned long a, unsigned long b) > { > unsign

[Bug target/43892] PowerPC suboptimal "add with carry" optimization

2020-10-20 Thread joakim.tjernlund at infinera dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892 --- Comment #27 from Joakim Tjernlund --- It has been 10 years, it is not that hard :)

[Bug other/60158] powerpc: usage of the .data.rel.ro.local section

2020-06-04 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 --- Comment #12 from Joakim Tjernlund --- (In reply to Segher Boessenkool from comment #11) > Do you have a reproducer you can share? > > I'll happily reopen the PR then, of course! After 6 years, no I don't. You could use the test case include

[Bug other/60158] powerpc: usage of the .data.rel.ro.local section

2020-06-04 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 --- Comment #10 from Joakim Tjernlund --- To be clear, this is still a bug for powerpc(SPE or no SPE) and possibly any other arch using fixup tables like ppc. One can workaround this bug by using the -fno-ira-hoist-pressure, I am not sure why th

[Bug other/60158] powerpc: usage of the .data.rel.ro.local section

2020-06-03 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 --- Comment #9 from Joakim Tjernlund --- (In reply to Segher Boessenkool from comment #8) > It does not happen on any target currently, and it has never happened > on non-SPE targets before. The main user, u-boot, added the workaround with -fno-

[Bug other/60158] powerpc: usage of the .data.rel.ro.local section

2020-06-03 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60158 --- Comment #7 from Joakim Tjernlund --- (In reply to Segher Boessenkool from comment #6) > The powerpcspe backend has been deprecated in GCC 8 and removed during GCC 9 > development. See corresponding mailing list threads[1,2,3] for details. >

[Bug sanitizer/69839] cross-compiling programs w/-fsanitize=address fails: ld: warning: libstdc++.so.6, needed by libasan.so, not found (try using -rpath or -rpath-link)

2016-02-25 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839 --- Comment #8 from Joakim Tjernlund --- (In reply to Jakub Jelinek from comment #7) > (In reply to Joakim Tjernlund from comment #6) > > (In reply to Jakub Jelinek from comment #5) > > > Likely a bug on the Gentoo side. > > > The linker handles

[Bug sanitizer/69839] cross-compiling programs w/-fsanitize=address fails: ld: warning: libstdc++.so.6, needed by libasan.so, not found (try using -rpath or -rpath-link)

2016-02-25 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839 --- Comment #6 from Joakim Tjernlund --- (In reply to Jakub Jelinek from comment #5) > Likely a bug on the Gentoo side. > The linker handles differently libraries specified on the command line and > libraries that are needed by those shared libra

[Bug sanitizer/69839] cross-compiling programs w/-fsanitize=address fails: ld: warning: libstdc++.so.6, needed by libasan.so, not found (try using -rpath or -rpath-link)

2016-02-24 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839 --- Comment #4 from Joakim Tjernlund --- (In reply to Jakub Jelinek from comment #3) > That is the bug then. The linker doesn't search for DT_NEEDED shared > libraries in the -L directories, but in the -rpath{,-link} ones, or in the > standard d

[Bug sanitizer/69839] cross-compiling programs w/-fsanitize=address fails: ld: warning: libstdc++.so.6, needed by libasan.so, not found (try using -rpath or -rpath-link)

2016-02-24 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839 --- Comment #2 from Joakim Tjernlund --- (In reply to Jakub Jelinek from comment #1) > Are you using a sysroot for this? If not, you should. Yes, the toolchain is sysrooted at /usr/powerpc-g2.20-linux-gnu/ (toolchain built with Gentoo's crossde

[Bug c/69839] New: cross-compiling programs w/-fsanitize=address fails: ld: warning: libstdc++.so.6, needed by libasan.so, not found (try using -rpath or -rpath-link)

2016-02-16 Thread joakim.tjernlund at infinera dot com
) Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: joakim.tjernlund at infinera dot com Target Milestone: --- Using gcc 4.9.3 I can

[Bug sanitizer/65479] sanitizer stack trace missing frames past #0 on powerpc64

2016-02-15 Thread joakim.tjernlund at infinera dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65479 Joakim Tjernlund changed: What|Removed |Added CC||joakim.tjernlund at infinera dot c