This patch needs to be included in the Ubuntu 16.04 GCC 5 packages.
We have scanned the entire xenial universe repo for suspicious sequences. Unfortunately several packages need to be rebuild after including the patch. We recommend rebuilding at least the following packages:
== Comment: #0 - Andreas Krebbel - 2016-04-19 05:22:12 ==
The following miscompilation was found in the Valgrind memcheck preload library.
This compiler behavior can be reproduced with a small test case:
$ echo 'void foo (void) { volatile int a = 5; (void) a; }' | \ frame-pointer -o foo.o -c -x c - && objdump -d foo.o
gcc -O2 -fno-omit-
foo.o: file format elf64-s390
Disassembly of section .text:
0000000000000000 <foo>:
0: b3 c1 00 2b ldgr %f2,%r11
4: b3 c1 00 0f ldgr %f0,%r15
8: e3 f0 ff 58 ff 71 lay %r15,-168(%r15)
e: b9 04 00 bf lgr %r11,%r15
12: b3 cd 00 f0 lgdr %r15,%f0
16: e5 4c b0 a4 00 05 mvhi 164(%r11),5 <---- stack variable access after stack pointer restore
1c: 58 10 b0 a4 l %r1,164(%r11) <----
20: b3 cd 00 b2 lgdr %r11,%f2
24: 07 fe br %r14
26: 07 07 nopr %r7
A patch for upstream GCC has been posted on the mailing list. Backports will go into 4.9/5/6 branches after the upstream patch is applied. /gcc.gnu. org/ml/ gcc-patches/ 2016-04/ msg00910. html
https:/
This patch needs to be included in the Ubuntu 16.04 GCC 5 packages.
We have scanned the entire xenial universe repo for suspicious sequences. Unfortunately several packages need to be rebuild after including the patch. We recommend rebuilding at least the following packages:
ceph-test_ 10.1.1- 0ubuntu1_ s390x.deb w64-i686_ 5.3.1-8ubuntu3+ 17_s390x. deb w64-x86- 64_5.3. 1-8ubuntu3+ 17_s390x. deb gb-qt4_ 3.8.4-2ubuntu3_ s390x.deb none-eabi_ 4.9.3+svn231177 -1_s390x. deb 4.9.2+Atmel3. 5.0-1_s390x. deb w64-i686_ 5.3.1-8ubuntu3+ 17_s390x. deb w64-x86- 64_5.3. 1-8ubuntu3+ 17_s390x. deb 20160320- 1ubuntu1_ s390x.deb mingw-w64- i686_5. 3.1-8ubuntu3+ 17_s390x. deb mingw-w64- x86-64_ 5.3.1-8ubuntu3+ 17_s390x. deb w64-i686_ 5.3.1-3ubuntu1+ 16_s390x. deb w64-x86- 64_5.3. 1-3ubuntu1+ 16_s390x. deb -mingw- w64-i686_ 5.3.1-8ubuntu3+ 17_s390x. deb -mingw- w64-x86- 64_5.3. 1-8ubuntu3+ 17_s390x. deb w64-i686_ 5.3.1-8ubuntu3+ 17_s390x. deb w64-x86- 64_5.3. 1-8ubuntu3+ 17_s390x. deb 6_s390x. deb 2_3.2.4- 0ubuntu1_ s390x.deb 0.0+201212- 1_s390x. deb 5.3.1-14ubuntu2 _s390x. deb s390x-cross_ 5.3.1-14ubuntu2 cross1_ all.deb it4.9_4. 9.0-4ubuntu1_ s390x.deb 1.2.11a1- 6_s390x. deb regtk-1. 0-0_2.4. 10-0ubuntu1_ s390x.deb regtk-3. 0-0_2.4. 10-0ubuntu1_ s390x.deb 10.0.24- 7_s390x. deb 3-1_s390x. deb 3.0-25_ 2.4.10- 0ubuntu1_ s390x.deb client- core-10. 0_10.0. 24-7_s390x. deb plugin- oqgraph_ 10.0.24- 7_s390x. deb plugin- spider_ 10.0.24- 7_s390x. deb server- 10.0_10. 0.24-7_ s390x.deb server- core-10. 0_10.0. 24-7_s390x. deb test_10. 0.24-7_ s390x.deb 5.6_5.6. 28-1ubuntu3_ s390x.deb core-5. 6_5.6.28- 1ubuntu3_ s390x.deb 5.6_5.6. 28-1ubuntu3_ s390x.deb core-5. 6_5.6.28- 1ubuntu3_ s390x.deb -5.7_5. 7.11-0ubuntu6_ s390x.deb 4.2.6~dfsg- 1ubuntu4_ s390x.deb server- server- 5.6_5.6. 22-rel71. 0-0ubuntu2_ s390x.deb xtrabackup_ 2.2.3-2. 1build1_ s390x.deb xtradb- cluster- server- 5.6_5.6. 21-25.8- 0ubuntu2_ s390x.deb
g++-mingw-
g++-mingw-
gambas3-
gcc-arm-
gcc-avr_
gcc-mingw-
gcc-mingw-
gcc-snapshot_
gfortran-
gfortran-
gnat-mingw-
gnat-mingw-
gobjc++
gobjc++
gobjc-mingw-
gobjc-mingw-
higan_094-
juju-mongodb3.
libfpga0_
libgnatvsn5_
libgnatvsn5-
libinsighttoolk
libiv-unidraw1_
libjavascriptco
libjavascriptco
libmariadbd18_
libtsm3_
libwebkit2gtk-
mariadb-
mariadb-
mariadb-
mariadb-
mariadb-
mariadb-
mysql-client-
mysql-client-
mysql-server-
mysql-server-
mysql-testsuite
nodejs_
percona-
percona-
percona-
== Comment: #2 - Andreas Krebbel - 2016-04-20 03:22:27 ==
Patch is upstream committed to head, gcc-6, and gcc-5 branches.