From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by sourceware.org (Postfix) with ESMTPS id 070EB3857C5D for ; Fri, 22 Jul 2022 12:29:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 070EB3857C5D Received: by mail-oi1-x22d.google.com with SMTP id bb16so5393235oib.11 for ; Fri, 22 Jul 2022 05:29:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fNFKSyVtbYaecD+Mg6YzsirIoMgygs5I7Jc43LExwoE=; b=XEMnPtKpdY5jjiynZr5tdFqzVAXgY5HIT5FkwGlZZUDvDTxTWJGOUyKEjSKFxa9mub ahsrm/QPXyzzfccVXYgTJM7cuuDol+jGjtqKvrvwaLyNDSjbwHTcfVdbPYv3VUDtrvT/ MeB4vYIe2Jh9WL8O9bJnUeHrbnOyrBUcbvmh5E17J4+SxcKaKlT/ecOt/n0Iz1JuN2cS y1b82+kEkvmRmFaoIGfTReiz6A1r5pJWIXkT/oRmg6ksgKgIRYI2W5qWEaThLXurNcDC tm7YQxZrt7iaYPNuHOeXf0PRm4C2nbjQOhZHN/V+22YE/6ApOLZ9j5m2tdtvSyzv/cA7 KWEQ== X-Gm-Message-State: AJIora+G2LJNFUGH0DYtcHi9oC86Si+z1Lw0lpmbY3xTdmRoJzAAO6Ob a+MQQPDxsBtOSB++heC3UJJgJUj/VL6LGQdMsFPiHMxCCo0BhA== X-Google-Smtp-Source: AGRyM1uSjNY8rFM69qA7so2eRXIU+YR9wUeldq9r/k9EskuP0ZFMUeL+5GUM79e67D6R6vwv5mArqW6LP+zRy55yyiM= X-Received: by 2002:a05:6808:1416:b0:337:e23b:1d3c with SMTP id w22-20020a056808141600b00337e23b1d3cmr6844589oiv.111.1658492961408; Fri, 22 Jul 2022 05:29:21 -0700 (PDT) MIME-Version: 1.0 References: <7a39bd41-ac93-85ac-e046-965417f28e7e@suse.com> In-Reply-To: From: Sim Tov Date: Fri, 22 Jul 2022 15:29:09 +0300 Message-ID: Subject: Re: Cross-compilation related bug To: Alan Modra Cc: Jan Beulich , binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2022 12:29:23 -0000 Thank you, Alan, for your response! Luca has provided some important information on this issue: https://sourceware.org/bugzilla/show_bug.cgi?id=29389#c2 1. Do you still need some more input on this? 2. Is there a chance that the fix for this will enter the version 2.39? Thank you! On Fri, Jul 22, 2022 at 6:05 AM Alan Modra wrote: > > On Thu, Jul 21, 2022 at 09:40:35PM +0300, Sim Tov via Binutils wrote: > > If you don't have a Windows machine to install MSYS2: > > > > https://www.msys2.org/ > > > > We would be more than happy to follow your instructions in a live > > session (e.g. via IRC, etc) and provide you > > with the outputs, logs, screenshots and screen sharing... > > I'm sorry, the reality is that trying to debug remotely is extremely > time consuming and frustrating for everyone involved. > > > > But maybe one, who is familiar with the internals of binutils, can > > > guess what is wrong, being provided with the file names and lines: > > > > > > binutils-gdb/bfd/cofflink.c:2279 > > > binutils-gdb/bfd/coff-x86_64.c:696 > > All that says to me is "something went wrong", likely long before > the assertions triggered. > > If you expect someone to look at your bug, you need to package up a > set of object files so that someone can reproduce the problem by > running the linker on an entirely different machine. Note that the > inputs to the linker are needed, not source files. We don't want to > and can't debug your compiler for you.. That means *all* the inputs > to ld, so system libraries too. Please do test that what you package > up is a complete testcase, by running a cross-linker on a non-windows > machine. > > -- > Alan Modra > Australia Development Lab, IBM