View Issue Details

IDProjectCategoryView StatusLast Update
0017860CentOS-8gccpublic2021-01-27 18:22
Reporternlescoua Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentos8OS VersionAppStream
Product Version8.2.2004 
Summary0017860: libasan.so.6 missing from gcc-toolset-10
Descriptiongcc-toolset-10 set of packages is mising a package (libasan6) which has been compiled but not made available on AppStream.
https://koji.mbox.centos.org/koji/buildinfo?buildID=13124

As a consequence, /opt/rh/gcc-toolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/libasan.so reference /usr/lib64/libasan.so.6 which is not installed/available, and asan cannot be used with gcc-toolset-10
Steps To Reproducesudo dnf install centos-release-stream
sudo dnf install gcc-toolset-10-gcc-c++
sudo dnf install gcc-toolset-10-gcc-libasan-devel
source /opt/rh/gcc-toolset-10/enable
echo "int main(void) {}" > t.c
gcc -fsanitize=address -lasan t.c

Output:
/bin/ld: cannot find /usr/lib64/libasan.so.6
/bin/ld: cannot find /usr/lib64/libasan.so.6
collect2: error: ld returned 1 exit status
TagsNo tags attached.

Activities

dbrendel

dbrendel

2021-01-25 10:14

reporter   ~0038197

Also built but missing:
- elfutils
- gcc-c++
- libquadmath-devel
- libstdc++-devel
- gcc-gfortran

Not built compared to gcc-toolset-9
- annobin
- dwz
- ltrace
- make
- perftools

Issue History

Date Modified Username Field Change
2020-11-16 18:07 nlescoua New Issue
2021-01-25 10:14 dbrendel Note Added: 0038197