From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by sourceware.org (Postfix) with ESMTPS id E09CF3844046 for ; Tue, 15 Dec 2020 16:17:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E09CF3844046 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ed1-x542.google.com with SMTP id b73so21600854edf.13 for ; Tue, 15 Dec 2020 08:17:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kA+Q1rLA8bJNBnSTosu5EhHRkmAVvQlA/feVSMVAeKk=; b=XgihtmlLNLgikf+j79MWuTPwq8lLkjcKTUdcuyw2g4bOhoVyd567ezLJLeGH7CIzS3 2n5Wwq1mxPX+T/6BXFU9CAny8am4eSuO9u2Qk66ZB5p7PxqXg9T1uCLasw2NhIDnw7Iw XOEPZp18ql5HVlDAreCQwjnnMF28Zm6s3PAyeERM5OnTTGJNu8K3rhphEi2k/Pj2/tXv 2jJ16b4XLCxDdUGSenekb5FG/JY0u+Kf+5/cq705yuHEK6BEHXfLF/IatFPXSTYrgiNt bcwFDS5+c5TGGkRTHgdFbJV//ihuegD9oWMgA+qwCboBQk/zJ7sQYHJ84HN6BaSdstjd 31OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kA+Q1rLA8bJNBnSTosu5EhHRkmAVvQlA/feVSMVAeKk=; b=ftSQpmiWGK3ebLBmvX02EDWhEc+MS+G5qCoflHaMoV6mU0Tkb+OGrIqHnGZlXIpxt7 wHlOTYCxn7xSVcggrJBD3WTQ4p/pBbh87gg4wEJdpaHjvt4+V/2XInfu+dE7oYoggsvI NeLilHtKSAYkSgz6bYHXXoNlbtj3S4O7eG5UdXBUVKI97te8bTZGrev5sYdTN/izWz1T XBfml4Ej/Ov/GoM4xm8O5RmAA5fLY2IVCyTcpYMZM6RjuwDI75OPJ5VUpe6zrsb3fViv 2e9AQ+5o6cqOre+kWrG61FMFTryKBG1EQzkWxpeWLcRO6L+/FD2BYziXWl8EwKnXSSxL ezyg== X-Gm-Message-State: AOAM530zll9XX+OeZ6tpXXtyWaHWh9eeN8GtozfkH7XulgCtzcca7NS/ Z2KT6K3m1NQJIrPlsBFMtdi3d95l3IJJf5t471hYJDMxmsQ= X-Google-Smtp-Source: ABdhPJy9KnD6Wv2K+5v9gt6lYgzljLtjkrwddqNuvEAltEDhPDx0ktzsgsPCfcx1I1xGsnIkqkfdQj6nG4YTmom5tUE= X-Received: by 2002:a50:875b:: with SMTP id 27mr3174385edv.24.1608049051005; Tue, 15 Dec 2020 08:17:31 -0800 (PST) MIME-Version: 1.0 References: <53b8973b-40a4-2550-3307-66d7f13707d5@symas.com> <64fe82bd-9c00-b232-98d2-f46182fb16ba@symas.com> <9889c54b-4dd3-2275-6621-c2391cfd268d@redhat.com> <31f9062e-175d-06e9-695a-797c7ee11420@symas.com> <58620dc1-3bb9-aaae-b476-ebb613ecb627@redhat.com> <1aaf4429-074c-7912-e6e6-4d2f82d6ef10@redhat.com> <7b118db2-9502-c45e-9f47-6b6f6a5f9646@symas.com> <7dba4046-3d50-c7e6-915d-08bf590bf057@redhat.com> <7b124cd4-529b-0069-3044-9d733a4e4e5c@symas.com> <20ad87a3-283d-7e49-9c2e-ed13001f6c87@symas.com> <70139665-0b8c-63dc-3a9d-b24a25bd8122@redhat.com> <2475d2a6-c63e-6dac-0f56-fa9acb6f20de@symas.com> <0e9925e6-512b-0ed6-8846-a86a40fb0a47@redhat.com> In-Reply-To: <0e9925e6-512b-0ed6-8846-a86a40fb0a47@redhat.com> From: Jim Wilson Date: Tue, 15 Dec 2020 08:17:19 -0800 Message-ID: Subject: Re: [PATCH] dependency list for static libraries To: Nick Clifton Cc: Howard Chu , Binutils X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Tue, 15 Dec 2020 16:17:33 -0000 On Mon, Dec 14, 2020 at 6:28 AM Nick Clifton via Binutils < binutils@sourceware.org> wrote: > I have now gone ahead and applied the patch. We can add > some tests later but I wanted to make sure that it was in > before the holiday break as I am planning on starting the > 2.36 release once I get back in January. > This patch beaks nm. You have to do an install to see the problem. The new libdep plugin is installed into the bfd-plugins dir, so bfd tries to load it and gets an error. gamma17:2093$ build-install/bin/riscv64-unknown-linux-gnu-nm tmp.o bfd plugin: No register_all_symbols_read hook bfd plugin: No register_all_symbols_read hook bfd plugin: No register_all_symbols_read hook 0000000000000000 T main gamma17:2094$ This in turn breaks glibc builds. configure:6658: checking for __builtin_trap with no external dependencies configure:6675: riscv64-unknown-linux-gnu-gcc -c -mcmodel=medlow -g -O2 conftest.c >&5 configure:6675: $? = 0 configure:6680: error: confusing output from riscv64-unknown-linux-gnu-nm -u Jim