Processed: forwarded GCC issue

2020-06-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> forwarded 963262 https://gcc.gnu.org/PR95838
Bug #963262 [gcc-10] gcc-10: In static member function 'static void 
WatchdogThread::stop()': internal compiler error: Segmentation fault
Set Bug forwarded-to-address to 'https://gcc.gnu.org/PR95838'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
963262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963262
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: gfortran: Internal error when processing pFUnit generated files with --coverage

2020-06-23 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847
Bug #963564 [gfortran-10] gfortran: Internal error when processing pFUnit 
generated files with --coverage
Set Bug forwarded-to-address to 
'https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847'.

-- 
963564: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963564
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#963564: gfortran: Internal error when processing pFUnit generated files with --coverage

2020-06-23 Thread Ole Streicher
Package: gfortran-10
Version: 10.1.0-3
Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847

Dear maintainers,

copying https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847 for your
convenience:

With gcc 9 and 10, compiling the attached file with coverage info raises
an internal error:

$ gfortran-10 -c --coverage funit-bug.f90
during IPA pass: profile
funit-bug.f90:8:0:

8 |use foo
  |
internal compiler error: in coverage_begin_function, at coverage.c:656
0x7f6c0275ae0a __libc_start_main
../csu/libc-start.c:308
[…]
$ gfortran-10 --version
GNU Fortran (Debian 10.1.0-3) 10.1.0
[…]
$ gfortran-9 --version
GNU Fortran (Debian 9.3.0-14) 9.3.0

This does not happen with gfortran-8, so it is a regression:

$ gfortran-8 -c --coverage funit-bug.f90
$ gfortran-8 --version
GNU Fortran (Debian 8.4.0-4) 8.4.0

System is Debian 11 testing.
The attached file is derived from a pFUnit generated file where this was
originally observed .
module foo
contains
subroutine sbr()
end subroutine sbr
end module foo

function foo_suite() result(suite)
   use foo
   integer :: bar
   integer :: res
   res = bar(sbr)
end function foo_suite



Bug#963254: gcc-10: d/rules.def, set AQ to :all for cross build

2020-06-23 Thread Helmut Grohne
Hi,

On Sun, Jun 21, 2020 at 09:10:48PM +0800, YunQiang Su wrote:
> The major problem is  Depends: libgcc-10-dev-i386-cross:amd64 (>=
> 10.1.0-3cross1) but it is not installable
> we need to mark gcc-10-i686-linux-gnu depends on
> libgcc-10-dev-i386-cross:all to solve this problem.

Can you try applying the attached patch?

Helmut
diff --minimal -Nru gcc-10-10.1.0/debian/control gcc-10-10.1.0/debian/control
--- gcc-10-10.1.0/debian/control2020-05-15 15:11:57.0 +0200
+++ gcc-10-10.1.0/debian/control2020-06-24 00:17:56.0 +0200
@@ -265,6 +265,7 @@
 
 Package: gcc-10-hppa64-linux-gnu
 Architecture: hppa amd64 i386 x32
+Multi-Arch: foreign
 Section: devel
 Priority: optional
 Depends: gcc-10-base (= ${gcc:Version}), gcc-10 (= ${gcc:Version}),
diff --minimal -Nru gcc-10-10.1.0/debian/control.m4 
gcc-10-10.1.0/debian/control.m4
--- gcc-10-10.1.0/debian/control.m4 2020-05-11 13:38:42.0 +0200
+++ gcc-10-10.1.0/debian/control.m4 2020-06-24 00:17:56.0 +0200
@@ -107,6 +107,8 @@
 ifelse(regexp(SRCNAME, `gcc-snapshot'),0,`dnl
 Package: gcc-snapshot`'TS
 Architecture: any
+ifelse(TS,`',`',`Multi-Arch: foreign
+')dnl
 Section: devel
 Priority: optional
 Depends: binutils`'TS (>= ${binutils:Version}),
@@ -187,6 +189,8 @@
 Package: gnat`'PV-base`'TS
 Architecture: any
 # "all" causes build instabilities for "any" dependencies (see #748388).
+ifelse(TS,`',`',`Multi-Arch: foreign
+')dnl
 Section: libs
 Priority: PRI(optional)
 Depends: ${misc:Depends}
@@ -998,7 +1002,7 @@
 ifenabled(`cdev',`
 Package: gcc`'PV`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -1037,7 +1041,7 @@
 ifenabled(`multilib',`
 Package: gcc`'PV-multilib`'TS
 Architecture: ifdef(`TARGET',`any',MULTILIB_ARCHS)
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -1066,7 +1070,7 @@
 ifenabled(`plugindev',`
 Package: gcc`'PV-plugin-dev`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -1082,8 +1086,7 @@
 ifenabled(`cdev',`
 Package: gcc`'PV-hppa64-linux-gnu
 Architecture: ifdef(`TARGET',`any',hppa amd64 i386 x32)
-ifdef(`TARGET',`Multi-Arch: foreign
-')dnl
+Multi-Arch: foreign
 Section: devel
 Priority: PRI(optional)
 Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}),
@@ -1097,7 +1100,7 @@
 ifenabled(`cdev',`
 Package: cpp`'PV`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: ifdef(`TARGET',`devel',`interpreters')
 Priority: optional
@@ -1148,7 +1151,7 @@
 ifenabled(`c++dev',`
 Package: g++`'PV`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -1166,7 +1169,7 @@
 ifenabled(`multilib',`
 Package: g++`'PV-multilib`'TS
 Architecture: ifdef(`TARGET',`any',MULTILIB_ARCHS)
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -3290,7 +3293,7 @@
 ifenabled(`objppdev',`
 Package: gobjc++`'PV`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Priority: optional
 Depends: BASEDEP, gobjc`'PV`'TS (= ${gcc:Version}), g++`'PV`'TS (= 
${gcc:Version}), ${shlibs:Depends}, libidevdep(objc`'PV-dev,,=), ${misc:Depends}
@@ -3306,7 +3309,7 @@
 ifenabled(`multilib',`
 Package: gobjc++`'PV-multilib`'TS
 Architecture: ifdef(`TARGET',`any',MULTILIB_ARCHS)
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -3325,7 +3328,7 @@
 ifenabled(`objcdev',`
 Package: gobjc`'PV`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Priority: optional
 Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}), ${dep:libcdev}, 
${shlibs:Depends}, libidevdep(objc`'PV-dev,,=), ${misc:Depends}
@@ -3341,7 +3344,7 @@
 ifenabled(`multilib',`
 Package: gobjc`'PV-multilib`'TS
 Architecture: ifdef(`TARGET',`any',MULTILIB_ARCHS)
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -3629,7 +3632,7 @@
 ifenabled(`fdev',`
 Package: gfortran`'PV`'TS
 Architecture: any
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Priority: optional
 Depends: BASEDEP, gcc`'PV`'TS (= ${gcc:Version}), 
libidevdep(gfortran`'PV-dev,,=), ${dep:libcdev}, ${shlibs:Depends}, 
${misc:Depends}
@@ -3647,7 +3650,7 @@
 ifenabled(`multilib',`
 Package: gfortran`'PV-multilib`'TS
 Architecture: ifdef(`TARGET',`any',MULTILIB_ARCHS)
-ifdef(`TARGET',`Multi-Arch: foreign
+ifelse(TS,`',`',`Multi-Arch: foreign
 ')dnl
 Section: devel
 Priority: optional
@@ -3959,7 +3962,7 @@
 ifenabled(`godev',`
 Package: gccgo`'PV`'TS
 Architecture: any