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

Bug#1016701: marked as done (gdc-12: internal compiler error: in add_stack_var, at cfgexpand.cc:476)



Your message dated Tue, 09 Aug 2022 19:35:01 +0000
with message-id <E1oLV0H-00EvyC-4q@fasolo.debian.org>
and subject line Bug#1016701: fixed in gcc-12 12.1.0-8
has caused the Debian Bug report #1016701,
regarding gdc-12: internal compiler error: in add_stack_var, at cfgexpand.cc:476
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.)


-- 
1016701: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016701
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gdc-12
Version: 12.1.0-7
Severity: important

Hi,

when compiling src:ii-esu (1.0a.dfsg2-1) with gdc instead of ldc, gdc is crashing with
the following trace:

> gdc -o ii-esu -freport-bug -Iimport -Isrc -Wdeprecated -frelease -g -O2 -ffile-prefix-map=/tmp/debian/ii-esu/ii-esu=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now import/SDL.d import/SDL_active.d import/SDL_audio.d import/SDL_byteorder.d import/SDL_cdrom.d import/SDL_copying.d import/SDL_endian.d import/SDL_error.d import/SDL_events.d import/SDL_getenv.d import/SDL_joystick.d import/SDL_keyboard.d import/SDL_keysym.d import/SDL_keysym_.d import/SDL_mixer.d import/SDL_mouse.d import/SDL_mutex.d import/SDL_quit.d import/SDL_rwops.d import/SDL_syswm.d import/SDL_thread.d import/SDL_timer.d import/SDL_types.d import/SDL_version_.d import/SDL_video.d import/bulletml.d import/opengl.d import/openglu.d src/es/basis.d src/es/boot.d src/es/cloneable.d src/es/enemy.d src/es/field.d src/es/gamemanager.d src/es/mainloop.d src/es/mouse.d src/es/moving.d src/es/pointer.d src/es/rand.d src/es/screen.d src/es/shape.d src/es/ship.d src/es/shot.d src/es/sound.d src/es/stage.d -lSDL -lGL -lSDL_mixer
> d21: warning: command-line option ‘-Wformat=1’ is valid for C/C++/ObjC/ObjC++ but not for D
> d21: warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for D
> d21: warning: command-line option ‘-Wdate-time’ is valid for C/C++/Fortran/ObjC/ObjC++ but not for D
> during GIMPLE pass: local-fnsummary
> In function ‘_d_HookTraceImpl’:
> d21: internal compiler error: in add_stack_var, at cfgexpand.cc:476
> 0x76e8af add_stack_var
> 	../../src/gcc/cfgexpand.cc:476
> 0xa0363c expand_one_var
> 	../../src/gcc/cfgexpand.cc:1824
> 0xa03730 estimated_stack_frame_size(cgraph_node*)
> 	../../src/gcc/cfgexpand.cc:2103
> 0xc187cf compute_fn_summary(cgraph_node*, bool)
> 	../../src/gcc/ipa-fnsummary.cc:3108
> 0xc18b59 compute_fn_summary_for_current
> 	../../src/gcc/ipa-fnsummary.cc:3237
> 0xc18b59 execute
> 	../../src/gcc/ipa-fnsummary.cc:4852
> Please submit a full bug report, with preprocessed source.
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.

See also the build log on salsa CI [0].
Because of this crash I switched ii-esu to build with ldc instead of gdc [1], which works
without problems (though it is available for less architectures).

Kind regards,
  Reiner

[0] https://salsa.debian.org/games-team/ii-esu/-/jobs/3052224
[1] https://salsa.debian.org/games-team/ii-esu/-/commit/8fd3884a29337f16942a67af0d0ecf33b6d7b1f3

--- End Message ---
--- Begin Message ---
Source: gcc-12
Source-Version: 12.1.0-8
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
gcc-12, 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 1016701@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-12 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: Tue, 09 Aug 2022 21:22:04 +0200
Source: gcc-12
Architecture: source
Version: 12.1.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1016701
Changes:
 gcc-12 (12.1.0-8) unstable; urgency=medium
 .
   * Update to git 20220809 from the gcc-12 branch.
     - Fix PR testsuite/106345, PR target/106091 (PPC), PR middle-end/106449,
       PR debug/106261, PR middle-end/106144, PR tree-optimization/106189,
       PR lto/106129, PR tree-optimization/106087, PR tree-optimization/106063,
       PR tree-optimization/105665, PR tree-optimization/100810,
       PR middle-end/106331, PR tree-optimization/106131, PR middle-end/106027,
       PR tree-optimization/106112, PR tree-optimization/105971,
       PR tree-optimization/105969, PR middle-end/105965, PR target/105459,
       PR tree-optimization/105946, PR analyzer/106225, PR analyzer/106204,
       PR analyzer/105285, PR preprocessor/97498, PR c++/106311, PR c++/106230,
       PR c++/105912, PR c++/105842, PR c++/53164, PR c++/105848,
       PR c++/105637, PR c++/100374, PR c++/105758, PR c++/96363,
       PR fortran/103504, PR fortran/101330, PR libfortran/106079,
       PR libstdc++/104443, PR libstdc++/106248, PR libstdc++/105995,
       PR libstdc++/105957, PR libstdc++/105844, PR libstdc++/100823,
       PR libstdc++/88881, PR libstdc++/105880, PR d/106555 (closes: #1016701).
   * Update watch file.
Checksums-Sha1:
 44d85af9452637a2196fbefbf8465c4169b7c6db 27405 gcc-12_12.1.0-8.dsc
 8007e0eddf06a54ef9ae299cfaa89d2de25f1a69 1805332 gcc-12_12.1.0-8.debian.tar.xz
 500a30a36491f09ea130b930de9b56106dc1224a 8981 gcc-12_12.1.0-8_source.buildinfo
Checksums-Sha256:
 75e2dd9b522005d5839bd4c9be5001cfb6490b0dbfd0b59df905cf9971946f0f 27405 gcc-12_12.1.0-8.dsc
 b7c3e1baefbb267c2944ee3301a3057108e6c20dd1cbb7ef88aaeb7c0200c95b 1805332 gcc-12_12.1.0-8.debian.tar.xz
 dff1f3fd80f6f3220c447a1312b49d3ae544e88ec76bf5a442c6ac270997c501 8981 gcc-12_12.1.0-8_source.buildinfo
Files:
 be01bf1c12c59349eb8bc52e7ba27281 27405 devel optional gcc-12_12.1.0-8.dsc
 de889fc4e1834c138737567a87ffcb89 1805332 devel optional gcc-12_12.1.0-8.debian.tar.xz
 8832c4ebce85028751eca328700f9ca2 8981 devel optional gcc-12_12.1.0-8_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmLytEwQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9S6gEACP7CShAc7nnyPR7p0jvsmJ0Fn6uX4bCBXW
Hp9DigbQxW0/KXWnXOfQPYxTwkR3cANCMgWyrFnRgAMCgigyyu2YU2KUTLVBnYEq
0lD3hMzRHtaJtx4pR4beQVHeJZcC/oZjkWaTtS/a5bWuUvJwY6DpDS8NJuj8dN1l
nkojvs8N1YsRHrDff8j8ZslzANzWo5nNtknrUnBROKrhqFhe5gjPxbh6Ew0YBJsp
iTtWcS638QhRyQHCi0kYFdAUYGOmU8kVXGR8F69UYKwx+yAGuoTRd3ifhB4Iba+h
D06T4bxTpo+nqvP2kT73KH9pZ8HG1HdUJeE2JxQmcnEGNzrSrrMQq05Sf5gLpIJo
afg4XgewkPr1+XMZ0TYBn3PALkt0JgygB+tP8u7xO3XaiMKlbk8wzFIJ4L4Zi7ap
qIKExUgTHDlnWw/T15RynbGjUEuaeDEOXydvn6dRHxahJV7Q8Ka8f9sS1kYYl7Ei
tDFdI7dUzPOe6Pr8LhxOPgqcjVOuwCE9iAT4vrT4CqxZFrxOkU35ueYhp+BcazSq
f2p6phmhKXw9uuA12FVTgVAY/qD5+HGd1BY90yNjTRTkMcTpdn9fiSGw8KaBrLto
/AxDDsnT3mTt8QraCZBdDxH8OZn97+3FGqShCOiRUIs2h9RIMrLIqpKc4i3MQz8O
WrVPJlEzmQ==
=cr+f
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: