Bug 36046 - does not provide libcc1.so
Summary: does not provide libcc1.so
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gcc8-gdb-plugin (show other bugs)
Version: unstable
Hardware: all Linux
: P3 major
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-06 02:20 MSK by Dmitry V. Levin
Modified: 2019-08-06 10:47 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry V. Levin 2019-02-06 02:20:06 MSK
$ apt-cache showpkg 'libcc1.so.0()(64bit)'
Package: libcc1.so.0()(64bit)
Versions: 

Reverse Depends: 
Dependencies: 
Provides: 
Reverse Provides: 
gcc8-gdb-plugin 8.2.1-alt3
gcc7-gdb-plugin 7.3.1-alt7
gcc6-gdb-plugin 6.3.1-alt3.1
gcc5-gdb-plugin 5.3.1-alt5.1

There should be only one provider of libcc1.so.0.
Comment 1 Dmitry V. Levin 2019-06-16 13:54:42 MSK
Actually, gdb looks for libcc1.so using dlopen (see GCC_C_FE_LIBCC),
not for libcc1.so.* packaged by gccN-gdb-plugin.

libcc1.so packaged by gccN-gdb-plugin-devel are also useless because of the wrong location.

As result, "compile code" feature of gdb fails with the following diagnostics:
Could not load libcc1.so: libcc1.so: cannot open shared object file: No such file or directory
Comment 2 Repository Robot 2019-08-06 10:47:00 MSK
gcc8-8.3.1-alt5 -> sisyphus:

Mon Aug 05 2019 Gleb F-Malinovskiy <glebfm@altlinux> 8.3.1-alt5
- Applied upstream fix for PR 89906 (closes: #36972).
- Removed versioning of lib{cc1,cc1plugin,cp1plugin} libraries
  (closes: #36046).

Tue May 07 2019 Dmitry V. Levin <ldv@altlinux> 8.3.1-alt4
- Updated to redhat/gcc-8-branch r270976 (Fedora gcc-8.3.1-4).