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

Bug#685559: marked as done (gnat-4.6: Use GCC stack frame unwinder for GNU/kFreeBSD in tracebak.c)



Your message dated Fri, 12 Oct 2012 10:33:06 +0000
with message-id <E1TMcYE-0006Lz-Cz@franck.debian.org>
and subject line Bug#685559: fixed in gcc-4.6 4.6.3-12
has caused the Debian Bug report #685559,
regarding gnat-4.6: Use GCC stack frame unwinder for GNU/kFreeBSD in tracebak.c
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.)


-- 
685559: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685559
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnat-4.6
Version: 4.6.3-5
Severity: important
Tags: patch
Usertags: kfreebsd
User: debian-bsd@lists.debian.org

Hello,

When building polyorb-2.8~20110207 for GNU/kFreeBSD it segfaults, see 
https://buildd.debian.org/status/fetch.php?pkg=polyorb&arch=kfreebsd-i386&ver=2.8~20110207-3&stamp=1338587039

Building non-stripped versions of libgnat-4.6.so.1 and libgnarl-4.6.so.1
the gdb backtrace revealed that the stack unwinder with
USE_GENERIC_UNWINDER in gcc/ada/tracebak.c is the cause (as for
GNU/Hurd).

With USE_GCC_UNWINDER the build works, except for a linker error later
on, see separate bug reports for gnat-4.6 of gcc-interface/Makefile.in
changes for Hurd and kFreeBSD! 

The patch is inlined below. Preferably it could be applied by modifying
the last part of the recent patch: ada-symbolic-tracebacks.diff
--- a/src/gcc/ada/tracebak.c	2012-08-20 14:10:21.000000000 +0200
+++ b/src/gcc/ada/tracebak.c	2012-08-20 18:30:35.000000000 +0200
@@ -320,7 +320,7 @@
 /* Starting with GCC 4.6, -fomit-frame-pointer is turned on by default
for
    32-bit x86/Linux as well and DWARF 2 unwind tables are emitted
instead.
    See the x86-64 case below for the drawbacks with this approach.  */
-#if (defined (linux) || defined(__GNU__)) && (__GNUC__ * 10 +
__GNUC_MINOR__ > 45)
+#if (defined (linux) || defined(__GNU__) ||
defined(__kFreeBSD_kernel__)) && (__GNUC__ * 10 + __GNUC_MINOR__ > 45)
 #define USE_GCC_UNWINDER
 #else
 #define USE_GENERIC_UNWINDER

--- End Message ---
--- Begin Message ---
Source: gcc-4.6
Source-Version: 4.6.3-12

We believe that the bug you reported is fixed in the latest version of
gcc-4.6, 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 685559@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-4.6 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 12 Oct 2012 00:19:41 +0200
Source: gcc-4.6
Binary: gcc-4.6-base gcc-4.6 gcc-4.6-multilib gcc-4.6-plugin-dev gcc-4.6-hppa64 gcc-4.6-spu g++-4.6-spu gfortran-4.6-spu cpp-4.6 gcc-4.6-locales g++-4.6 g++-4.6-multilib libmudflap0-4.6-dev gobjc++-4.6 gobjc++-4.6-multilib gobjc-4.6 gobjc-4.6-multilib libobjc3 libobjc3-dbg lib64objc3 lib64objc3-dbg lib32objc3 lib32objc3-dbg libn32objc3 libn32objc3-dbg gfortran-4.6 gfortran-4.6-multilib libstdc++6-4.6-dev libstdc++6-4.6-pic libstdc++6-4.6-dbg lib32stdc++6-4.6-dbg lib64stdc++6-4.6-dbg libn32stdc++6-4.6-dbg libstdc++6-4.6-doc gcc-4.6-soft-float gcc-4.6-source
Architecture: source all amd64
Version: 4.6.3-12
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 cpp-4.6    - GNU C preprocessor
 g++-4.6    - GNU C++ compiler
 g++-4.6-multilib - GNU C++ compiler (multilib files)
 g++-4.6-spu - SPU cross-compiler (C++ compiler)
 gcc-4.6    - GNU C compiler
 gcc-4.6-base - GCC, the GNU Compiler Collection (base package)
 gcc-4.6-hppa64 - GNU C compiler (cross compiler for hppa64)
 gcc-4.6-locales - GCC, the GNU compiler collection (native language support files)
 gcc-4.6-multilib - GNU C compiler (multilib files)
 gcc-4.6-plugin-dev - Files for GNU GCC plugin development.
 gcc-4.6-soft-float - GCC soft-floating-point gcc libraries (ARM)
 gcc-4.6-source - Source of the GNU Compiler Collection
 gcc-4.6-spu - SPU cross-compiler (preprocessor and C compiler)
 gfortran-4.6 - GNU Fortran compiler
 gfortran-4.6-multilib - GNU Fortran compiler (multilib files)
 gfortran-4.6-spu - SPU cross-compiler (Fortran compiler)
 gobjc++-4.6 - GNU Objective-C++ compiler
 gobjc++-4.6-multilib - GNU Objective-C++ compiler (multilib files)
 gobjc-4.6  - GNU Objective-C compiler
 gobjc-4.6-multilib - GNU Objective-C compiler (multilib files)
 lib32objc3 - Runtime library for GNU Objective-C applications (32bit)
 lib32objc3-dbg - Runtime library for GNU Objective-C applications (32 bit debug sy
 lib32stdc++6-4.6-dbg - GNU Standard C++ Library v3 (debugging files)
 lib64objc3 - Runtime library for GNU Objective-C applications (64bit)
 lib64objc3-dbg - Runtime library for GNU Objective-C applications (64 bit debug sy
 lib64stdc++6-4.6-dbg - GNU Standard C++ Library v3 (debugging files)
 libmudflap0-4.6-dev - GCC mudflap support libraries (development files)
 libn32objc3 - Runtime library for GNU Objective-C applications (n32)
 libn32objc3-dbg - Runtime library for GNU Objective-C applications (n32 debug symbo
 libn32stdc++6-4.6-dbg - GNU Standard C++ Library v3 (debugging files)
 libobjc3   - Runtime library for GNU Objective-C applications
 libobjc3-dbg - Runtime library for GNU Objective-C applications (debug symbols)
 libstdc++6-4.6-dbg - GNU Standard C++ Library v3 (debugging files)
 libstdc++6-4.6-dev - GNU Standard C++ Library v3 (development files)
 libstdc++6-4.6-doc - GNU Standard C++ Library v3 (documentation files)
 libstdc++6-4.6-pic - GNU Standard C++ Library v3 (shared library subset kit)
Closes: 667184 681998 685559 685561 685562
Changes: 
 gcc-4.6 (4.6.3-12) unstable; urgency=low
 .
   * Update to SVN 20121011 (r192379) from the gcc-4_6-branch.
     - PARISC fix, test case fix.
 .
   [ Matthias Klose ]
   * Merge from gnat-4.6 4.6.3-6:
   * debian/patches/ada-symbolic-tracebacks.diff (src/gcc/ada/tracebak.c):
     Use the GCC stack unwinder on GNU/kFreeBSD too.  Closes: #685559.
   * debian/patches/gcc_ada_gcc-interface_Makefile.in.diff: link
     libgnarl.so.4.6 with librt on GNU/Hurd.  Closes: #685561.
   * debian/patches/ada-kfreebsd-gnu.diff: likewise on GNU/kFreeBSD.
     Closes: #685562.
   * debian/patches/ada-symbolic-tracebacks.diff (src/gcc/ada/tracebak.c):
     new hunk.  Use the GCC stack unwinder on GNU/Hurd.  Closes: #681998.
   * debian/patches/ada-link-lib.diff: do not use parallel makes to build
     the GNAT tools.  Closes: #667184.
 .
   [ Thorsten Glaser ]
   * Actually apply the libffi-m68k patch; update it from upstream
   * Apply further m68k platform bugfixes (pr47955, m68k-fp-cmp-zero)
   * Revert pr45144 fix on m68k only, it results in miscompilation
   * Apply initial m68k-ada support patch; enable Ada for m68k
   * debian/patches/ada-libgnatprj.diff: add support for m68k-*-linux.
 .
   [ Steven Chamberlain ]
   * Fix kfreebsd build issues.
Checksums-Sha1: 
 76075c8d8645a89cc7a4611c30db02ce767ffb37 4532 gcc-4.6_4.6.3-12.dsc
 7e0543608bed90d7d562a29a6ae0f6fa0b5257ba 1065903 gcc-4.6_4.6.3-12.diff.gz
 1e49a4d8bfd0e13809ddea60fc3fc69dd73b81d6 58083342 gcc-4.6-source_4.6.3-12_all.deb
 d9f4c48ac44f5059edefe32b5deea065df5b7158 3710622 libstdc++6-4.6-doc_4.6.3-12_all.deb
 ba19cbd39b98a40b5ab4243e5dd59ab5088bf89f 2628754 gcc-4.6-locales_4.6.3-12_all.deb
 4dffeb752b6da691007dfaebb23db7d20b141dd3 141366 gcc-4.6-base_4.6.3-12_amd64.deb
 8487008b56895273cb7914b93ce4d661c2eee1b2 4827712 cpp-4.6_4.6.3-12_amd64.deb
 e78b9d461938d95221402786f1ab6d4acc1d18b9 126294 libmudflap0-4.6-dev_4.6.3-12_amd64.deb
 337dfc4011f94115036c9eb6f1373cb3c42768ed 870 gobjc++-4.6-multilib_4.6.3-12_amd64.deb
 9ecc5c043b53f2ea8f604713ddefce5e189173f5 5177302 gobjc++-4.6_4.6.3-12_amd64.deb
 2940b1c824b08e188f17a58aed3dbcf7c1c9c208 200374 gobjc-4.6-multilib_4.6.3-12_amd64.deb
 15ced57fd305dcfa389ac6c089273ca04f2ca380 5032074 gobjc-4.6_4.6.3-12_amd64.deb
 634cf6355a9fdddf6a435cebb7c8ef5a11391fce 184882 libobjc3_4.6.3-12_amd64.deb
 43a9debf8f0a8711b6a9f7f799bb89a2448643a0 361700 libobjc3-dbg_4.6.3-12_amd64.deb
 6ff1e7989c96b06351ea8285ff80cb3aeee4e92f 183244 lib32objc3_4.6.3-12_amd64.deb
 cf39c53a839566259b48b4cb6cb1ff812d9ba9ed 331698 lib32objc3-dbg_4.6.3-12_amd64.deb
 7890fb3b064466816548bbb33af570dbb28c5437 1011194 g++-4.6-multilib_4.6.3-12_amd64.deb
 53057da43be57e19403ebb6ef0d0105a72421efe 6944286 g++-4.6_4.6.3-12_amd64.deb
 aa0b46e4440b3b6e111c6bc03f6e32e4a465f6fd 5363886 lib32stdc++6-4.6-dbg_4.6.3-12_amd64.deb
 8c8d130b6f69129c2346de8b2fe4baecc17d0dbc 1659722 libstdc++6-4.6-dev_4.6.3-12_amd64.deb
 ccccda46634c186c97af74386541ce939d05547c 502840 libstdc++6-4.6-pic_4.6.3-12_amd64.deb
 ebca1d0fa137a250b3ba6667c8523d2eda6d62df 5591174 libstdc++6-4.6-dbg_4.6.3-12_amd64.deb
 a644dd34db6c4cd427ca95d7c81b35bd5a1c0745 405502 gfortran-4.6-multilib_4.6.3-12_amd64.deb
 61af951c174c4f62cf36e2152bb51ac5c0e6cfa1 5564474 gfortran-4.6_4.6.3-12_amd64.deb
 18a93d0e8af46714777ca0f414ec910a2392e1a9 2531510 gcc-4.6-multilib_4.6.3-12_amd64.deb
 32cd2d14b49d2ac6eedb2054e6f4e635e36716e0 840484 gcc-4.6-plugin-dev_4.6.3-12_amd64.deb
 88bdd155153dc99c652058ebaa4450b95a086eab 7329422 gcc-4.6_4.6.3-12_amd64.deb
Checksums-Sha256: 
 3203877ac8e78a425aa90dc1eef8168cb81dd01225b1a8079073c0a06af4ae14 4532 gcc-4.6_4.6.3-12.dsc
 1bebb5d703e82f881eb57b0e5c4744906c3f634db65890f5b6348389a6cd196d 1065903 gcc-4.6_4.6.3-12.diff.gz
 3751044968502e523f43c89dd2e558c957fe0a6def587552ddb6d8e7ac5c29ea 58083342 gcc-4.6-source_4.6.3-12_all.deb
 5d1a9e3cc1d453275fe2077dc34541a22b094b0aa67b766595c36f561e6eb669 3710622 libstdc++6-4.6-doc_4.6.3-12_all.deb
 9cfc384077ab8d2dc634b14669c7ddd50cf0a7011fdf4d3c013850a20ca2cb76 2628754 gcc-4.6-locales_4.6.3-12_all.deb
 65f06bf2e5595fd41b6542f5b0e086ea39a1d8111e59da2739f9f5d87b26f677 141366 gcc-4.6-base_4.6.3-12_amd64.deb
 034729ea2a679ecfed1900fbe4c1f444bfd43adc13ae0a24f64ec4f7de38a5af 4827712 cpp-4.6_4.6.3-12_amd64.deb
 41b701e2c3aa157289a04c80540137982ae5a3cccca2e00eb0a3fda2a491f0c3 126294 libmudflap0-4.6-dev_4.6.3-12_amd64.deb
 864082f481ead4bce0da929c1db1720521ab03019b3ff57fdffce5cb92ee6f87 870 gobjc++-4.6-multilib_4.6.3-12_amd64.deb
 0a8a973f23064b60b2f1a66b86945895def54ee9356d2146c01b44b2d474aeb6 5177302 gobjc++-4.6_4.6.3-12_amd64.deb
 cdb0c00bff8ba50071d552f81dac4e3136b11a8b40a204b9adb2a576508d87fd 200374 gobjc-4.6-multilib_4.6.3-12_amd64.deb
 37f2f56d191e84a2015ae38ce93aa92471759c51e880f946fa51caa5eb296ab0 5032074 gobjc-4.6_4.6.3-12_amd64.deb
 19ba7923200541be26df9ec7fb3972bbab948aaa728db1a0b4381ab2e967df5e 184882 libobjc3_4.6.3-12_amd64.deb
 4212ff59b15a8ddad34699df8ac4a5f2b47201a7c7884f5e81e6894f4d1ce7d3 361700 libobjc3-dbg_4.6.3-12_amd64.deb
 7764ae104ac9844fd23ab0e9c76cdc903349c45cb526d596cdc9f016c708ab6c 183244 lib32objc3_4.6.3-12_amd64.deb
 23993a5839807d0816acc752656e743087287a0a107ea4b4cb77fe44f0e819cf 331698 lib32objc3-dbg_4.6.3-12_amd64.deb
 2152f0cdc7f1a019a37816c7ce658f3bc4cb8b9ea13f771fe0a145431a78cca2 1011194 g++-4.6-multilib_4.6.3-12_amd64.deb
 d48b80aa5a78807f691c23b029a8c18c5797a6caf4cc247d8b39800e12130899 6944286 g++-4.6_4.6.3-12_amd64.deb
 dca4acf79497cbc8b3a8bf76b69263a4887bbf3ba9080fc51e82d0d97b7f50a2 5363886 lib32stdc++6-4.6-dbg_4.6.3-12_amd64.deb
 ec0eeb2b140c569b374933613af3e25e3b0bc35ec8b3a396b43d059657cfe552 1659722 libstdc++6-4.6-dev_4.6.3-12_amd64.deb
 2dba48313c5f3a2c7e8b538e045de61db8f4801bffc37b678f9817e8135c7a57 502840 libstdc++6-4.6-pic_4.6.3-12_amd64.deb
 243877a91406d7faf0e8f7632e53732cd49de5ad8576e9637970b63ce20ce76e 5591174 libstdc++6-4.6-dbg_4.6.3-12_amd64.deb
 2ee168be5c907051e772679d83f60953b6bf056e71b508553120d915615bcde2 405502 gfortran-4.6-multilib_4.6.3-12_amd64.deb
 55125e0cf28c8cdca9a761fe4ee626e859cc84d953ff03e214d83222f752e362 5564474 gfortran-4.6_4.6.3-12_amd64.deb
 620a4670d019b39e9aeb51a2c3eaeee65aa43ca5bb2b0a522c5f1b32b687af82 2531510 gcc-4.6-multilib_4.6.3-12_amd64.deb
 76f277038e37db7bf5b6f8fb6169e7bc098d34fa2d875148813bedf3b60d4934 840484 gcc-4.6-plugin-dev_4.6.3-12_amd64.deb
 5bfb19f756c8225940beb5b2b37f6277e41880c7c58e339e6a4904105dd18d45 7329422 gcc-4.6_4.6.3-12_amd64.deb
Files: 
 b397abd4bb4bd77327b46e630fda86a4 4532 devel optional gcc-4.6_4.6.3-12.dsc
 7b443d8efa3f81093808ae0a4f4a7e25 1065903 devel optional gcc-4.6_4.6.3-12.diff.gz
 b3141988ed5257a0f9808c58b0d736a3 58083342 devel optional gcc-4.6-source_4.6.3-12_all.deb
 2977dca36bd3754929b7720e32e24924 3710622 doc optional libstdc++6-4.6-doc_4.6.3-12_all.deb
 e6fccbca0f5f0086f0fe22aa8c84deb9 2628754 devel optional gcc-4.6-locales_4.6.3-12_all.deb
 3a4d6fd165f5e7880501468dc2fbc208 141366 libs required gcc-4.6-base_4.6.3-12_amd64.deb
 4b871aa4120d9561e5826a6bada91982 4827712 interpreters optional cpp-4.6_4.6.3-12_amd64.deb
 6f286a9c5e2170d217fcaab5884273d4 126294 libdevel optional libmudflap0-4.6-dev_4.6.3-12_amd64.deb
 e4eb394c0ad0e01e68038076e9936c5d 870 devel optional gobjc++-4.6-multilib_4.6.3-12_amd64.deb
 181d0441d21b93225b2926bd37ec600e 5177302 devel optional gobjc++-4.6_4.6.3-12_amd64.deb
 ab93149d4d588ef154ed5bab09bde660 200374 devel optional gobjc-4.6-multilib_4.6.3-12_amd64.deb
 bb4c29acdb7add7c28dc5e5498f34094 5032074 devel optional gobjc-4.6_4.6.3-12_amd64.deb
 ba63023cbb86e69ee6a390a5596896de 184882 libs optional libobjc3_4.6.3-12_amd64.deb
 fcba9f35a781aa90e48c5a0b2222d0a6 361700 debug extra libobjc3-dbg_4.6.3-12_amd64.deb
 767e6a82e825c993cc75376c8a3a5025 183244 libs optional lib32objc3_4.6.3-12_amd64.deb
 0852b9cc449f10a2e4610787c5676e69 331698 debug extra lib32objc3-dbg_4.6.3-12_amd64.deb
 17bb7d4c6830f10f8a2e7db2ef5aab98 1011194 devel optional g++-4.6-multilib_4.6.3-12_amd64.deb
 2a1b256eacc9f9c68da7e719ec6367f5 6944286 devel optional g++-4.6_4.6.3-12_amd64.deb
 32d104514246b710ee37ad7cd222922e 5363886 debug extra lib32stdc++6-4.6-dbg_4.6.3-12_amd64.deb
 cb2891cf60d4277509248988fecb9676 1659722 libdevel optional libstdc++6-4.6-dev_4.6.3-12_amd64.deb
 066b6480923f166312d1909a49d5f888 502840 libdevel extra libstdc++6-4.6-pic_4.6.3-12_amd64.deb
 9f72f41eb005d14012f5b1cda088be42 5591174 debug extra libstdc++6-4.6-dbg_4.6.3-12_amd64.deb
 f8aa3b52dae6527f8b22d6a4df4ab018 405502 devel optional gfortran-4.6-multilib_4.6.3-12_amd64.deb
 7d477311da5df9571bb2dfa480e7c6a1 5564474 devel optional gfortran-4.6_4.6.3-12_amd64.deb
 6bfd6e5ae0dcb24db36b4cc6dab8dab9 2531510 devel optional gcc-4.6-multilib_4.6.3-12_amd64.deb
 f43d01c0ade06e420b41587066d71813 840484 devel optional gcc-4.6-plugin-dev_4.6.3-12_amd64.deb
 4d112e5af02885f859c40c33f292e1ce 7329422 devel optional gcc-4.6_4.6.3-12_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlB36ZgACgkQStlRaw+TLJyVoQCgmltPKk0gOJVoANRlcF51Y7K/
vBkAoL3lWesfgdx8wvNC17Gd2YTqyP1m
=W6Oh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: