From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by sourceware.org (Postfix) with ESMTPS id 736753857351 for ; Thu, 29 Sep 2022 18:30:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 736753857351 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f51.google.com with SMTP id e10-20020a05600c4e4a00b003b4eff4ab2cso3730728wmq.4 for ; Thu, 29 Sep 2022 11:30:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date; bh=+FbutP360FbGzdsLfWL1EFeaXFr+kWNFXLUTV05f+ww=; b=Z0dT7311+CqPVCmrv2Z/MAmh/ti6edDewL7ES00lL2H7OgG7MQmYj0lldT6SQ7qUv+ /PVGCKXNn+HoAewrJKQgMjvEPc4Cy5RMLhIq96A9/JP0nj7fC4dJJbcWcLorrnNXX5qS jT+Z/26WoFDRYGROaHt98hihsSA4VjkTjP4AoS2hoG8eqvu6ePwCAQMkEpkY3ajcPAdZ eUWzFes3gVb3st59Oupc+C52OnGnFWpOW3y5mAMQ42K5H9AayKjhy/K1Zph+yPU2hhZ4 0CAgo+QKoSjL9iCe1lINNpEObPsShF6vdi/UCkkHemGUhu0kVrQbionfbTeYDEDAjcwZ w1yg== X-Gm-Message-State: ACrzQf3aGvCAWXsGBG6H9ZpbJvV8YpU3JzmIVtLFfUOpfqoi1YxseYoe M5tZuFgnA66wa+P2umFVDeQk178ZTk+x5w== X-Google-Smtp-Source: AMsMyM4GwZKMOB8jCTisqW/q38VunOj3yjpkf5JA1DPa/kP0J3AZzm6klOO2NR9dQ+4Rr45YA7/rqw== X-Received: by 2002:a05:600c:a195:b0:3b4:fc79:f778 with SMTP id id21-20020a05600ca19500b003b4fc79f778mr11659419wmb.177.1664476202642; Thu, 29 Sep 2022 11:30:02 -0700 (PDT) Received: from ?IPv6:2001:8a0:f93a:3b00:e038:5cdc:b8bf:4653? ([2001:8a0:f93a:3b00:e038:5cdc:b8bf:4653]) by smtp.gmail.com with ESMTPSA id bv7-20020a0560001f0700b0022cdbc76b1bsm50901wrb.82.2022.09.29.11.30.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 11:30:01 -0700 (PDT) Subject: Re: [PATCH] Fix GDB build: ELF support check & -lzstd (was: Re: [PATCH v3] binutils, gdb: support zstd compressed debug sections) To: Fangrui Song Cc: Simon Marchi , Tom Tromey , Fangrui Song via Gdb-patches References: <20220923040837.550160-1-maskray@google.com> <87o7v0zo4b.fsf@tromey.com> <20220928193019.kwzmnaugpuoayaaw@google.com> From: Pedro Alves Message-ID: <4b71be27-2dee-f839-b067-18faa28cb3b9@palves.net> Date: Thu, 29 Sep 2022 19:30:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20220928193019.kwzmnaugpuoayaaw@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2022 18:30:07 -0000 On 2022-09-28 8:30 p.m., Fangrui Song wrote: > Thanks for the fix!  I probably missed this because I use lld as the > system linker and its archive semantic is more tolerant without --warn-backrefs... Aaaaah, cool. I was wondering why more people weren't seeing this! I stumbled on this with GNU ld.