[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#892848: marked as done (gcc-7: OpenMP support is broken on hppa in gcc-7 and earlier)



Your message dated Sun, 18 Mar 2018 15:07:48 +0000
with message-id <E1exZuW-000GYn-1F@fasolo.debian.org>
and subject line Bug#892848: fixed in gcc-7 7.3.0-12
has caused the Debian Bug report #892848,
regarding gcc-7: OpenMP support is broken on hppa in gcc-7 and earlier
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
892848: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892848
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-7
Severity: normal
Tags: patch

Dear Maintainer,

The 32-bit hppa architecture is one of a few callee-copies targets in gcc.
Objects larger than eight bytes are passed by invisible reference and the
callee is responsible to copy the object if necessary.

This results in a variety of differences in optimizing code from x86, etc.
In the case of OpenMP support, it is seriously broken handling objects
passed by invisible references and the problem is not easily fixed.
This is gcc PR middle-end/68733.

Helge Deller and I discussed the matter and decided the best way forward
was to switch the hppa ABI to caller copies as on x86.  This should also
help to eliminate various optimization bugs that are hidden due to limited
testing.

The attached patch has been installed in gcc-8.  We would appreciate your
installing this change in Debian gcc-6 and gcc-7 so others are not affected.

Regards,
Dave Anglin


-- System Information:
Debian Release: buster/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.14.25+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
2018-01-16  John David Anglin  <danglin@gcc.gnu.org>

	* config.gcc (hppa*-*-linux*): Change callee copies ABI to caller
	copies.

Index: config.gcc
===================================================================
--- config.gcc	(revision 256716)
+++ config.gcc	(working copy)
@@ -1339,7 +1339,7 @@
 	gas=yes gnu_ld=yes
 	;;
 hppa*-*-linux*)
-	target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS"
+	target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS|MASK_CALLER_COPIES"
 	tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h pa/pa-linux.h \
 		 pa/pa32-regs.h pa/pa32-linux.h"
 	tmake_file="${tmake_file} pa/t-linux"

--- End Message ---
--- Begin Message ---
Source: gcc-7
Source-Version: 7.3.0-12

We believe that the bug you reported is fixed in the latest version of
gcc-7, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 892848@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Mar 2018 22:11:44 +0800
Source: gcc-7
Binary: gcc-7-base libgcc-7-dev libgcc4 libgcc4-dbg lib64gcc-7-dev lib32gcc-7-dev libn32gcc-7-dev libx32gcc-7-dev gcc-7 gcc-7-multilib gcc-7-test-results gcc-7-plugin-dev gcc-7-hppa64-linux-gnu cpp-7 gcc-7-locales g++-7 g++-7-multilib libgomp1 libgomp1-dbg lib32gomp1 lib32gomp1-dbg lib64gomp1 lib64gomp1-dbg libn32gomp1 libn32gomp1-dbg libasan4 libasan4-dbg lib32asan4 lib32asan4-dbg lib64asan4 lib64asan4-dbg libx32asan4 libx32asan4-dbg libubsan0 libubsan0-dbg lib32ubsan0 lib32ubsan0-dbg lib64ubsan0 lib64ubsan0-dbg libx32ubsan0 libx32ubsan0-dbg libcilkrts5 libcilkrts5-dbg lib32cilkrts5 lib32cilkrts5-dbg lib64cilkrts5 lib64cilkrts5-dbg libx32cilkrts5 libx32cilkrts5-dbg libgccjit-7-doc libgccjit-7-dev gobjc++-7 gobjc++-7-multilib gobjc-7 gobjc-7-multilib libobjc-7-dev lib64objc-7-dev lib32objc-7-dev libn32objc-7-dev libx32objc-7-dev gfortran-7 gfortran-7-multilib libgfortran-7-dev lib64gfortran-7-dev lib32gfortran-7-dev libn32gfortran-7-dev libx32gfortran-7-dev libgfortran4
 libgfortran4-dbg lib64gfortran4 lib64gfortran4-dbg lib32gfortran4 lib32gfortran4-dbg libn32gfortran4 libn32gfortran4-dbg libx32gfortran4 libx32gfortran4-dbg gccgo-7 gccgo-7-multilib libgo11 libgo11-dbg lib64go11 lib64go11-dbg lib32go11 lib32go11-dbg libn32go11 libn32go11-dbg libx32go11 libx32go11-dbg libstdc++-7-dev libstdc++-7-pic libstdc++6-7-dbg lib32stdc++-7-dev lib32stdc++6-7-dbg lib64stdc++-7-dev lib64stdc++6-7-dbg libn32stdc++-7-dev libn32stdc++6-7-dbg libx32stdc++-7-dev libx32stdc++6-7-dbg libstdc++-7-doc gnat-7 gnat-7-sjlj libgnat-7 libgnat-7-dbg libgnatvsn7-dev libgnatvsn7 libgnatvsn7-dbg gdc-7 gdc-7-multilib libgphobos-7-dev libgphobos71 libgphobos71-dbg lib64gphobos-7-dev lib64gphobos71 lib64gphobos71-dbg lib32gphobos-7-dev lib32gphobos71 lib32gphobos71-dbg libx32gphobos-7-dev libx32gphobos71 libx32gphobos71-dbg gccbrig-7 libhsail-rt-7-dev gcc-7-offload-nvptx libgomp-plugin-nvptx1
 gcc-7-source
Architecture: source
Version: 7.3.0-12
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
 cpp-7      - GNU C preprocessor
 g++-7      - GNU C++ compiler
 g++-7-multilib - GNU C++ compiler (multilib support)
 gcc-7      - GNU C compiler
 gcc-7-base - GCC, the GNU Compiler Collection (base package)
 gcc-7-hppa64-linux-gnu - GNU C compiler (cross compiler for hppa64)
 gcc-7-locales - GCC, the GNU compiler collection (native language support files)
 gcc-7-multilib - GNU C compiler (multilib support)
 gcc-7-offload-nvptx - GCC offloading compiler to NVPTX
 gcc-7-plugin-dev - Files for GNU GCC plugin development.
 gcc-7-source - Source of the GNU Compiler Collection
 gcc-7-test-results - Test results for the GCC test suite
 gccbrig-7  - GNU BRIG (HSA IL) frontend
 gccgo-7    - GNU Go compiler
 gccgo-7-multilib - GNU Go compiler (multilib support)
 gdc-7      - GNU D compiler (version 2)
 gdc-7-multilib - GNU D compiler (version 2, multilib support)
 gfortran-7 - GNU Fortran compiler
 gfortran-7-multilib - GNU Fortran compiler (multilib support)
 gnat-7     - GNU Ada compiler
 gnat-7-sjlj - GNU Ada compiler (setjump/longjump runtime library)
 gobjc++-7  - GNU Objective-C++ compiler
 gobjc++-7-multilib - GNU Objective-C++ compiler (multilib support)
 gobjc-7    - GNU Objective-C compiler
 gobjc-7-multilib - GNU Objective-C compiler (multilib support)
 lib32asan4 - AddressSanitizer -- a fast memory error detector (32bit)
 lib32asan4-dbg - AddressSanitizer -- a fast memory error detector (32 bit debug sy
 lib32cilkrts5 - Intel Cilk Plus language extensions (32bit)
 lib32cilkrts5-dbg - Intel Cilk Plus language extensions (32 bit debug symbols)
 lib32gcc-7-dev - GCC support library (32 bit development files)
 lib32gfortran-7-dev - Runtime library for GNU Fortran applications (32bit development f
 lib32gfortran4 - Runtime library for GNU Fortran applications (32bit)
 lib32gfortran4-dbg - Runtime library for GNU Fortran applications (32 bit debug symbol
 lib32go11  - Runtime library for GNU Go applications (32bit)
 lib32go11-dbg - Runtime library for GNU Go applications (32 bit debug symbols)
 lib32gomp1 - GCC OpenMP (GOMP) support library (32bit)
 lib32gomp1-dbg - GCC OpenMP (GOMP) support library (32 bit debug symbols)
 lib32gphobos-7-dev - Phobos D standard library (32bit development files)
 lib32gphobos71 - Phobos D standard library (runtime library)
 lib32gphobos71-dbg - Phobos D standard library (debug symbols)
 lib32objc-7-dev - Runtime library for GNU Objective-C applications (32bit developme
 lib32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 lib32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 lib32ubsan0 - UBSan -- undefined behaviour sanitizer (32bit)
 lib32ubsan0-dbg - UBSan -- undefined behaviour sanitizer (32 bit debug symbols)
 lib64asan4 - AddressSanitizer -- a fast memory error detector (64bit)
 lib64asan4-dbg - AddressSanitizer -- a fast memory error detector (64bit debug sym
 lib64cilkrts5 - Intel Cilk Plus language extensions (64bit)
 lib64cilkrts5-dbg - Intel Cilk Plus language extensions (64bit debug symbols)
 lib64gcc-7-dev - GCC support library (64bit development files)
 lib64gfortran-7-dev - Runtime library for GNU Fortran applications (64bit development f
 lib64gfortran4 - Runtime library for GNU Fortran applications (64bit)
 lib64gfortran4-dbg - Runtime library for GNU Fortran applications (64bit debug symbols
 lib64go11  - Runtime library for GNU Go applications (64bit)
 lib64go11-dbg - Runtime library for GNU Go applications (64bit debug symbols)
 lib64gomp1 - GCC OpenMP (GOMP) support library (64bit)
 lib64gomp1-dbg - GCC OpenMP (GOMP) support library (64bit debug symbols)
 lib64gphobos-7-dev - Phobos D standard library (64bit development files)
 lib64gphobos71 - Phobos D standard library (runtime library)
 lib64gphobos71-dbg - Phobos D standard library (debug symbols)
 lib64objc-7-dev - Runtime library for GNU Objective-C applications (64bit developme
 lib64stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 lib64stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 lib64ubsan0 - UBSan -- undefined behaviour sanitizer (64bit)
 lib64ubsan0-dbg - UBSan -- undefined behaviour sanitizer (64bit debug symbols)
 libasan4   - AddressSanitizer -- a fast memory error detector
 libasan4-dbg - AddressSanitizer -- a fast memory error detector (debug symbols)
 libcilkrts5 - Intel Cilk Plus language extensions (runtime)
 libcilkrts5-dbg - Intel Cilk Plus language extensions (debug symbols)
 libgcc-7-dev - GCC support library (development files)
 libgcc4    - GCC support library
 libgcc4-dbg - GCC support library (debug symbols)
 libgccjit-7-dev - GCC just-in-time compilation (development files)
 libgccjit-7-doc - GCC just-in-time compilation (documentation)
 libgfortran-7-dev - Runtime library for GNU Fortran applications (development files)
 libgfortran4 - Runtime library for GNU Fortran applications
 libgfortran4-dbg - Runtime library for GNU Fortran applications (debug symbols)
 libgnat-7  - runtime for applications compiled with GNAT (shared library)
 libgnat-7-dbg - runtime for applications compiled with GNAT (debugging symbols)
 libgnatvsn7 - GNU Ada compiler selected components (shared library)
 libgnatvsn7-dbg - GNU Ada compiler selected components (debugging symbols)
 libgnatvsn7-dev - GNU Ada compiler selected components (development files)
 libgo11    - Runtime library for GNU Go applications
 libgo11-dbg - Runtime library for GNU Go applications (debug symbols)
 libgomp-plugin-nvptx1 - GCC OpenMP v4.5 plugin for offloading to NVPTX
 libgomp1   - GCC OpenMP (GOMP) support library
 libgomp1-dbg - GCC OpenMP (GOMP) support library (debug symbols)
 libgphobos-7-dev - Phobos D standard library
 libgphobos71 - Phobos D standard library (runtime library)
 libgphobos71-dbg - Phobos D standard library (debug symbols)
 libhsail-rt-7-dev - HSAIL runtime library (development files)
 libn32gcc-7-dev - GCC support library (n32 development files)
 libn32gfortran-7-dev - Runtime library for GNU Fortran applications (n32 development fil
 libn32gfortran4 - Runtime library for GNU Fortran applications (n32)
 libn32gfortran4-dbg - Runtime library for GNU Fortran applications (n32 debug symbols)
 libn32go11 - Runtime library for GNU Go applications (n32)
 libn32go11-dbg - Runtime library for GNU Go applications (n32 debug symbols)
 libn32gomp1 - GCC OpenMP (GOMP) support library (n32)
 libn32gomp1-dbg - GCC OpenMP (GOMP) support library (n32 debug symbols)
 libn32objc-7-dev - Runtime library for GNU Objective-C applications (n32 development
 libn32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libn32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libobjc-7-dev - Runtime library for GNU Objective-C applications (development fil
 libstdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libstdc++-7-doc - GNU Standard C++ Library v3 (documentation files)
 libstdc++-7-pic - GNU Standard C++ Library v3 (shared library subset kit)
 libstdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libubsan0  - UBSan -- undefined behaviour sanitizer (runtime)
 libubsan0-dbg - UBSan -- undefined behaviour sanitizer (debug symbols)
 libx32asan4 - AddressSanitizer -- a fast memory error detector (x32)
 libx32asan4-dbg - AddressSanitizer -- a fast memory error detector (x32 debug symbo
 libx32cilkrts5 - Intel Cilk Plus language extensions (x32)
 libx32cilkrts5-dbg - Intel Cilk Plus language extensions (x32 debug symbols)
 libx32gcc-7-dev - GCC support library (x32 development files)
 libx32gfortran-7-dev - Runtime library for GNU Fortran applications (x32 development fil
 libx32gfortran4 - Runtime library for GNU Fortran applications (x32)
 libx32gfortran4-dbg - Runtime library for GNU Fortran applications (x32 debug symbols)
 libx32go11 - Runtime library for GNU Go applications (x32)
 libx32go11-dbg - Runtime library for GNU Go applications (x32 debug symbols)
 libx32gphobos-7-dev - Phobos D standard library (x32 development files)
 libx32gphobos71 - Phobos D standard library (runtime library)
 libx32gphobos71-dbg - Phobos D standard library (debug symbols)
 libx32objc-7-dev - Runtime library for GNU Objective-C applications (x32 development
 libx32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libx32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libx32ubsan0 - UBSan -- undefined behaviour sanitizer (x32)
 libx32ubsan0-dbg - UBSan -- undefined behaviour sanitizer (x32 debug symbols)
Closes: 892848
Changes:
 gcc-7 (7.3.0-12) unstable; urgency=medium
 .
   * Update to SVN 20180318 (r258626) from the gcc-7-branch.
     - Fix PR libstdc++/84769, PR libstdc++/84773, PR libstdc++/83662,
       PR tree-optimization/84485, PR ada/82813, PR fortran/83939,
       PR target/83451 (PA), PR fortran/78741.
 .
   [ John David Anglin ]
   * Switch hppa-linux to caller-copies ABI (as done in GCC 8). Closes: #892848.
 .
   [ Aurelien Jarno ]
   * Default to PIE on riscv64.
   * Temporarily do not build-depend on gdb on riscv64.
 .
   [ Matthias Klose ]
   * Update the Linaro support to the 7-2018.01 snapshot.
Checksums-Sha1:
 bbb5669aef523f6a0f27c6deeb4c8421d319f768 25566 gcc-7_7.3.0-12.dsc
 0fae4c21279609f0482946cc0858e684215d2e51 836258 gcc-7_7.3.0-12.diff.gz
 52f7f0de4250288d7d88cf93891975e606dda397 9822 gcc-7_7.3.0-12_source.buildinfo
Checksums-Sha256:
 b15e9869cdef0b97fc581b7ff16c38af748439ba58978454c195b5b32a173204 25566 gcc-7_7.3.0-12.dsc
 b6812d0188707d1425feceaa822c15afc12c787957c81911ada8b99c64be5cc3 836258 gcc-7_7.3.0-12.diff.gz
 282b2a6145ca54a511eb8ce5f11f9ad792ebd121460147ad1bd07ae46d2030e2 9822 gcc-7_7.3.0-12_source.buildinfo
Files:
 f8429fb2daac771633313da45bde6599 25566 devel optional gcc-7_7.3.0-12.dsc
 631b392c66b325ad1cf4954a3b3090a1 836258 devel optional gcc-7_7.3.0-12.diff.gz
 a4b55392eac11754788bfbd9662954a7 9822 devel optional gcc-7_7.3.0-12_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlqudDAQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9UtBD/42f06VhRO5znKbYzYPqv5xjV9c5stASdxs
mJ6XoiExfSjOVCJQWEUg3rZVIQvG8CcBYrXy8fEewTFmuhG6/yzqJ6bXhx/BTeL4
KKDb23h/5ac432WHLxSgwgybJjuwBQYBKD3DegbyplaDdRMKEzt+7CutrJ03Fn5T
WD4NTT8734P5lc6Iiq15FL0WGQj0UX7dFGnPHQhtQa8b4LB3PeqwRqzbSFTLKbG7
yufKSioKSwdvCklHAzAV5mozWcNfTe/jgp+rzN2cCb4dGBcZiDC0q3mX/mGbFZJo
k2fV6/apA2MltYTsjx3gBMVo6FlPp8jD8fgHWVDstYF8pKHuVpnrylsbncD+mbXv
28pZmIb2E5rut8l6ZM5kezEqNekksA3Ls0I+/298abfxtN4hXrErNi0ZN41pSWev
h7taprGigqnZkFYsGgtqFh2XCraKPwlXaAZdai2eVBCfknvDawrOPFvfdCy8ctC3
AstHCnAL4vvSMA6ekhDuCd1UX16GUKJ0FdA19f7wtLINTi8mvoK/hzgcP5SqgKFF
EdkrgGUJRGMSA1WYp4iooHE9ltS1h0buT0VRoWHmE/uHZhQtnM45kj1Xm6CELh5r
N/WGvWDADL2VLTt3vGxlEj9bjboGxPIVeOl4K5cFkaDsCsbq2uVJkdXqjK/sF2Dm
wmk9sQqH2A==
=BkqW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: