From nobody Sun Oct 17 12:07:26 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1507D17FCCF7; Sun, 17 Oct 2021 12:07:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HXJfR08T7z4thD; Sun, 17 Oct 2021 12:07:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAAF74968; Sun, 17 Oct 2021 12:07:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19HC7Qrs075122; Sun, 17 Oct 2021 12:07:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19HC7Q9K075121; Sun, 17 Oct 2021 12:07:26 GMT (envelope-from git) Date: Sun, 17 Oct 2021 12:07:26 GMT Message-Id: <202110171207.19HC7Q9K075121@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 088f48d0af77 - main - lang/scm: fix build on powerpc64* List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 088f48d0af77c50f5f72796a6cbbf9519c5a1814 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=088f48d0af77c50f5f72796a6cbbf9519c5a1814 commit 088f48d0af77c50f5f72796a6cbbf9519c5a1814 Author: Piotr Kubaj AuthorDate: 2021-10-17 11:54:34 +0000 Commit: Piotr Kubaj CommitDate: 2021-10-17 11:54:34 +0000 lang/scm: fix build on powerpc64* (# # "r4rstest.scm": (exit) (for-each (lambda (x) (if (negative? x) (exit x))) (quote (54 0 37 -3 245 19))) #t>) ==> ;ERROR: "r4rstest.scm": segment violation 11 ; in expression: (#@apply #@fun #@args) ; in scope: ; (expect fun . args) procedure test ; defined by load: "r4rstest.scm" ;STACK TRACE 1; (#@let ((res (#@if (#@procedure? #@0+1) (#@apply #@0+1 #@0-2) ... 2; (#@test -3 #@call-with-current-continuation (#@lambda (exit) ( ... 3; (#@define ((filesuf #@file) (hss (#@has-suffix? #@file (#@sche ... 4; ((#@thunk) (#@set! #@complete #t)) 5; ((#@do-thunk (#@lambda () (#@cond (#@*syntax-rules* (require ( ... 6; ((#@case #@option #(# #f #\? #\: #\n #\u #\m #\s ... 7; ((#@cond ((#@not #@*argv*) (#@set! #@*argv* (#@program-argumen ... ; program args: ("./scm" "-rmacro" "-fsyntest1.scm" "-fsyntest2.scm" "-fr4rstest.scm" "-e(test-sc4)(test-cont)(test-delay)" "-fsyntest1" "-e" "(or (null? errs) (quit 1))") Builds fine with GCC. While here, remove ia64 support. --- lang/scm/Makefile | 11 ++++++----- lang/scm/files/ia64-patch | 9 --------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/lang/scm/Makefile b/lang/scm/Makefile index 25534139a453..a0d4ce40cc14 100644 --- a/lang/scm/Makefile +++ b/lang/scm/Makefile @@ -54,6 +54,12 @@ SCM_MODULES= byte.so bytenumb.so crs.so differ.so edline.so gsubr.so \ socket.so unix.so SCM_MODULES_X11=x.so +.include + +.if ${ARCH:Mpowerpc64*} +USES+= compiler:gcc-c++11-lib +.endif + .include .if ${OSVERSION} > 1300000 @@ -65,11 +71,6 @@ SCM_MODULES+= ${SCM_MODULES_X11} SCM_DATA+= ${SCM_DATA_X11} .endif -.if ${ARCH} == "ia64" -EXTRA_PATCHES+= ${FILESDIR}/ia64-patch -ARCHOBJS= continue-ia64.S -.endif - LIBEDIT_SUB1= ${CPPFLAGS}" "${LDFLAGS:M-L*} LIBEDIT_SUB2= ${LDFLAGS:M-L*} diff --git a/lang/scm/files/ia64-patch b/lang/scm/files/ia64-patch deleted file mode 100644 index 4b8328df4a81..000000000000 --- a/lang/scm/files/ia64-patch +++ /dev/null @@ -1,9 +0,0 @@ ---- Makefile 2013-03-10 03:29:54.000000000 +0000 -+++ Makefile 2015-01-23 21:59:51.747074000 +0000 -@@ -104,5 +104,5 @@ - ofiles = scm.o time.o repl.o scl.o sys.o eval.o subr.o unif.o rope.o \ - continue.o findexec.o script.o debug.o --# continue-ia64.o -+ofiles+= continue-ia64.o - ifiles = Init$(VERSION).scm Transcen.scm Link.scm Macro.scm Macexp.scm \ - Tscript.scm compile.scm Iedline.scm Idiffer.scm