From owner-svn-ports-all@freebsd.org Mon Jun 15 15:39:05 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6C47338093; Mon, 15 Jun 2020 15:39:05 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49lwVK2c5Tz3XXN; Mon, 15 Jun 2020 15:39:05 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (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) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 706F57538B; Mon, 15 Jun 2020 17:39:01 +0200 (CEST) Date: Mon, 15 Jun 2020 17:39:00 +0200 From: Piotr Kubaj To: Jan Beich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r538880 - head/graphics/libglvnd Message-ID: <20200615153900.GB26638@KGPE-D16> References: <202006151432.05FEW8Jo096922@repo.freebsd.org> <366w-5qb6-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 49lwVK2c5Tz3XXN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; REPLY(-4.00)[] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2020 15:39:05 -0000 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I didn't try that. However, that compilation error was only one issue. The other was LLVM bug (seems to be fixed in 11 already, so I didn't report it to the upstream): Assertion failed: (NextLocalOffset + FileSize + 1 > NextLocalOffset && Next= LocalOffset + FileSize + 1 <=3D CurrentLoadedOffset && "Ran out of source l= ocations!"), function createFileID, file /usr/src/contrib/llvm-project/clan= g/lib/Basic/SourceManager.cpp, line 586. Stack dump: 0. Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freeb= sd13.0 -emit-obj -disable-free -main-file-name entry_ppc64_tls.c -mrelocati= on-model pic -pic-level 2 -mthread-model posix -mframe-pointer=3Dnone -rela= xed-aliasing -fno-rounding-math -masm-verbose -mconstructor-aliases -munwin= d-tables -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -ta= rget-abi elfv2 -dwarf-column-info -fno-split-dwarf-inlining -debugger-tunin= g=3Dgdb -sys-header-deps -D _FILE_OFFSET_BITS=3D64 -D USE_PPC64_ASM -D USE_= DISPATCH_ASM -D USE_X11 -D HAVE_TYPEOF -D GLDISPATCH_USE_TLS -D USE_ATTRIBU= TE_CONSTRUCTOR -D HAVE_PTHREAD_RWLOCK -D HAVE_SYNC_INTRINSICS -D HAVE_MINCO= RE -D HAVE_RTLD_NOLOAD -D HAVE_DIRENT_DTYPE -D EGL_NO_X11 -D MAPI_ABI_HEADE= R=3D"/wrkdirs/usr/ports/graphics/libglvnd/work/libglvnd-1c32de07074fee8edcb= 274899948b6551081ed54-1c32de07074fee8edcb274899948b6551081ed54/_build/src/g= enerate/glapi_mapi_tmp.h" -O2 -Wall -Winvalid-pch -std=3Dgnu99 -ferror-limi= t 19 -fmessage-length 0 -fvisibility hidden -stack-protector 2 -fno-signed-= char -fgnuc-version=3D4.2.1 -fobjc-runtime=3Dgnustep -fdiagnostics-show-opt= ion -vectorize-loops -vectorize-slp -fcolor-diagnostics -faddrsig -x c entr= y_ppc64_tls-032b63.c 1. parser at end of file 2. Code generation #0 0x0000000013bae410 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13 #1 0x0000000013babad8 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:67:5 #2 0x0000000013baf218 SignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x0000000815735850 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:303:3 I will try it, but it's possible that your fix will only take care of the compilation error, but the LLVM bug will still break the build (at least until LLVM 11). On 20-06-15 17:04:25, Jan Beich wrote: >Jan Beich writes: > >> Piotr Kubaj writes: >> >>> Author: pkubaj >>> Date: Mon Jun 15 14:32:08 2020 >>> New Revision: 538880 >>> URL: https://svnweb.freebsd.org/changeset/ports/538880 >>> >>> Log: >>> graphics/libglvnd: fix build on powerpc64 elfv2 >>> >>> Clang fails to build this port, use GCC for now. >> >> What was the error? It built fine with GCC 9 on amd64. > >Err, I've found the error log. However, the logs are transient thus may >disappear in a year, unlikely to be cached by Wayback Machine. > >http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p538068_s361855/l= ogs/errors/libglvnd-1.3.1.log > >> FAILED: src/GLdispatch/vnd-glapi/692a89e@@libglapi@sta/entry_ppc64_tls.c= =2Eo >[...] >> :69651:14: error: invalid operand for instruction >> ld 12, (4096*8)@l (11) >> ^ >> :69668:14: error: invalid operand for instruction >> ld 12, (4097*8)@l (11) > >This looks like something that maybe fixed by > > BUILD_DEPENDS+=3D ${BUILD_DEPENDS_${ARCH}} > BUILD_DEPENDS_powerpc64=3D as:devel/binutils > CFLAGS_powerpc64=3D -no-integrated-as > >Did you try? --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJkBAABCgBOFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl7nlhQwFIAAAAAAFQAS cGthLWFkZHJlc3NAZ251cGcub3JncGt1YmFqQGFub25nb3RoLnBsAAoJEHpZm4Ug g5ydI4cQAInuFa+V7/WFmPIowR7rDMjIe/Vob3sP4pPRobWJNDHYwmal5NSBv2Bw IJDTdQuY91ReyPcPhEqivkVTlpsuJ8zN0i0keCG4V5DiXeu5X1pWQ+eoS9hWqt4x lRK/6Mr2kneZQXitIMLxOTFvgciVYo5TQ/UL5TUoBmpFOFJoBqhxWKqk+6nqY4TL 9VBu6H/7rHrFmoIdrcjOj98qx50ij4K8AcFWT89flivJi5WpxVDk2P/XwtR+NSDH xtqPtAWi6FtmXYPMIDAPpLMk15DwHT73gBnepsPMk+/CBfAbmj+PLL9tat99X4Jx dT8vWZRH/SgglOMA8cQ2Nnbz7r0jsHRsaZhYrbMZJpiwDbXa4Q0Yxf535kQvXpVP EnU9JfqM+RyMp50YRMnkyH6xlxhSbuN/s+wnSzOvfNwpr+YMKFpucEVTuIWMHXLV Ojm6jRptd1QXtRxBJi0149igrfrDV4lYCeUsqadNihmIZSa4Hz/hcRu0lK9Ow8s4 tGZ1Xiupz8JHZC59HjOmjdOLVZD5GGclJy+AZXyO0xTEpvGZ3KFLNjOD5yVksdbI JPZbdrzY2avfUHbygQ9hzvVeV71E5uGF+hvkntNK6H+tXEjFqjNzCcT1KgYVpdhJ 6kxw5MYL9VebNsvVy7Lgj9h/yDKvru7FqO/ZXWXaDc6UBF/MeLTS =JETA -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--