[Bug 2033405] Re: Wrong sha256 sum on ppc64el (compiled with -O3)

2024-04-11 Thread Peter Bergner
A pull request of an upstream fix to the dcfldd project has been submitted: https://github.com/resurrecting-open-source-projects/dcfldd/pull/24 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2033405

[Bug 1640518] Re: MongoDB Memory corruption

2016-11-11 Thread Peter Bergner
...and possibly wrap the above in: #ifdef __powerpc__ ... #endif so it's only used on POWER? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1640518 Title: MongoDB Memory corruption To manage

[Bug 1640518] Re: MongoDB Memory corruption

2016-11-11 Thread Peter Bergner
I'll note that the LD_PRELOAD interposer library is only needed for binaries that are already compiled and you want to override the pthread_mutex_lock() routine. If you can recompile your source, then you can place the interposer directly into your source and there is no need for LD_PRELOADing

[Bug 1640518] Re: MongoDB Memory corruption

2016-11-10 Thread Peter Bergner
gdb shows the abort is from the shim library too: bergner@ampere:~$ gdb -q ./a.out Reading symbols from ./a.out...(no debugging symbols found)...done. (gdb) set environment LD_PRELOAD=./libbar.so.1 (gdb) run Starting program: /home/bergner/a.out [Thread debugging using libthread_db enabled]

[Bug 1640518] Re: MongoDB Memory corruption

2016-11-10 Thread Peter Bergner
When I add the abort and use your C++ test case, I see the abort: bergner@ampere:~$ cat pthread_mutex_lock.c #include #include #define PTHREAD_MUTEX_NO_ELISION_NP 512 extern int __pthread_mutex_lock (pthread_mutex_t *); int pthread_mutex_lock (pthread_mutex_t *mutex) { abort();

[Bug 1640518] Re: MongoDB Memory corruption

2016-11-10 Thread Peter Bergner
The following might override the HTM lock elision. Can someone try it to see if it works? bergner@ampere:~$ cat pthread_mutex_lock.c #include #define PTHREAD_MUTEX_NO_ELISION_NP 512 extern int __pthread_mutex_lock (pthread_mutex_t *); int pthread_mutex_lock (pthread_mutex_t *mutex) {

[Bug 1544053] Re: x11-apps fails to build on ppc64el when built with -O3

2016-02-10 Thread Peter Bergner
I minimized re.c down to a small test case and it looks like a false positive on the array bounds check. Talking with Jakub, he said that -Warray-bounds has lots of false positives, so I think either removing the use of -Werror=array-bounds or using -O2 as permanent fixes for this is probably

[Bug 1463836] Re: 4.0 kernel build failure on ppc64el

2015-06-11 Thread Peter Bergner
Here is a minimal test case extracted from swsusp_asm64.s: bergner@genoa:~/binutils/BUGS$ cat tlbie.s .text tlbie %r4 bergner@genoa:~/binutils/BUGS$ /home/bergner/binutils/build/binutils-2_25/gas/as-new -a64 -mpower7 tlbie.s tlbie.s: Assembler messages: tlbie.s:2: Error:

[Bug 1463836] Re: 4.0 kernel build failure on ppc64el

2015-06-10 Thread Peter Bergner
I have the problem recreated. Debugging it now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1463836 Title: 4.0 kernel build failure on ppc64el To manage notifications about this bug go to:

[Bug 1320292] Re: ABI incompatibility between POWER and Z HTM builtins and intrinsics

2015-06-03 Thread Peter Bergner
Verified in gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1320292 Title: ABI incompatibility between POWER and Z HTM builtins and intrinsics To

[Bug 1322287] Re: HTM __builtin_ttest rtl expansion uses wrong shift amount

2015-06-03 Thread Peter Bergner
Verified in gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1322287 Title: HTM __builtin_ttest rtl expansion uses wrong shift amount To manage

[Bug 1311128] Re: Please incorporate gcc 4.8 revision 209515

2015-06-03 Thread Peter Bergner
Verified fixed in gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311128 Title: Please incorporate gcc 4.8 revision 209515 To manage notifications

[Bug 1320292] Re: ABI incompatibility between POWER and Z HTM builtins and intrinsics

2015-06-02 Thread Peter Bergner
Sorry, verified with gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6). ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1320292 Title:

[Bug 1322287] Re: HTM __builtin_ttest rtl expansion uses wrong shift amount

2015-06-02 Thread Peter Bergner
I can verify this is fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1322287 Title: HTM __builtin_ttest rtl expansion uses wrong shift amount To manage notifications about this bug go to:

[Bug 1320292] Re: ABI incompatibility between POWER and Z HTM builtins and intrinsics

2015-06-02 Thread Peter Bergner
I can verify that this is fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1320292 Title: ABI incompatibility between POWER and Z HTM builtins and intrinsics To manage notifications about this

[Bug 1322287] Re: HTM __builtin_ttest rtl expansion uses wrong shift amount

2015-06-02 Thread Peter Bergner
Sorry, verified with gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6). ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1322287 Title:

[Bug 1322287] [NEW] HTM __builtin_ttest rtl expansion uses wrong shift amount

2014-05-22 Thread Peter Bergner
Public bug reported: There is a semi-latent bug for the HTM ttest pattern used with the __builtin_ttest() builtin. This is supposed to expand to a tabortwci. instruction which sets cr0 and then some code that copies the cr0 value into a gpr and then shifts and masks it into the lowest 2 bits in

[Bug 1320292] [NEW] ABI incompatibility between POWER and Z HTM builtins and intrinsics

2014-05-16 Thread Peter Bergner
Public bug reported: The IBM XL team defined a set of HTM intrinsic functions that were supposed to be API compatible across the XL and GCC compilers on both Power and S390. PR61193 describes an issue where the functions that begin a transaction are incompatible. The Power intrinsics return

[Bug 1276262] Re: Many tests of Boost v1.54 fail

2014-02-19 Thread Peter Bergner
How does this compare to the test results on BE? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1276262 Title: Many tests of Boost v1.54 fail To manage notifications about this bug go to:

[Bug 727261] Re: [ppc64] coreutils misc/sort test fails at -O3

2011-03-01 Thread Peter Bergner
Can you try with -mno-vsx and/or -fno-tree-vectorize? We have a bug http://gcc.gnu.org/PR47862 that causes data corruption when vectorizing and I can kind of see that sort might have a loop that might be hit by this. -- You received this bug notification because you are a member of Ubuntu Bugs,