Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2020 20:32:54 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362914 - head/usr.bin/gh-bc
Message-ID:  <202007032032.063KWsRA058384@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Jul  3 20:32:53 2020
New Revision: 362914
URL: https://svnweb.freebsd.org/changeset/base/362914

Log:
  bc: disable -flto on powerpc64
  
  Previously bc segfaulted at start, on powerpc64.
  
  PR:		247738
  Submitted by:	luporl
  Reported by:	pkubaj
  MFC after:	1 week

Modified:
  head/usr.bin/gh-bc/Makefile

Modified: head/usr.bin/gh-bc/Makefile
==============================================================================
--- head/usr.bin/gh-bc/Makefile	Fri Jul  3 14:54:46 2020	(r362913)
+++ head/usr.bin/gh-bc/Makefile	Fri Jul  3 20:32:53 2020	(r362914)
@@ -50,7 +50,8 @@ CFLAGS+=	-DBC_ENABLE_NLS=0
 CFLAGS+=	-DBC_ENABLE_NLS=1
 
 # prevent floating point incompatibilities caused by -flto on some architectures
-.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && ${MACHINE_ARCH} != riscv64
+.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \
+    ${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64
 CFLAGS+=	-flto
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007032032.063KWsRA058384>