From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by sourceware.org (Postfix) with ESMTPS id D59A43858D3C for ; Fri, 11 Mar 2022 16:24:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D59A43858D3C Received: by mail-io1-xd32.google.com with SMTP id x4so10620508iom.12 for ; Fri, 11 Mar 2022 08:24:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rH6azBsLhJSz1H4XfYtXFBVxhvGuXRRx5GyF69E2mxQ=; b=diwnDnbLlZVBAYfBM30FlfWZ/X0nVZC1n/HWF0PrFcK5GE8qBSz8gt3olIRaPIuqYt yN7vkdB/n9MY9YqSeIH+L6nswMcRRwXRHn1miUJ35xYsZgiWIWxvIaJfZ9X6+uDjFF4I gFAl7MI8UWDmzl+dnZjeDkkDU/LgfLnlFECzdvqH3/JS/fs+873weQw3bLHkHZUqCgDo lSEP6DzhuW7y9gd/HX9/EJUljO5Tb5409yvTO8K8fB3oGblGRbwPZbrOEhxIhNBbCm3H +4uePkKxOMfKvQ6l6+XjpWX4YeZLN/7GVGPBAlyZIc8f+4KFuni3f6sv1IBY/a9afZMx p+eQ== X-Gm-Message-State: AOAM533uizx5p7iDSodfUyLxWIEKJc8pmV5yqMjwHy2j/dEA8xKaEnWG Bt1pKxVaH1bHthmWML1iJPXbJQ== X-Google-Smtp-Source: ABdhPJzYaOFxnS8LfkMwnw+Y1lx1farNZJrJU/ZcpAAV8vvQN6fq9o6mDWHkii5+M81ZkmVw3y8cTA== X-Received: by 2002:a05:6638:2402:b0:317:b534:2b8c with SMTP id z2-20020a056638240200b00317b5342b8cmr8946424jat.60.1647015860985; Fri, 11 Mar 2022 08:24:20 -0800 (PST) Received: from murgatroyd (75-166-141-253.hlrn.qwest.net. [75.166.141.253]) by smtp.gmail.com with ESMTPSA id o6-20020a056e02188600b002c61b4fef99sm4915894ilu.1.2022.03.11.08.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 08:24:20 -0800 (PST) From: Tom Tromey To: John Baldwin Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH] Avoid crash with cross-linux core file References: <20211215183319.597782-1-tromey@adacore.com> <182a044d-e26b-1d87-fdce-5ae849127e55@FreeBSD.org> X-Attribution: Tom Date: Fri, 11 Mar 2022 09:24:20 -0700 In-Reply-To: <182a044d-e26b-1d87-fdce-5ae849127e55@FreeBSD.org> (John Baldwin's message of "Wed, 15 Dec 2021 10:39:51 -0800") Message-ID: <87y21glaob.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Fri, 11 Mar 2022 16:24:23 -0000 >>>>> "John" == John Baldwin writes: >> | [New LWP 15488] >> | Error while mapping shared library sections: >> | `/lib64/libc.so.6': Shared library architecture unknown is not compatible with target architecture powerpc:common64. John> Do you no longer get the warning about setting sysroot, etc.? I finally got around to reproducing this one so I could answer your question. Anyway, the answer is that we do still get it: Error while mapping shared library sections: `/lib64/libc.so.6': Shared library architecture i386:x86-64 is not compatible with target architecture powerpc:common64. warning: Could not load shared library symbols for /lib64/ld64.so.1. Do you need "set solib-search-path" or "set sysroot"? I'm going to check this patch in. thanks, Tom