From nobody Thu Feb 29 15:40:40 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TlwRD4L4Rz5CNyT for ; Thu, 29 Feb 2024 15:40:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlwRD1V4Mz4qjk for ; Thu, 29 Feb 2024 15:40:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709221240; a=rsa-sha256; cv=none; b=HjTRqlIiyEf0HjrchQWRJNhoNhwkwk17U261iGkPiYFS6vcNNclvVyAUWhAhGyGBSNfRJx 5cfDMQ4lhgEQ2m/uxpV8stEfLJJm6HY7fnKl4wRMeMIqjQDMYG4/EUVCiYPW8XqSNyLQk7 DHAm4GhxsNk5x+s8L11yWEKg3yOeVeO3cBYDybHYlWGMGDFShLMnKQWfcf9C8z0i/WN9BG 2IgYWY1rE5Y0YG6fe3dh4lmhzVyCea11nTX8g8KgKyvQtrON2KptuhUXCdu5QaBoLRkGUf l26ARBnnZAZh9uhrj9KY7lso6BCq7TzuZ/96WMS6n880LPqnMZRhmadboq5OUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709221240; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8z7Mk0F/k4j/fxwTujPy2bSPXfMBugJGgc76U/Hzp7Y=; b=TNgP4kekTZu4EGdBBkXrdxBOWJxgdv05Pksz14MJVAUZ+sVLuIuLZCTFDfzw1ULQqCaQMI LoSf9HVbntGXAErONlHarWbTAo21QRL581IpJRU6G3R+Z6mKrXtVJvTis/28YZa6hC8Ads NECK/BoUD1kBdvJJ491mOLvlEXfX6BWHtrQA4T9RoaqljAQI6WmkLfkdhra94KOqbPnzyQ 03QJE1MEufU96/zLztEmuwJ0qup2qqH0uo61eFKOfYSCN3FHbE9uozYtosFTE8xHzy9lQg gbavlQ6ZD0JX0H9p7AiutPaW9lp0x4VMto8iGgKT/IrEksOnoclQujOtzlkYhw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TlwRD1695znX2 for ; Thu, 29 Feb 2024 15:40:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41TFeeYO006327 for ; Thu, 29 Feb 2024 15:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41TFeeAv006326 for bugs@FreeBSD.org; Thu, 29 Feb 2024 15:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277393] Linking fails with sanitizers Date: Thu, 29 Feb 2024 15:40:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hartmut.brandt@dlr.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277393 Bug ID: 277393 Summary: Linking fails with sanitizers Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: hartmut.brandt@dlr.de The introduction of libsys makes linking with sanitizers fail. Try: # cat main.cc int main() { } # c++ -fsanitize=3Daddress main.cc ld: error: undefined symbol: __elf_aux_vector >>> referenced by sanitizer_linux_libcdep.cpp:950 (/usr/src/contrib/llvm-pr= oject/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:950) >>> sanitizer_linux_libcdep.o:(__sanitizer::ReExec()) in arch= ive /usr/lib/clang/17/lib/freebsd/libclang_rt.asan-x86_64.a c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) Same with cc. This is on: FreeBSD 15.0-CURRENT FreeBSD 15.0-CURRENT #2 main-n268536-8db56defa766: Mon= Feb 26 09:32:31 CET 2024 --=20 You are receiving this mail because: You are the assignee for the bug.=