From nobody Sat Jan 27 15:48:47 2024 X-Original-To: toolchain@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 4TMf9q48XVz58Rtb for ; Sat, 27 Jan 2024 15:48:47 +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 4TMf9q2FpQz4Q3V for ; Sat, 27 Jan 2024 15:48:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706370527; 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: in-reply-to:in-reply-to:references:references; bh=Asl4g3sT54zJWtgdAaDfbp1o8cO2pDR9Cg/3chd2vhc=; b=HHrpp2dwA4VKetOyug4h/M+Mpyqfl9VwDw1cyVEkRkRbg5NZPaCMBKcjfGxvgIc+eofx97 Amv5zoFHOR/KLYUw6Q0mFjA1eXhS3siqzoW5zexA/S2jAc9UTYYPRYtyiF1MwCeZ5Gbjk5 d9dP2ux9XuXluD9taHcWcIBYXTkKXr6SESKHLWQ67bCtR31qcKLcEc6FahSHkyM57+QcE9 zHI0IajeUNpz52H4gHAz/RsIENKKJXlaLlJo5okMLE7hdp4Z9k96AulisPh+UXK0owkhQs MlhxmxmJe2E9F1Kek+8hcv8xm6E4moBl4cwPU9Wcs97WPwLnpGE+WAx/BbsIeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706370527; a=rsa-sha256; cv=none; b=mVXZ8wYIFBFbFly+KSk+9As7vupcLq5F2NvJ6GB0ab+zGCMr2XHhBGs8JKxjWt/PbKvaUs Uya0mEirPxIV+eNUIyHhH28vQAgjPz5SnG+WydDJT6MA6/dAGL4wgSsq4eZuvmz7GzHpCs 4k+V6hH0N48h9pRpfNDe32/6LQzofSGvb3QrTe1yQdodCG4o6QbMTJ2PcUpYjzmBL5iK4Y y688qHVL0m15uXYCRuCthsese2sHWiWS2m1ptmzLdtTFzQogf/DTMBGxt2qbIUegkhsmF/ HIFoE9BKR/ApMvJt/ZCgt2rdUNQI7hjERN5YYI58xhAMyXjQDlgdFmPB2lxN6w== 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 4TMf9q1K2xzW5G for ; Sat, 27 Jan 2024 15:48:47 +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 40RFml6B020306 for ; Sat, 27 Jan 2024 15:48:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40RFmlsn020305 for toolchain@FreeBSD.org; Sat, 27 Jan 2024 15:48:47 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: toolchain@FreeBSD.org Subject: [Bug 276597] cannot build world with WITH_ASAN configured Date: Sat, 27 Jan 2024 15:48:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276597 --- Comment #5 from Dimitry Andric --- (In reply to Mark Johnston from comment #4) The optimization to avoid building some cpp files works often, but not alwa= ys, due to subtle reasons. In some cases, if you turn on debug information, or change optimization levels, previously unreferenced symbols now do get referenced. In any case, I'm getting different errors here: --- all_subdir_libexec --- ld: error: undefined symbol: __asan_option_detect_stack_use_after_return >>> referenced by reloc.c:64 (/home/dim/src/freebsd/src/libexec/rtld-elf/am= d64/reloc.c:64) >>> reloc.o:(do_copy_relocations) >>> referenced by reloc.c:129 (/home/dim/src/freebsd/src/libexec/rtld-elf/a= md64/reloc.c:129) >>> reloc.o:(reloc_non_plt) >>> referenced by reloc.c:361 (/home/dim/src/freebsd/src/libexec/rtld-elf/a= md64/reloc.c:361) >>> reloc.o:(reloc_jmpslots) >>> referenced 53 more times ld: error: undefined symbol: __asan_stack_malloc_1 >>> referenced by reloc.c:64 (/home/dim/src/freebsd/src/libexec/rtld-elf/am= d64/reloc.c:64) >>> reloc.o:(do_copy_relocations) >>> referenced by rtld.c:1976 (/home/dim/src/freebsd/src/libexec/rtld-elf/r= tld.c:1976) >>> rtld.o:(find_symdef) >>> referenced by rtld.c:4028 (/home/dim/src/freebsd/src/libexec/rtld-elf/r= tld.c:4028) >>> rtld.o:(dlvsym) >>> referenced 10 more times ld: error: undefined symbol: __asan_report_load8_noabort >>> referenced by reloc.c:70 (/home/dim/src/freebsd/src/libexec/rtld-elf/am= d64/reloc.c:70) >>> reloc.o:(do_copy_relocations) >>> referenced by reloc.c:70 (/home/dim/src/freebsd/src/libexec/rtld-elf/am= d64/reloc.c:70) >>> reloc.o:(do_copy_relocations) >>> referenced by reloc.c:72 (/home/dim/src/freebsd/src/libexec/rtld-elf/am= d64/reloc.c:72) >>> reloc.o:(do_copy_relocations) >>> referenced 1769 more times in stage 4.4: building everything. --=20 You are receiving this mail because: You are the assignee for the bug.=