From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id 636CF3844046 for ; Tue, 15 Dec 2020 16:22:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 636CF3844046 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-408-pB-w9sIePjCPTVwRGkRPsg-1; Tue, 15 Dec 2020 11:22:47 -0500 X-MC-Unique: pB-w9sIePjCPTVwRGkRPsg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DE5EDF6652; Tue, 15 Dec 2020 16:22:45 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-161.phx2.redhat.com [10.3.112.161]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9B7225D9E8; Tue, 15 Dec 2020 16:22:45 +0000 (UTC) Subject: Re: [PATCH] dependency list for static libraries To: Jim Wilson , Nick Clifton Cc: Binutils References: <53b8973b-40a4-2550-3307-66d7f13707d5@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> From: Jeff Law Message-ID: Date: Tue, 15 Dec 2020 09:22:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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 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:23:08 -0000 On 12/15/20 9:17 AM, Jim Wilson wrote: > 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 Yea, it's breaking every glibc build in a similar manner. jeff