Re: [hatari-devel] memory setup segfault

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


I think hatari cmake tells me ASAN is not available, but I think it compiled anyway.


laurent@laurent-Gamer:~/Atari/hatari/build$ cmake  -D ENABLE_ASAN:BOOL=1  ..
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Performing Test ASAN_AVAILABLE
-- Performing Test ASAN_AVAILABLE - Failed



Le 06/11/2023 à 23:26, Eero Tamminen a écrit :
Hi,

On 6.11.2023 23.21, Nicolas Pomarède wrote:
Le 06/11/2023 à 22:13, Laurent Sallafranque a écrit :
I don't find this package (sorry for the disturb)

laurent@laurent-Gamer:~/Atari/hatari/build$ sudo apt-get install libasan8 libasan8                libasan8-armel-cross libasan8-powerpc-cross libasan8-riscv64-cross libasan8-x32-cross libasan8-amd64-cross    libasan8-armhf-cross libasan8-ppc64-cross libasan8-s390x-cross libasan8-arm64-cross    libasan8-i386-cross libasan8-ppc64el-cross libasan8-sparc64-cross

I'm not an expert of this, thanks for your help (and patience ;)


I don't have ubuntu distro right now, but maybe try this :

apt-cache search libasan |grep devel

(maybe it's not libasan8-devel, but libasan-devel)

Only RPM development packages are names as *-devel, Debian / Ubuntu development packages are named as *-dev.

However, I do not see any development package for libasan*, and ASAN option works fine for me without any libasan*-dev* package being installed, I just have libasan6 (for GCC11) & libasan8 (for GCC12).



    - Eero





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/