From nobody Wed Feb 22 20:51:44 2023 X-Original-To: dev-commits-ports-all@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 4PMSxr63pNz3sBdG; Wed, 22 Feb 2023 20:51:44 +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 4PMSxr5cptz3Jw9; Wed, 22 Feb 2023 20:51:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677099104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q5oFcashzdWDvf7FTXdFni1MG0krNmCDCNaFyVOreM0=; b=ralCl0QTdHzNbvvQo+h01ycFGxSdcf5DYnUuiz63KWJ6TyfjFtDjaQnhHFfXhW9AhQuiTh hmUtkKBmBnIYBIwYg3CTzm/6QkdQaqhYHPFJYRxFz8UWqq1/CHX43dsUg5Euldbp6zIVYW 9EnXj49bQGxnLKTopm7268TTZuiJfP87mD3NE+HQYHNfqf0WseMuA/k4q3v/pbgHVQy5kd 2rK8c0GAK7gjlad2+Z1WMQ32vTMWeXTZh0Jl80VDyVU01dZlPT2FOYUYjK2uizUSdIZ4DW gxCo8p4SifgnpHzBEYIC/fXSpF81BfN0aXbGHL7T2auu0ZBoSkgF+/mWWGqYwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677099104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q5oFcashzdWDvf7FTXdFni1MG0krNmCDCNaFyVOreM0=; b=sdI2Ag21ehb0t+jBKDDF6W5Dx6T6C6GJteT6Fn1uA2LEw8TOC6LWXyJ5hUD4iGnTRrL4aJ Xd4UMWSe/S9ghWleIrndH13w3TeeTMCpt97xjxj2FEhnl2CRxQGvMuHbypTB5TLNgbeKcn F58cljnKdcx/EDBAR34gZBwFyXhcSwIHRLS7pTiEMIOxPnnPfojMlgFd7fU6R+IeiNN/Z8 Vhbg8eH/Yg9utc54gRQR8dEb1ok0Y4OEK4CLKA9XPG4FIVqbiyJHg6Fpn/VQYdv47YatqD tDEISrqajfXzUiOieYeSrFIFRBLhUCzgck6RHbCEktlFHvcL+5ufzYDuAo8DIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677099104; a=rsa-sha256; cv=none; b=iZ0hDgJ/HWiEqBjAn5pChH4BX8np6bM/ClkqRBxe8EjDz/ssPHijDr6/31CM/a+ZEXXP5M INgghIUV/cehFFIeHDpQ171KV1UcO9LDoAQZIrO01N1+buzzvEwpznwrLVMz0RliMHaTPF veJeI4f4ZXJdU8eqPxP+n37TY3wUr1Z6ETBdaap1gJn8peJ3afemVrzIYGIAYwrE1k/IW3 dgCKnRdBv8z+JyQID+4y2k0rxRp7UJfFLART9c9E9pX5XB1DExMnt1SMXggGptXnvTWh0H Y3e8Q8UlHji1pYasHQWyw1dwRMbGLkekqx4v2MYHSwV+6oRGSh4wmr8+lXXebg== 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 4PMSxr4gTLzFf5; Wed, 22 Feb 2023 20:51:44 +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 31MKpime071512; Wed, 22 Feb 2023 20:51:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31MKpivf071511; Wed, 22 Feb 2023 20:51:44 GMT (envelope-from git) Date: Wed, 22 Feb 2023 20:51:44 GMT Message-Id: <202302222051.31MKpivf071511@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: 29c28cb14a6e - main - lang/perl5.32: fix build on powerpc with llvm 15 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 29c28cb14a6e51b15a451fa410d660d20d61df4d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=29c28cb14a6e51b15a451fa410d660d20d61df4d commit 29c28cb14a6e51b15a451fa410d660d20d61df4d Author: Piotr Kubaj AuthorDate: 2023-02-21 00:46:42 +0000 Commit: Piotr Kubaj CommitDate: 2023-02-22 20:51:39 +0000 lang/perl5.32: fix build on powerpc with llvm 15 LD_LIBRARY_PATH=/wrkdirs/usr/ports/lang/perl5.32/work/perl-5.32.1 ./miniperl -Ilib -f write_buildcustomize.pl Segmentation fault (core dumped) --- lang/perl5.32/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lang/perl5.32/Makefile b/lang/perl5.32/Makefile index ab326d878717..14e5d6866f52 100644 --- a/lang/perl5.32/Makefile +++ b/lang/perl5.32/Makefile @@ -18,7 +18,7 @@ LICENSE_FILE_GPLv1+ = ${WRKSRC}/Copying #DEPRECATED= Support ends three years after .0 release. Please upgrade to a more recent version of Perl #EXPIRATION_DATE=2023-06-20 -USES= cpe tar:xz +USES= compiler cpe tar:xz # Give a hint of where libperl.so can be found. USE_LDCONFIG= ${PREFIX}/${_ARCH_LIB}/CORE @@ -195,6 +195,12 @@ PLIST_SUB+= BINSUFFIX=${PERL_VERSION} \ CONFIGURE_ARGS+= -Dversiononly .endif +.include + +.if ${ARCH} == powerpc && ${COMPILER_VERSION} == 150 +CFLAGS+= -O1 +.endif + .if !defined(IAMDEFAULTPERL) pre-everything:: @${ECHO_MSG} "##################################################" @@ -285,4 +291,4 @@ post-install: done ${INSTALL_DATA} ${WRKDIR}/perl-man.conf ${STAGEDIR}${PREFIX}/etc/man.d/perl${PKGNAMESUFFIX}.conf -.include +.include