From nobody Fri Mar 3 02:05:39 2023 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 4PSWXN0WbDz3wWbC for ; Fri, 3 Mar 2023 02:05: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 4PSWXM5ft9z3GDn for ; Fri, 3 Mar 2023 02:05:39 +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=1677809139; 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=hAiij3BAmvJ3V2dT+ncqTBL0D9WEj19lPCcJ+bgja/8=; b=p8PHbAvhT75MpkhAgMi5lBR5GaDdmz10vvgQAsbkLU+J0xiB5zsiP1VbK8AoApO0rXp7bo hrffLRyf27nb2bqwwStDLzkH8SbXizuh04K8pq7m8YfRs23MPyNkSgSVd5/Rq0YbewyZeg iwEWNjLmMED3ABN9290kh9oWqlKx1ym9KkSxaknpuRuV/3atq/PqS/V63H1FhSzupKok6r dalL/JeG78ViKmEU+ZiQJOHKFbklUjMmJVe3I/moMOs1f+OFCl2IMhl1LGvqXusLv1pDN9 g60mzgN9faFFiq1KyXG4nlzmuG+NfQ1/YtkKvLnJXqMEZB1m2Iw4mSS9a+QFMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677809139; a=rsa-sha256; cv=none; b=Uil9yHNdgCb3VfXSKgDKWIA4wMKwWdtynsQ6LjqHQMenHFIG7VnVkpuSBIP4w5ocyx6ECI v/7I0OzNU1QHXnkwVNHVaSrmlyIbnPGmZ606yVxzxHGa7r8vtgIxmvv3pfVf2b8R03Ar6L 5SZ22ux1enTyb/cGF+IPW06wjMiZ1tP646m2ZXQEx5Pw44q7F/Pc3RIZIFRla4GMPFcEuU E+Z38EkiwVjvkgXGEpFNAmHz1bOQy70d+3DGxggtvtPUC7dNnX+hOS0CYl1oTiQglC2OIb z2w8MOIPKl/oK270P0NXrsvmHGdFl5nbX4hJHJIXlVXqM4fAI1EnSnclnVlAJg== 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 4PSWXM4cxczgHB for ; Fri, 3 Mar 2023 02:05:39 +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 32325drD067497 for ; Fri, 3 Mar 2023 02:05:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32325dnw067496 for bugs@FreeBSD.org; Fri, 3 Mar 2023 02:05:39 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 269928] ctfconvert errors should be fatal Date: Fri, 03 Mar 2023 02:05:39 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269928 Bug ID: 269928 Summary: ctfconvert errors should be fatal Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: markj@FreeBSD.org ctfconvert has long contained a FreeBSD-specific hack to downgrade various errors into warnings. CTFv3 has eliminated much of the need for this hack,= so it should be revisited since it causes problems when cross-building FreeBSD= on MacOS and Linux. For instance, in a riscv kernel objdir: markj@nuc> readelf -S exception.o | grep -A1 debug_info [ 7] .debug_info PROGBITS 0000000000000000 00000288 0000000000000185 0000000000000000 0 0 1 [ 8] .rela.debug_info RELA 0000000000000000 00000a80 00000000000000d8 0000000000000018 I 14 7 8 markj@nuc> ctfconvert -L VERSION -g exception.o=20 ERROR: ctfconvert: failed to get offset for die: Invalid argument [dwarf_dieoffset(261)] markj@nuc> readelf -wi exception.o Dump of debug contents of section .debug_info: readelf: could not find DW_TAG_compile_unit die readelf: could not find DW_TAG_compile_unit die readelf: could not find DW_TAG_compile_unit die readelf: could not find DW_TAG_compile_unit die readelf: could not find DW_TAG_compile_unit die but binutils readelf can handle it fine, so this is some bug or missing functionality in libdwarf. Such a problem should cause a build failure. --=20 You are receiving this mail because: You are the assignee for the bug.=