From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by sourceware.org (Postfix) with ESMTPS id E44CC3858CDA for ; Mon, 26 Sep 2022 13:11:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E44CC3858CDA 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-oa1-x31.google.com with SMTP id 586e51a60fabf-12b542cb1d3so9080708fac.13 for ; Mon, 26 Sep 2022 06:11:09 -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=iAvJd9Yj4JUrTf0JRel/BgWeE8tisvnMQO2pghdwHC8=; b=XKQresd9DAA5aczcPNP80HLLNApUFWxLFNg/F19R+bOi5ixpesdN7Zfph7YqEaejyV MJr/DZTUpDogV9DQhJ6mBPHvakdQvG88+OvgvpvAGwzLilE03+dL8iGFpYQtp1GGFUqV BKNoviGydKLgJm5+jNbVd1sjS6c1dOrnomYBOZXyVE6mXSSLlB3sUO7LLDk38Suu1aFs bxUl5iWHCc2Fl73s4J1CvtrHGVFNnZw2kcgAs52JHQIOG8s/0KrudaKJ0it4Hk2cequc OT++YdDZ4tFkaL03wNeZGaPK+kNueQUAQx9waREx+ey8t7S+61IvxNASk2eDBEu/n0T0 4FDg== 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=iAvJd9Yj4JUrTf0JRel/BgWeE8tisvnMQO2pghdwHC8=; b=U9aMBACdzVEdXDY3A+2jUQB7drNu5WqCZjQP4jDskE1oC06f3LkXs24ceypAByCVHZ JRduwtDQ0uXMZgVE8svIfHflkmW6TLogcV11i1onLWm6F/9cyKsaRdePBiEILtJu0V+M d2NxST+Z74jOXUe5uO4DoV01z65mN6T56hnxNq3nIMApWu6insNh6sDOSAB9ShNGfG/d eIdi9h7CbR+We8TUEb9o3NDWWkAOT7WviDYeqgndaqVwCoihgbj2FQvmpIsu29K+wKAF fSJ4IiFzNVENJOXnR1m0/j3tN+uwvLxdy9XJWmIRzPE5/EDgQx36iWh5aGp1HEk8IE/H pDvg== X-Gm-Message-State: ACrzQf3PubgQ/GXr7SC04qjnd5iiPtEIzoMk72glcGZaZUpdEx4Gahj3 jVH05DI4I5DIV4VSwrTzzTp7XZXdrYxmTBJY X-Google-Smtp-Source: AMsMyM51ehZwRRuZTZlzv44+SFfA7crZzPqfWVyDKzGQMWuu+wo7xeS4oj6eaOnFYS4oMQhcs3PBWA== X-Received: by 2002:a05:6870:d28a:b0:12b:7ed3:cf38 with SMTP id d10-20020a056870d28a00b0012b7ed3cf38mr12763470oae.138.1664197869185; Mon, 26 Sep 2022 06:11:09 -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 fo9-20020a0568709a0900b0012784cb563dsm8932483oab.22.2022.09.26.06.11.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Sep 2022 06:11:08 -0700 (PDT) Message-ID: Date: Mon, 26 Sep 2022 10:11:06 -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: Florian Weimer Cc: Patrick Rother , libc-help@sourceware.org References: <87edvyid0t.fsf@mid.deneb.enyo.de> <0d9c3352-1b3a-0522-e679-15236f5d1bfb@linaro.org> <87y1u6gufj.fsf@mid.deneb.enyo.de> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <87y1u6gufj.fsf@mid.deneb.enyo.de> 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 10:02, Florian Weimer wrote: > * Adhemerval Zanella Netto: > >> 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. > > We should probably error out in “make install” if DESTDIR is not set. Agreed, not using DESTDIR is a potential source for trouble.