Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2023 19:59:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNzU4OTJdIEFkZGluZyAtZnNhbml0aXplPWZ1enplcixh?= =?UTF-8?B?ZGRyZXNzIG9uIG1haW4tYW1kNjQtZGVmYXVsdCBjYXVzZXMgdGhlIGxpbmsg?= =?UTF-8?B?ZmFpbHVyZTogbGQ6IGVycm9yOiB1bmRlZmluZWQgc3ltYm9sOiBfX3Nhbml0?= =?UTF-8?B?aXplcjo6VGhyZWFkQXJnUmV0dmFsOjpHZXRBbGxQdHJzTG9ja2VkKF9fc2Fu?= =?UTF-8?B?aXRpemVyOjpJbnRlcm5hbE1tYXBWZWN0b3I8dW5zaWduZWQgbG9uZz4qKQ==?=
Message-ID:  <bug-275892-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275892

            Bug ID: 275892
           Summary: Adding -fsanitize=fuzzer,address on main-amd64-default
                    causes the link failure: ld: error: undefined symbol:
                    __sanitizer::ThreadArgRetval::GetAllPtrsLocked(__sanit
                    izer::InternalMmapVector<unsigned long>*)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

The port www/wabt (version 1.0.33_1) builds the executable wasm2wat-fuzz with
-fsanitize=fuzzer,address.

The build fails on main-amd64-default:

> /usr/bin/c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wold-style-cast -fno-exceptions -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -fstack-protector-strong -L/usr/local/lib    -fsanitize=fuzzer,address CMakeFiles/wasm2wat-fuzz.dir/src/tools/wasm2wat-fuzz.cc.o -o wasm2wat-fuzz  -Wl,-rpath,/wrkdirs/usr/ports/www/wabt/work/.build:  libwabt-fuzz.so  libwabt.so  /usr/lib/libcrypto.so && :
> ld: error: undefined symbol: __sanitizer::ThreadArgRetval::GetAllPtrsLocked(__sanitizer::InternalMmapVector<unsigned long>*)


Log:
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p95fa05afac27_seac3646fcd/logs/wabt-1.0.33_1.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275892-227>