From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19611 invoked by alias); 29 Sep 2018 20:38:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19601 invoked by uid 89); 29 Sep 2018 20:38:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=bottle, HContent-Transfer-Encoding:8bit, newest X-HELO: mail-wr1-f50.google.com Received: from mail-wr1-f50.google.com (HELO mail-wr1-f50.google.com) (209.85.221.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Sep 2018 20:38:05 +0000 Received: by mail-wr1-f50.google.com with SMTP id z3-v6so9750858wrr.13 for ; Sat, 29 Sep 2018 13:38:04 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:75e6:857f:3506:a1f4? ([2001:8a0:f913:f700:75e6:857f:3506:a1f4]) by smtp.gmail.com with ESMTPSA id k63-v6sm10764351wmd.46.2018.09.29.13.38.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 13:38:01 -0700 (PDT) Subject: Re: [RFC 0/6] A different approach to startup-with-shell on macOS To: Simon Marchi References: <20180926111130.18956-1-tom@tromey.com> <5b3edfa9-215a-436e-af2c-f0226aaee5ce@redhat.com> <46289fbb7b8eaffa131a96f600dbe31f@polymtl.ca> Cc: Tom Tromey , gdb-patches@sourceware.org From: Pedro Alves Message-ID: <6b845215-68ae-45e4-3b39-6b01323a76cd@redhat.com> Date: Sat, 29 Sep 2018 20:38:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <46289fbb7b8eaffa131a96f600dbe31f@polymtl.ca> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2018-09/txt/msg00939.txt.bz2 On 09/29/2018 08:50 PM, Simon Marchi wrote: > On 2018-09-29 14:43, Pedro Alves wrote: >> On 09/26/2018 12:11 PM, Tom Tromey wrote: >> >>> One question I have is whether it's possible to build gdb on an older >>> version of macOS and then run it on a newer version.  If this can be >>> done, then the #if-based approach taken in the final patch will not >>> work. >> >> I'd suspect so.  What, e.g., does Homebrew do?  Do they have packages >> built once for every Darwin version, or a single binary for several >> Darwin versions?  I'd think the latter, but I don't really know. >> And if indeed the latter, do they always build on the newest >> Darwin, or perhaps the oldest? > > Here's the answer I got on the homebrew IRC channel: > >> homebrew generally does this (but i think it's probably more conservative than it needs to be) >> a bottle should never be deployed to an older macos version than it was built on, anyway > > "this" refers to whether the binaries always run on the same macos version as the one on which they have been built. Great, that clears it up. Thanks, Pedro Alves