[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989205: gcc-11: update libasan symbols for riscv64



Source: gcc-11
Version: 10.2.1-6
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

The libasan symbols do not match on riscv64 at present. Wrong symbols do
not presently abort a native build, which is why it appears successful
on the buildds. riscv64 is incorrectly recognized as a 32bit
architecture. Please consider applying the attached patch to fix the
symbols and the detection method.

Helmut
--- a/debian/libasan6.symbols
+++ b/debian/libasan6.symbols
@@ -1,7 +1,7 @@
 libasan.so.6 libasan6 #MINVER#
 #include "libasan.symbols.common"
-(arch=!arm64 !alpha !amd64 !ia64 !mips64el !ppc64 !ppc64el !s390x !sparc64 !kfreebsd-amd64)#include "libasan.symbols.32"
-(arch=arm64 alpha amd64 ia64 mips64el ppc64 ppc64el s390x sparc64 kfreebsd-amd64)#include "libasan.symbols.64"
+(arch-bits=32)#include "libasan.symbols.32"
+(arch-bits=64)#include "libasan.symbols.64"
 (arch=armel armhf sparc64 x32)#include "libasan.symbols.16"
 # these are missing on some archs ...
  (arch=!s390x)__interceptor___tls_get_addr@Base 5


Reply to: