From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by sourceware.org (Postfix) with ESMTPS id 507FE3858D32 for ; Mon, 26 Sep 2022 12:57:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 507FE3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x22a.google.com with SMTP id m130so8108844oif.6 for ; Mon, 26 Sep 2022 05:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date; bh=pdmDx3zL1GIKhxHo4YoHt/Qksytvd1rcYtG7fx9MX/4=; b=jsXbJLA3MaQ73k8x4WDLv/CCskCJrAzYx7Yr5q5EgaJLsqACe7efVvOhPKsmLPjeRL 1+X6BUs5nKv9t6h9DNuvRr9b6C944c+YdTSbhZe7s4L2xC+Ed86eftylfH15MdqbmgfY kIViGxIftOS4dGp/Y0I+6xssl3onhyRdXSilfl4hf2ksKX/wRrmTaYakjnvVHUJUQqpM 4ArhPf3FVLO7Gb0DFjqF6Xc1eiTdol2WuHl13ahouF3D21RczliQ1OPUBBGzqbgVkIQd IymemrrKLMx5bSX9O8dMCT4Clr68R+qE7atxcjQNyGifYixZtaptyyTGhHnCAc/8nsiQ nRfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date; bh=pdmDx3zL1GIKhxHo4YoHt/Qksytvd1rcYtG7fx9MX/4=; b=A8/1kLORAJVbei/nt9sTOMbCYw0NNCQ2Yoh+4g4iOwwx6uMRgBKFRAl3gmuOO8Dujr LBATVj/MjZQarw/5jztrag3qV9R21rJqbr7XF1fNoGK69sCMzQP3xG/J+KdqkBDudLFC PygS/rRksVUCmCGz+aGfjaQ66c3ApqMSVjnm+ZoTeT3CortrrGWvyYnQt8oHWJXp6pxK 5PjcQY36RQIoRYxQ28NRDdP7cqPg4l+YUBU3A3tL8ubY6N81vWDRX6Oyaw55pskAqbOb bOY4RwjfjpOgEntJH7wAnpGXxk3AUQYbFnPgkxDc9L80fvHRMXkcJH6mgAxPH5nyFBkP f4HQ== X-Gm-Message-State: ACrzQf0v3nmEeTObfKEq5I3IBM+D5zoFoUhhk8EmGtC+ITGGrbIr6TKt RlJv+32mFW8LjBwL6V+JXXRO0g== X-Google-Smtp-Source: AMsMyM4SfnzahGqZxBx69JBLeuiWLMXwyg1txyi3MGh3ExDoZoFHbQCS5e6BO+9khtBpWam0nJvpEg== X-Received: by 2002:a05:6808:f01:b0:34f:cabc:4c9a with SMTP id m1-20020a0568080f0100b0034fcabc4c9amr15085070oiw.26.1664197060452; Mon, 26 Sep 2022 05:57:40 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c2:3736:b07a:d8a3:b936:2ca2? ([2804:1b3:a7c2:3736:b07a:d8a3:b936:2ca2]) by smtp.gmail.com with ESMTPSA id u18-20020a056870701200b0012d130c2fdasm8690262oae.48.2022.09.26.05.57.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Sep 2022 05:57:40 -0700 (PDT) Message-ID: <0d9c3352-1b3a-0522-e679-15236f5d1bfb@linaro.org> Date: Mon, 26 Sep 2022 09:57:38 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: installation of glibc crashes because of ABI sonames Content-Language: en-US To: Patrick Rother , Florian Weimer Cc: libc-help@sourceware.org References: <87edvyid0t.fsf@mid.deneb.enyo.de> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 List-Id: On 26/09/22 09:53, Patrick Rother wrote: > Hello. > > On Mon, Sep 26, 2022 at 01:35:46PM +0200, Florian Weimer wrote: >>> So, before the quoted change is was possible to upgrade glibc from >>> source on a running system, but as of 2.34 this is no longer >>> possible. >> >> In my experience, it has always been required to use “make install >> DESTDIR=…” to update a running system, and then move the resulting >> temporary tree into place with a single command. (The elimination of >> symbolic links actually makes this step more reliable because there >> are no older glibc .so files left behind.) It never occurred to me >> that we regressed this functionality because it didn't actually work >> before for me. > > I wasn't aware of the DESTDIR=… option, and interestingly that worked > like a charm. > > Problem solved for me, thank you! > It is described on INSTALL file: 408 Installing the C Library 409 ======================== 410 [...] 437 You can install the GNU C Library somewhere other than where you 438 configured it to go by setting the 'DESTDIR' GNU standard make variable 439 on the command line for 'make install'. The value of this variable is 440 prepended to all the paths for installation. This is useful when 441 setting up a chroot environment or preparing a binary distribution. The 442 directory should be specified with an absolute file name. Installing 443 with the 'prefix' and 'exec_prefix' GNU standard make variables set is 444 not supported.