Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Jessica Clarke Newsgroups: gnu.bash.bug Subject: [PATCH 3/3] configure.ac: Disable Bash malloc on FreeBSD/arm64 and FreeBSD/RISC-V Date: Sat, 27 Jun 2020 21:06:31 +0100 Lines: 24 Approved: bug-bash@gnu.org Message-ID: References: <20200627200631.38456-1-jrtc27@jrtc27.com> <20200627200631.38456-4-jrtc27@jrtc27.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1593295306 7488 209.51.188.17 (27 Jun 2020 22:01:46 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Jessica Clarke To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jrtc27.com; s=gmail.jrtc27.user; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hGcAvN+ebVP9bR0nruUVQA1jtuv1uoRlqOIIysHuXPQ=; b=ebA6N3u5y5jKVwrqlUUYIMzpob1uNRaKQ3ahS6emsMLKWBqIqpcBarywHPEANkSvRQ Bkpc9FJ7Cupur3+QLxELAFTNz2WXwXDxiENOHI2n+S8XwQL6c+J7ZamMNmh86WZBm3XW 1cyRYXAIDY+CpxmmJsv4n+Vg+4/a9gbHZ0YmNnqonV4MlnWefR1gq5Dl7OMPS3JyGIu3 KhV5owi5iRVgJ0BbLMF5ym316Nif+smpVgpSgw1HVQZnlilIvY8wprsTxky8iMan2nDZ bjedf7zupOvdQGPq+m+vjjDLNhx0ffHJEnRoIdzRoeeMosgc4WVkdtmsTslDI/Ks8GZ0 L8bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hGcAvN+ebVP9bR0nruUVQA1jtuv1uoRlqOIIysHuXPQ=; b=kboXjVQ5cQunaCIFeO2OwaAm2Jf7MKPKuv9hj76UFJ9gJA5cYynGD6ZR7U8fRjCf71 aa2qwXxoDsdlu8l1PlLow2NFAWf5RHQf+aZIX1BieDt8SToFuHEEzJ0dykuovZBu1UbD Gs963DIbQ7UWp0mCFd2IXy5llYqPUTn0fhenc/+boSRv4WVYNK1g2b6yED2LEOerUz0j a3XG+Dajvfm14zco2Hxg9sHGsOZsoUzJAY3F6sp0kDju2KtKmSZSQizXzO714FQqE7nz FYdj3g4DXyAnCd+NuR7+f0aF+sDORVReQ83N9GaO1s0gw+Tzf15wQqjoaBQ5icXlPkQE rg4w== X-Gm-Message-State: AOAM5311CAr4akGUmNK/qzmNgHu6rdSEYwpVdPmRofNYj0O5IbUg8+Jt fW3Exvg0DF5mNKpZGjkGiAx8pxekCNc= X-Google-Smtp-Source: ABdhPJzABAz68C6SPw5ewVDeCbJjCacDHD3qyoTgpa4Ii93IEWtnS+QDyjEQ93KDZRFdBocoiBRTJg== X-Received: by 2002:a1c:2144:: with SMTP id h65mr6849134wmh.131.1593288400244; Sat, 27 Jun 2020 13:06:40 -0700 (PDT) X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200627200631.38456-1-jrtc27@jrtc27.com> Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=jrtc27@jrtc27.com; helo=mail-wm1-x341.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Sat, 27 Jun 2020 18:01:45 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200627200631.38456-4-jrtc27@jrtc27.com> X-Mailman-Original-References: <20200627200631.38456-1-jrtc27@jrtc27.com> Xref: csiph.com gnu.bash.bug:16458 These recent ports do not provide sbrk(2) and so the Bash version of malloc cannot be used. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 52b4cdbd..dd8d9003 100644 --- a/configure.ac +++ b/configure.ac @@ -88,6 +88,9 @@ sparc-linux*) opt_bash_malloc=no ;; # sparc running linux; requires ELF *-qnx*) opt_bash_malloc=no ;; # QNX 4.2, QNX [67].x *-nsk*) opt_bash_malloc=no ;; # HP NonStop *-haiku*) opt_bash_malloc=no ;; # Haiku OS +# Recent FreeBSD architectures lack the deprecated sbrk(2) +aarch64-freebsd*) opt_bash_malloc=no ;; +riscv*-freebsd*) opt_bash_malloc=no ;; # Deprecated -- bash malloc is suitable #sparc-netbsd*) opt_bash_malloc=no ;; # needs 8-byte alignment #mips-irix6*) opt_bash_malloc=no ;; # needs 8-byte alignment -- 2.20.1