[Bug 1894166] Re: libasan missing debug symbols break debugging

Launchpad Bug Tracker 1894166 at bugs.launchpad.net
Tue Jun 22 13:20:02 UTC 2021


This bug was fixed in the package gcc-10 - 10.3.0-1ubuntu1~20.04

---------------
gcc-10 (10.3.0-1ubuntu1~20.04) focal-proposed; urgency=medium

  * SRU: LP: #1930125: Update to the GCC 10.3.0 release.

gcc-10 (10.3.0-1ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.3.0-1) experimental; urgency=medium

  * GCC 10.3.0 release.
  * Refresh patches.
  * Fix PR target/99773 (ARM), taken from the trunk.

gcc-10 (10.2.1-24ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.1-24) experimental; urgency=medium

  * GCC 10.3.0 release candidate.
  * Update to git 20210401 from the gcc-10 branch.
    - Fix PR target/99563 (x86), PR target/99542 (AArch64), PR ipa/99517,
      PR middle-end/93235, PR target/99085, PR tree-optimization/99225,
      PR tree-optimization/99204, PR ipa/99034, PR tree-optimization/99079,
      PR c++/99035, PR middle-end/99007, PR middle-end/97487,
      PR middle-end/97971, PR tree-optimization/98287, PR middle-end/99641,
      PR ipa/98078, PR c/99224, PR tree-optimization/99253, PR fortran/97927,
      PR rtl-optimization/98791, PR c/99324, PR c/99136, PR c++/99613,
      PR c++/99507, PR c++/88146, PR c++/99362, PR c++/82959, PR c++/95451,
      PR sanitizer/99106, PR c++/97742, PR c++/99033, PR c++/98988,
      PR c++/99031, PR c++/97878, PR fortran/99205, PR fortran/99545,
      PR libstdc++/99181, PR ipa/99466, PR tree-optimization/96974,
      PR target/97329 (PPC), PR target/99540 (AArch64), PR target/99704 (x86),
      PR tree-optimization/98834, PR lto/96591, PR tree-optimization/99694,
      PR target/99702 (RISCV), PR target/44107, PR target/48097,
      PR objc++/49070, PR c++/99047, PR c++/98704, PR c++/98480, PR c++/96749,
      PR c++/98118, PR c++/95616, PR c++/95615, PR c++/97587, PR c++/95822,
      PR c++/96251, PR fortran/93660, PR fortran/99369, PR fortran/99688,
      PR tree-optimization/99777, PR debug/99334, PR debug/99388,
      PR tree-optimization/99824, PR target/97252 (ARM), PR c++/99062,
      PR ipa/98265, PR rtl-optimization/96264, PR tree-optimization/97849,
      PR target/99813 (AArch64), PR target/99753 (x86), PR target/95842 (x86),
      PR target/99037 (AArch64), PR c++/98990, PR c++/95468, PR c++/98611,
      PR c++/96531, PR c++/97103.
    - Replace @tie{} string with a space in the man pages. LP: #1405685.

gcc-10 (10.2.1-23ubuntu2) hirsute; urgency=medium

  * Update to git 20210320 from the gcc-10 branch.
    - Fix PR target/99563 (x86), PR target/99542 (AArch64), PR ipa/99517,
      PR middle-end/93235, PR target/99085, PR tree-optimization/99225,
      PR tree-optimization/99204, PR ipa/99034, PR tree-optimization/99079,
      PR c++/99035, PR middle-end/99007, PR middle-end/97487,
      PR middle-end/97971, PR tree-optimization/98287, PR middle-end/99641,
      PR ipa/98078, PR c/99224, PR tree-optimization/99253, PR fortran/97927,
      PR rtl-optimization/98791, PR c/99324, PR c/99136, PR c++/99613,
      PR c++/99507, PR c++/88146, PR c++/99362, PR c++/82959, PR c++/95451,
      PR sanitizer/99106, PR c++/97742, PR c++/99033, PR c++/98988,
      PR c++/99031, PR c++/97878, PR fortran/99205, PR fortran/99545,
      PR libstdc++/99181.
    - Replace @tie{} string with a space in the man pages. LP: #1405685.

gcc-10 (10.2.1-23ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.1-23) experimental; urgency=medium

  * Update to git 20210311 from the gcc-10 branch.
    - Fix PR go/99458, PR target/99381 (AArch64), PR target/98959 (PPC),
      PR target/99279 (PPC), PR target/99041 (PPC), PR c++/90448,
      PR bootstrap/94918, PR c/99137, PR libfortran/99218.
  * Fix --as-needed specs for -fsanitize=* options for backports.
    LP: #1896458.
  * Export DEB_CHECK_ALI_UPDATE=1. This should be checked after the gnat
    transition has been prepared in experimental, and just before doing
    the gnat's defaults change in unstable.
  * debian/ada/check_ali_update.sh: Fix syntax errors.
    Always run the script.
  * Revert the PR ada/99264 fix, causing an ABI breakage in libgnat.

gcc-10 (10.2.1-21ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
    - Still build the sanitizer packages from the GCC 10 source.

gcc-10 (10.2.1-21) experimental; urgency=medium

  * Update to git 20210306 from the gcc-10 branch.
    - Fix PR target/85074 (PA), PR fortran/99124, PR fortran/99171,
      PR fortran/99027, PR target/99157 (ARM), PR target/99271 (ARM),
      PR target/99234 (x86), PR c++/90333, PR c++/97246, PR c++/94546,
      PR c++/96078, PR target/99234 (x86), PR tree-optimization/98758,
      PR tree-optimization/98640, PR tree-optimization/98526,
      PR tree-optimization/97897, PR debug/98656, PR ipa/98338,
      PR target/99271 (ARM), PR target/99234 (x86), PR ada/99264,
      PR ada/99095, PR c++/96199, PR c++/95675, PR c++/98810, PR c++/90333,
      PR c++/97246, PR c++/94546, PR d/99337.
    - RISC-V: Implement __builtin_thread_pointer.

gcc-10 (10.2.1-20ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
    - Still build the sanitizer packages from the GCC 10 source.

gcc-10 (10.2.1-20) experimental; urgency=medium

  * Update to git 20210220 from the gcc-10 branch.
    - Fix PR rtl-optimization/96015, PR debug/96997, PR c++/94034,
      PR c++/96905, PR c++/98326, PR c++/20408, PR c++/95888,
      PR fortran/99111, PR fortran/99043, PR fortran/98897, PR fortran/99060,
      PR libfortran/95647, PR libstdc++/99021.
  * Still build the lib*gccN compat packages for sid/bullseye. Note, this
    doesn't change anything for the upload to experimental. Closes: #972936.

gcc-10 (10.2.1-19ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
    - Still build the sanitizer packages from the GCC 10 source.

gcc-10 (10.2.1-19) experimental; urgency=medium

  * Update to git 20210206 from the gcc-10 branch.
    - Fix PR d/98921, PR target/97701, PR rtl-optimization/98863,
      PR rtl-optimization/98863, PR rtl-optimization/98144,
      PR rtl-optimization/98863, PR target/96307, PR c++/98717, PR c++/98802,
      PR c++/98295, PR c++/98355, PR c++/96282, PR preprocessor/95253.
  * Build libgomp-plugin-hsa1 unconditionally. Removed in GCC 11.

gcc-10 (10.2.1-18ubuntu2) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
  * Still build the sanitizer packages from the GCC 10 source.
  * Still build libgomp-plugin-hsa1.

gcc-10 (10.2.1-18) experimental; urgency=medium

  * Stop building libasan, no soname bump in GCC 11.

gcc-10 (10.2.1-17) experimental; urgency=medium

  * Fix packaging logic to build libgphobos.

gcc-10 (10.2.1-16) experimental; urgency=medium

  * Update to git 20210130 from the gcc-10 branch.
    - Fix PR ipa/98690, PR tree-optimization/98513, PR tree-optimization/98282,
      PR tree-optimization/94994, PR tree-optimization/95401,
      PR rtl-optimization/97144, PR rtl-optimization/98214,
      PR tree-optimization/98302, PR tree-optimization/98371,
      PR target/89057 (AArch64), PR tree-optimization/98221,
      PR tree-optimization/98117, PR tree-optimization/97623,
      PR tree-optimization/97623, PR ada/98740, PR libgomp/65099,
      PR libstdc++/98605, PR libstdc++/96083, PR libstdc++/65480,
      PR libstdc++/68735, PR tree-optimization/98535,
      PR c++/98790 (closes: #980429, #980596), PR d/98806 (closes: #980204),
      PR fortran/98022, PR fortran/98517, PR fortran/93833, PR lto/85574,
      PR debug/98331, PR target/98853 (AArch64), PR target/98681 (AArch64),
      PR testsuite/98771, PR testsuite/97301, PR tree-optimization/90248,
      PR tree-optimization/98255, PR tree-optimization/97627,
      PR tree-optimization/98766, PR gcov-profile/98739, PR ada/98228,
      PR c++/33661, PR c++/98847, PR sanitizer/95693, PR c++/98672,
      PR c++/98463, PR c++/97474, PR c++/98642, PR c++/63707, PR fortran/86470.
  * Fix parallel linking of cc1gm2.
  * PR sanitizer/98699: Don't enable --as-needed with -fsanitize=* options.
    Closes: #980110.
  * Use --push-state/--pop-state for gold everywhere.
  * Backport prerequisite patch for PR target/97250 (i386: Define __LAHF_SAHF__
    and __MOVBE__ macros, based on ISA flags).
  * Make -march=x86-64-v[234] behave more like other -march= options, taken
    from the trunk.
  * Use the same breaks relations for libgcc-s2 and libgcc-s4 as for
    libgcc-s1. Closes: #980770.
  * Fix up plugin header install, taken from the trunk. Closes: #980609.
  * Still build libasan, libgm2 and libgphobos, when building common libraries
    from GCC 11.
  * Stop building packages built from GCC 11.

gcc-10 (10.2.1-6ubuntu2) hirsute; urgency=medium

  * Update to git 20210121 from the gcc-10 branch.
    - Fix PR ipa/98690, PR tree-optimization/98513, PR tree-optimization/98282,
      PR tree-optimization/94994, PR tree-optimization/95401,
      PR rtl-optimization/97144, PR rtl-optimization/98214,
      PR tree-optimization/98302, PR tree-optimization/98371,
      PR target/89057 (AArch64), PR tree-optimization/98221,
      PR tree-optimization/98117, PR tree-optimization/97623,
      PR tree-optimization/97623, PR ada/98740, PR libgomp/65099,
      PR libstdc++/98605, PR libstdc++/96083, PR libstdc++/65480,
      PR libstdc++/68735.
  * Fix parallel linking of cc1gm2.
  * PR sanitizer/98699: Don't enable --as-needed with -fsanitize=* options.
    Closes: #980110.
  * Use --push-state/--pop-state for gold everywhere.
  * Backport prerequiste patch for PR target/97250 (i386: Define __LAHF_SAHF__
    and __MOVBE__ macros, based on ISA flags).

gcc-10 (10.2.1-6ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.1-6) unstable; urgency=medium

  * Update to git 20210110 from the gcc-10 branch.
    - Fix PR c++/98556, PR c++/98551, PR c++/96197.
  * gcc-10-source: Depend on time.
  * Fix PR rtl-optimization/97714, taken from the trunk. Closes: #975153.
  * Build the gcn offload compiler based on amdgcn-tools (based on LLVM 9).

gcc-10 (10.2.1-5) unstable; urgency=medium

  * Update to git 20210108 from the gcc-10 branch.
    - Fix PR target/96793 (x86), PR rtl-optimization/97421, PR fortran/96100,
      PR fortran/96101, PR target/96320, PR target/97865,
      PR tree-optimization/98514, PR tree-optimization/98474, PR c++/98353,
      PR c++/98383, PR middle-end/98183, PR middle-end/98205,
      PR target/94440 (x86), PR target/98100, PR plugins/98059,
      PR target/98063 (x86), PR target/98522 (x86), PR target/98521 (x86),
      PR target/97865, PR c++/98187, PR c++/98122, PR c++/98072, PR c++/82099,
      PR c++/96675, PR c++/96742, PR c++/97975, PR c++/98043, PR c++/98103,
      PR c++/97427, PR c++/97438, PR fortran/92587, PR fortran/96325,
      PR fortran/83118, PR fortran/96012.
  * Fix hppa64 snapshot builds.
  * Force running tests on m68k and sh4 architectures.
  * Provide timing and resource information for all builds.
  * Backport PR target/97250: Add support for x86-64-v2, x86-64-v3, x86-64-v4
    levels for x86-64.
  * Build the offload compilers using newlib 4.1.0.
  * Bump standards version.

gcc-10 (10.2.1-3) unstable; urgency=medium

  * Update to git 20201224 from the gcc-10 branch.
    - Fix PR target/96793 (x86), PR c++/98332, PR c++/90254, PR c++/93711.
  * Build the gcn offload compiler based on amdgcn-tools (based on LLVM 9).
    Not yet available, so use LLVM 9 directly.

gcc-10 (10.2.1-2ubuntu3) hirsute; urgency=medium

  * Build the gcn offload compiler based on amdgcn-tools (using LLVM 9).

gcc-10 (10.2.1-2ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.1-2) unstable; urgency=medium

  * Update to git 20201221 from the gcc-10 branch.
    - Fix PR rtl-optimization/97092, PR ada/98230, PR c++/64194, PR d/98277,
      PR fortran/98307.
  * For the gcn offload compiler, use a version fixing LLVM Bug 48201.
  * Don't install the lto-dump binary in the hppa64 package. Closes: #977461.
  * Refresh patches.
  * Strip compiler executables again.

gcc-10 (10.2.1-1ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.1-1) unstable; urgency=medium

  * Update to git 20201207 from the gcc-10 branch.
    - Fix PR middle-end/94600, PR target/98086 (x86), PR middle-end/95694,
      PR fortran/95342.
  * Bump version to 10.2.1.
  * Build again using gnat-10 everywhere.

gcc-10 (10.2.0-23) unstable; urgency=medium

  * Update to git 20201203 from the gcc-10 branch.
    - Fix PR tree-optimization/97457, PR rtl-optimization/98037, PR c++/97904,
      PR middle-end/95694.
  * Relax the libc-dev dependencies for kfreebsd.
  * Explicitly build with gnat-10 on m68k.

gcc-10 (10.2.0-21) unstable; urgency=medium

  * Build using gnat-9 to bootstrap on kfreebsd.

gcc-10 (10.2.0-20ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
  * Re-enable running the testsuite again.

gcc-10 (10.2.0-20) unstable; urgency=medium

  * Update to git 20201202 from the gcc-10 branch.
    - Fix PR target/97528 (ARM), PR debug/97599, PR c/97958, PR fortran/85796,
      PR libstdc++/98001, PR libstdc++/97935, PR target/97939 (SPARC),
      PR target/96607 (SPARC), PR tree-optimization/97812, PR middle-end/95171,
      PR tree-optimization/97760, PR tree-optimization/97539,
      PR middle-end/97554, PR libstdc++/95322, PR tree-optimization/96698,
      PR tree-optimization/96920.
  * Don't strip the sanitizer libraries, these are only used for debugging.
    LP: #1894166.
  * Don't run the libgphobos-link test on powerpc architectures.
  * Install libstdc++6 gdb pretty printer files in /usr/share/gcc (unversioned).
  * Don't mark the libgcc-sN cross packages with XB-Important/Protected: yes.

gcc-10 (10.2.0-19ubuntu3) hirsute; urgency=medium

  * Update to git 20201129 from the gcc-10 branch.
    - Fix PR target/97528 (ARM), PR debug/97599, PR c/97958, PR fortran/85796,
      PR libstdc++/98001, PR libstdc++/97935, PR target/97939 (SPARC),
      PR target/96607 (SPARC).
  * Don't strip the sanitizer libraries, these are only used for debugging.
    LP: #1894166.
  * Don't run the libgphobos-link test on powerpc architectures.
  * Install libstdc++6 gdb pretty printer files in /usr/share/gcc (unversioned).
  * Re-enable the lto build on arm64.

gcc-10 (10.2.0-19ubuntu2) hirsute; urgency=medium

  * Disable the lto build on arm64 for now, builds still not
    succeeding on the buildds.

gcc-10 (10.2.0-19ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
  * Don't run the testsuite on armhf and arm64, better chances for
    a succeeding build on the buildds.

gcc-10 (10.2.0-19) unstable; urgency=medium

  * Update to git 20201125 from the gcc-10 branch.
    - Fix PR target/97730 (AArch64), PR target/97887 (x86), PR d/97889,
      PR d/97843, PR d/97842, PR libstdc++/92546, PR libstdc++/97876,
      PR libstdc++/95989, PR libstdc++/97869, PR c++/97918, PR debug/97060,
      PR target/97534 (ARM), PR c++/96805, PR c++/96199.
  * Configure again with --enable-checking=release.
  * Enable again pgo and lto builds for 64bit architectures.

gcc-10 (10.2.0-18ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-18) unstable; urgency=medium

  * Update to git 20201118 from the gcc-10 branch.
    - Fix PR target/97535 (AArch64), PR target/97682 (RISCV), PR c/97748,
      PR c++/97790, PR c/97748, PR c++/67453, PR c++/97663, PR fortran/97782,
      PR fortran/95847, PR fortran/97768, PR libstdc++/97828,
      PR libstdc++/93456, PR libstdc++/97798, PR libstdc++/96042,
      PR libstdc++/96042, PR libstdc++/96042.
  * Update VCS attributes.
  * Add an autopkg test for linking libphobos.
  * Build the gcn offload compiler using LLVM 11, and work around the
    broken as in LLVM 11. See also LLVM Bug 48201 for this issue and
    https://reviews.llvm.org/D73999 for the patch causing the issue.
  * Fix PR target/97528, proposed patch. Closes: #972665.

gcc-10 (10.2.0-17ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-17) unstable; urgency=medium

  * Update to git 20201111 from the gcc-10 branch.
    - Fix PR tree-optimization/97764, PR target/97685 (x86),
      PR target/97360 (PPC), PR lto/97508, PR c++/97412, PR fortran/97652,
      PR fortran/92793, PR fortran/92793, PR target/85486, PR libstdc++/96269,
      PR libstdc++/97731, PR libstdc++/97362, PR libstdc++/92285.

gcc-10 (10.2.0-16ubuntu1) hirsute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-16) unstable; urgency=medium

  * Update to git 20201029 from the gcc-10 branch.
    - Fix PR rtl-optimization/97439, PR target/96759 (RISCV),
      PR target/97506 (x86), PR target/97327 (ARM), PR target/96914 (ARM),
      PR target/96914 (ARM), PR target/96914 (ARM), PR rtl-optimization/97386,
      PR sanitizer/97294, PR target/97291 (ARM), PR ipa/96394, PR ipa/97404,
      PR ipa/97295, PR target/97251 (ARM), PR target/97349 (AArch64),
      PR tree-optimization/97357, PR tree-optimization/97255, PR c++/97197,
      PR c++/97328, PR c++/97010, PR c++/97197, PR c++/96229, PR fortran/95979,
      PR libstdc++/95322, PR libstdc++/97132, PR libstdc++/95788,
      PR tree-optimization/97081, PR tree-optimization/97456,
      PR c++/95132, PR c++/96241.
  * Also enable the extra checking on amd64, arm64, ppc64el, s390x, and don't
    strip the executables.  This will be reverted within a few weeks, please
    don't send bug reports about that.
  * Mark libgcc-sN with XB-Important/Protected: yes. Addresses: #972936.

gcc-10 (10.2.0-15ubuntu1) hirsute; urgency=medium

  * Update to git 20201023 from the gcc-10 branch.
    - Fix PR rtl-optimization/97439, PR target/96759 (RISCV),
      PR target/97506 (x86), PR target/97327 (ARM), PR target/96914 (ARM),
      PR target/96914 (ARM), PR target/96914 (ARM), PR rtl-optimization/97386,
      PR sanitizer/97294, PR target/97291 (ARM), PR ipa/96394, PR ipa/97404,
      PR ipa/97295, PR target/97251 (ARM), PR target/97349 (AArch64),
      PR tree-optimization/97357, PR tree-optimization/97255, PR c++/97197,
      PR c++/97328, PR c++/97010, PR c++/97197, PR c++/96229, PR fortran/95979,
      PR libstdc++/95322, PR libstdc++/97132, PR libstdc++/95788.
  * On every arch except i386, configure with --enable-checking=yes,extra,rtl,
    and don't strip the executables for now.

gcc-10 (10.2.0-15) unstable; urgency=medium

  * Update to git 20201011 from the gcc-10 branch.
    - Fix PR target/97302, PR rtl-optimization/97313, PR middle-end/95189,
      PR middle-end/95886, PR target/97150 (AArch64), PR target/96313 (AArch64),
      PR tree-optimization/97236, PR target/96456 (S390), PR gcov-profile/97193,
      PR c++/88115, PR libstdc++/97273, PR c++/96994, PR c++/97195,
      PR c++/97145, PR fortran/97272, PR bootstrap/97163, PR gcov-profile/96913.
  * On armel, armhf, configure with --enable-checking=yes,extra,rtl, and don't
    strip the executables for now.

gcc-10 (10.2.0-14) experimental; urgency=medium

  * Update to git 20201002 from the gcc-10 branch.
    - Fix PR gcov-profile/64636, PR tree-optimization/96979,
      PR gcov-profile/97069, PR target/96795 (ARM), PR target/96827 (ARM),
      PR bootstrap/97183, PR target/97184 (x86).
  * Fix PR tree-optimization/97236, taken from the trunk. Stop reverting the
    fixes for PR tree-optimization/97043, PR tree-optimization/96522.
    Closes: #971027.
  * Enable gnat on m68k again (Adrian Glaubitz). Closes: #971551.

gcc-10 (10.2.0-13ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-13) unstable; urgency=medium

  * Update to git 20200930 from the gcc-10 branch.
    - Fix PR target/97247 (x86), PR target/97231 (x86), PR middle-end/97054.
    - Backport SVE ACLE and stack-protector patches (ARM, AArch64).
  * Revert the fix for PR tree-optimization/96522. See #971027.

gcc-10 (10.2.0-12) unstable; urgency=medium

  * Update to git 20200927 from the gcc-10 branch.
    - Fix PR target/71233 (AArch64), PR middle-end/97073.
  * Revert the fix for PR tree-optimization/97043. Addresses: #971027.

gcc-10 (10.2.0-11ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-11) unstable; urgency=medium

  * Update to git 20200927 from the gcc-10 branch.
    - Fix PR middle-end/95464, PR target/96683 (ARM), PR target/97032,
      PR target/97166 (PPC), PR fortran/96041, PR fortran/93423,
      PR fortran/93423, PR libstdc++/97167, PR libstdc++/96803,
      PR libstdc++/96803, PR libstdc++/94681, PR libstdc++/94681,
      PR libstdc++/97101, PR libstdc++/94160.
    - libgo: don't put golang.org packages in zstdpkglist.go. Closes: #970604.

  [ Samuel Thibault ]
  * Limit systemtap-sdt-dev build dependency to linux architectures.
    Closes: #970614.

gcc-10 (10.2.0-9ubuntu2) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-9) unstable; urgency=high

  * Update to git 20200918 from the gcc-10 branch.
    - Fix PR preprocessor/96935, PR tree-optimization/97053,
      PR target/97028 (x86), PR debug/96690, PR tree-optimization/96522,
      PR tree-optimization/97043.

gcc-10 (10.2.0-8ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-8) unstable; urgency=medium

  * Update to git 20200914 from the gcc-10 branch.
    - Fix PR tree-optimization/96579, PR tree-optimization/96370,
      PR tree-optimization/96514, PR middle-end/96369, PR lto/96385,
      PR tree-optimization/96349, PR bootstrap/96203, PR lto/95604,
      PR debug/93865, PR debug/94235, PR c++/96901, PR lto/94311,
      PR debug/96729, PR c++/96901, PR c++/96862, PR fortran/96859.
  * Fix libstdc++ symbols file for armel, no pretty formatting allowed
    in symbols files.

gcc-10 (10.2.0-7) unstable; urgency=medium

  * Update to git 20200910 from the gcc-10 branch.
    - Fix PR c++/95164, PR target/85830 (PPC), PR tree-optimization/96820,
      PR target/96808 (PPC), PR tree-optimization/96597,
      PR tree-optimization/88240, PR tree-optimization/96854,
      PR target/96551 (x86), PR d/96924, PR fortran/95398, PR fortran/94672,
      PR libstdc++/92978, PR libstdc++/96851, PR target/96357 (AArch64),
      PR fortran/95109, PR fortran/94690.
  * Update libasan and libgfortran symbols files.
  * Replace the libstdc++ symbols file on armel with one based on
    symbol versions (versions different than for other architectures).
    Closes: #954954.

gcc-10 (10.2.0-6ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-10 (10.2.0-6) unstable; urgency=medium

  * Update to git 20200831 from the gcc-10 branch.
    - Fix PR target/96744 (x86), PR target/94538 (ARM), PR middle-end/87256,
      PR tree-optimization/96722, PR tree-optimization/96758,
      PR target/95450, PR tree-optimization/96535, PR c/96549, PR fortran/93553,
      PR middle-end/96459, PR tree-optimization/96730, PR ipa/95320,
      PR target/96682 (ARM), PR target/96506 (PPC), PR target/96536 (x86),
      PR target/96562 (x86), PR target/93897 (x86), PR lto/95362,
      PR lto/95548, PR c/96545, PR c++/96497, PR c++/95428, PR c++/96199,
      PR c++/96106, PR c++/96164, PR d/96157, PR d/96250, PR d/96254,
      PR d/96301, PR fortran/95882, PR fortran/96486, PR fortran/93553,
      PR middle-end/96459, PR libstdc++/71960, PR libstdc++/96766,
      PR libstdc++/96718, PR target/96493 (PPC), PR ipa/96482, PR ipa/96291,
      PR target/96243 (x86), PR target/96530 (PPC), PR target/96446 (PPC),
      PR c++/96106, PR c++/96164, PR fortran/96312, PR libstdc++/89760,
      PR libstdc++/95749.
  * Disable go on sh4. Closes: #969221.
  * Update patch for CUDA and __float128. Closes: #968672.

gcc-10 (10.2.0-5ubuntu2) groovy; urgency=medium

  * Regenerate the control file.

gcc-10 (10.2.0-5ubuntu1) groovy; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

 -- Matthias Klose <doko at ubuntu.com>  Sat, 29 May 2021 09:49:27 +0200

** Changed in: gcc-10 (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1894166

Title:
  libasan missing debug symbols break debugging

Status in gcc-10 package in Ubuntu:
  Fix Released
Status in gcc-9 package in Ubuntu:
  Fix Released
Status in gcc-10 source package in Focal:
  Fix Released
Status in gcc-10 source package in Groovy:
  Fix Released
Status in gcc-9 source package in Groovy:
  Fix Committed

Bug description:
  By default, all symbols are missing from libasan binary that is
  installed with this package. This, among other things, effectively
  breaks debugging with gdb (and LLDB , but that doesn't matter).

  To be able to catch ASAN errors in GDB , one would break on
  "__sanitizer::Die" and go from there, but without symbols, this won't
  work. Other tools rely on symbol lookups to determine instrumentation
  presence , which would fail in this case as well.

  For example, without libasan5-dbgsym  installed:

  (gdb) break __sanitizer::Die
  Function "__sanitizer::Die" not defined.
  Make breakpoint pending on future shared library load? (y or [n]) y
  Breakpoint 1 (__sanitizer::Die) pending.
  (gdb) r
  ...
  ASAN REPORT
  ...
  ==1802381==ABORTING
  [Inferior 1 (process 1802381) exited with code 01]

  However, with libasan5-dbgsym installed:

  (gdb) break __sanitizer::Die
  Breakpoint 1 at 0x7ffff76bc200: file ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cc, line 49.
  (gdb) r
  ...
  ASAN REPORT
  ...
  ==1805058==ABORTING

  Breakpoint 1, __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cc:49
  49      ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cc: No such file or directory.
  (gdb) bt
  #0  __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cc:49
  #1  0x00007ffff769d8ec in __asan::ScopedInErrorReport::~ScopedInErrorReport (this=0x7fffffffd156, __in_chrg=<optimized out>)
      at ../../../../src/libsanitizer/asan/asan_report.cc:185
  #2  0x00007ffff769d363 in __asan::ReportGenericError (pc=93824992236075, bp=bp at entry=140737488346576, sp=sp at entry=140737488346560, addr=106034152603909,
      is_write=is_write at entry=false, access_size=access_size at entry=1, exp=0, fatal=true) at ../../../../src/libsanitizer/asan/asan_report.cc:192
  #3  0x00007ffff769de4b in __asan::__asan_report_load1 (addr=<optimized out>) at ../../../../src/libsanitizer/asan/asan_rtl.cc:116
  #4  0x000055555555522b in main ()
  (gdb)

  
  In this example, it's fairly obvious that missing symbols will prevent one to put a breakpoint on __sanitizer::Die , but as I mentioned, checks in other tools would fail silently and the issue isn't immediately traceable back to missing symbols. 

  Since AddressSanitizer is primarily used for debugging anyway, would
  it make sense to have libasan with symbols by default?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/1894166/+subscriptions



More information about the foundations-bugs mailing list