From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by sourceware.org (Postfix) with ESMTPS id BA9B13861857 for ; Tue, 13 Jul 2021 00:22:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA9B13861857 Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id E578540618 for ; Tue, 13 Jul 2021 00:22:12 +0000 (UTC) Received: by mail-pg1-f199.google.com with SMTP id j13-20020a63594d0000b0290228b387f4a3so15766935pgm.13 for ; Mon, 12 Jul 2021 17:22:12 -0700 (PDT) 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=ZgOCiy7LMtmgv/mgU/o4JmBW+eiFpmWzPPmo56RZo5Y=; b=o265dwc/liNDjessv/UB5vlly2uRhkqwBJmSKm4ukkufxzNLtXdLEX0ctCjGfeRfqm equqpypQukLCnQlIR+Y+L6BB45QuU5WIYldh4dwaesNGJn49uKtZnKxt55c5Vg8inpWj LI4t9w+UbRtbTUzUHl7B7wbs6oX9Po24UGV7lmWI3irYwznRZ3FCmCMUEHY1+Hk0LDtK Tkn0V9Vp5FXLWrjsfXJQaRSJUILrXxXQGUezeIf2nOgTfS3sbutohYHbjeLFzxEeXvaJ bLn+iyr9mQQ532Nu39VLb/tEMDQRUzKQqymdKm+JIMB/fHaDKjsaP8jisEXqTgRparhZ wirA== X-Gm-Message-State: AOAM530+SCWQ8Yu2nS16vGoOhV3VVYKUNK+wATF3/MRCaRrRmNwiagxM ZOFKXI0/yWowbk9njPQC58OYbFcwfIiftlT8eTwNFyqPkwmKXE2szGTHmThnJQKMSHZ0f9Rw6G4 15uTG6uoL9hesfTwyRk9mK3eu/uWZPlg70RqcOA/iqgZeVSjNNVzdXQ== X-Received: by 2002:a17:90a:28a5:: with SMTP id f34mr1466545pjd.107.1626135731436; Mon, 12 Jul 2021 17:22:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7L7pm5+s4RO2Wl4szrE+Pv0VPA+07rz0f2MxgrCW6oYCvzj/AbgXJWWdv+oJvwOq5SijS571Av3H/ZIHyfsg= X-Received: by 2002:a17:90a:28a5:: with SMTP id f34mr1466534pjd.107.1626135731187; Mon, 12 Jul 2021 17:22:11 -0700 (PDT) MIME-Version: 1.0 References: <87o8e0p92r.fsf@oldenburg.str.redhat.com> <87y2ab8tgz.fsf@oldenburg.str.redhat.com> <87lf6b8rwz.fsf@oldenburg.str.redhat.com> In-Reply-To: <87lf6b8rwz.fsf@oldenburg.str.redhat.com> From: Michael Hudson-Doyle Date: Tue, 13 Jul 2021 12:22:00 +1200 Message-ID: Subject: Re: Undefined use of weak symbols in gnulib To: Florian Weimer Cc: Matthias Klose , bug-gnulib@gnu.org, libc-alpha@sourceware.org, binutils@sourceware.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2021 00:22:15 -0000 On Tue, 13 Jul 2021 at 03:37, Florian Weimer wrote: > * Matthias Klose: > > > On 7/12/21 5:03 PM, Florian Weimer via Binutils wrote: > >> * Michael Hudson-Doyle: > >> > >>> Did this thread ever reach a conclusion? I'm testing a snapshot of > >>> glibc 2.34 in ubuntu and running into this issue -- bison segfaults on > >>> startup on ppc64el. > > > >> We rebuilt bison and a couple of other packages > > > > do you have a list of these packages? > > I rebuilt everything that had a weak symbol reference to > pthread_mutexattr_gettype or thread_exit because those two symbols are > used for the single-thread optimization in current gnulib. The presence > of these symbols largely depends on at which point the upstream sources > you use last imported the relevant modules from gnulib, so it's probably > best to check each distribution individually. According to my notes, > for us, that was bison, findutils, nano, and gnulib itself. > Thanks for the list and the other reply. It doesn't seem quite so bad if it's only a few packages and we can fix them by rebuilding before the new libc lands. Cheers, mwh