Cannot find gcc-debuginfo.x86_64 package

Issues related to applications and software problems
Post Reply
fdumoulin
Posts: 2
Joined: 2017/08/04 11:05:35

Cannot find gcc-debuginfo.x86_64 package

Post by fdumoulin » 2017/08/04 11:24:39

Hi,

Trying to analyse OpenMP regions using Intel VTune Amplifier, I follow the prerequisites on this page https://software.intel.com/en-us/node/712270.

libgomp.so.1.0.0 doesn't contains any symbol so I tried to install gcc-debuginfo.x86_64, but I got the following message :

Code: Select all

$ yum install gcc-debuginfo.x86_64
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.fr.planethoster.net
 * epel: ftp.heanet.ie
 * extras: centos.mirror.fr.planethoster.net
 * updates: centos.mirror.fr.planethoster.net
No package gcc-debuginfo.x86_64 available.
Error: Nothing to do
How can I get debug information on my Centos 7.3 ?

Thanks,
Fred

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot find gcc-debuginfo.x86_64 package

Post by TrevorH » 2017/08/04 15:20:44

Code: Select all

# debuginfo-install gcc
Loaded plugins: priorities
...
--> Running transaction check
---> Package gcc-debuginfo.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: gcc-base-debuginfo = 4.8.5-11.el7 for package: gcc-debuginfo-4.8.5-11.el7.x86_64
---> Package glibc-debuginfo.x86_64 0:2.17-157.el7_3.5 will be installed
--> Processing Dependency: glibc-debuginfo-common = 2.17-157.el7_3.5 for package: glibc-debuginfo-2.17-157.el7_3.5.x86_64
---> Package gmp-debuginfo.x86_64 1:6.0.0-12.el7_1 will be installed
---> Package libmpc-debuginfo.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr-debuginfo.x86_64 0:3.1.1-4.el7 will be installed
---> Package yum-plugin-auto-update-debug-info.noarch 0:1.1.31-40.el7 will be installed
---> Package zlib-debuginfo.x86_64 0:1.2.7-17.el7 will be installed
--> Running transaction check
---> Package gcc-base-debuginfo.x86_64 0:4.8.5-11.el7 will be installed
---> Package glibc-debuginfo-common.x86_64 0:2.17-157.el7_3.5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================
 Package                                      Arch              Version                     Repository                 Size
============================================================================================================================
Installing:
 gcc-debuginfo                                x86_64            4.8.5-11.el7                base-debuginfo            195 M
 glibc-debuginfo                              x86_64            2.17-157.el7_3.5            base-debuginfo            9.3 M
 gmp-debuginfo                                x86_64            1:6.0.0-12.el7_1            base-debuginfo            803 k
 libmpc-debuginfo                             x86_64            1.0.1-3.el7                 base-debuginfo            206 k
 mpfr-debuginfo                               x86_64            3.1.1-4.el7                 base-debuginfo            570 k
 yum-plugin-auto-update-debug-info            noarch            1.1.31-40.el7               base                       26 k
 zlib-debuginfo                               x86_64            1.2.7-17.el7                base-debuginfo            244 k
Installing for dependencies:
 gcc-base-debuginfo                           x86_64            4.8.5-11.el7                base-debuginfo            2.9 M
 glibc-debuginfo-common                       x86_64            2.17-157.el7_3.5            base-debuginfo            9.4 M

Transaction Summary
============================================================================================================================
Install  7 Packages (+2 Dependent packages)

Total download size: 218 M
Installed size: 1.0 G
Is this ok [y/d/N]:
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

fdumoulin
Posts: 2
Joined: 2017/08/04 11:05:35

Re: Cannot find gcc-debuginfo.x86_64 package

Post by fdumoulin » 2017/08/17 14:01:51

Hi,

I've ran th `debuginfo-install gcc` command successfully, but I still don't get any symbols in debuginfo-install gcc :

Code: Select all

$ sudo debuginfo-install gcc
....
Package gcc-debuginfo-4.8.5-11.el7.x86_64 already installed and latest version
Package glibc-debuginfo-2.17-157.el7_3.4.x86_64 already installed and latest version
Package gcc-debuginfo-4.8.5-11.el7.x86_64 already installed and latest version
Package 1:gmp-debuginfo-6.0.0-12.el7_1.x86_64 already installed and latest version
Package gcc-debuginfo-4.8.5-11.el7.x86_64 already installed and latest version
Package libmpc-debuginfo-1.0.1-3.el7.x86_64 already installed and latest version
Package mpfr-debuginfo-3.1.1-4.el7.x86_64 already installed and latest version
Package zlib-debuginfo-1.2.7-17.el7.x86_64 already installed and latest version
No debuginfo packages available to install
$ nm /usr/lib/gcc/x86_64-redhat-linux/4.8.2/libgomp.so
nm: /usr/lib/gcc/x86_64-redhat-linux/4.8.2/libgomp.so: no symbols
Is there anything else to do ?

Thanks,
Fred

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot find gcc-debuginfo.x86_64 package

Post by TrevorH » 2017/08/17 14:06:04

Debuginfo packages give you separate files like /usr/lib/debug/usr/lib/gcc/x86_64-redhat-linux/4.8.2/libgomp.so.debug
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply