View Issue Details

IDProjectCategoryView StatusLast Update
0017860CentOS-8gccpublic2020-11-16 18:07
Reporternlescoua 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentos8OS VersionAppStream
Product Version8.2.2004 
Target VersionFixed in Version 
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-11-16 18:07 nlescoua New Issue