From owner-freebsd-ppc@freebsd.org Tue Aug 13 19:57:02 2019 Return-Path: Delivered-To: freebsd-ppc@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 1E647BAC64 for ; Tue, 13 Aug 2019 19:57:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467Nld3dyVz4Jy0 for ; Tue, 13 Aug 2019 19:57:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 598015DE4; Tue, 13 Aug 2019 19:57:01 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 3A9035DE0 for ; Tue, 13 Aug 2019 19:57:01 +0000 (UTC) (envelope-from bugzilla-noreply@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467Nlc1SjJz4Jxm for ; Tue, 13 Aug 2019 19:57:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBD451CA36 for ; Tue, 13 Aug 2019 19:56:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7DJuxEX054400 for ; Tue, 13 Aug 2019 19:56:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7DJuxLb054399 for powerpc@FreeBSD.org; Tue, 13 Aug 2019 19:56:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 239266] lang/gcc8 fails to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id Date: Tue, 13 Aug 2019 19:56:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2019 19:57:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266 --- Comment #20 from Mark Millard --- (In reply to Gerald Pfeifer from comment #19) I did not realize that you wanted someone to test building with your simpler, more uniform way of doing the rename. Seems fine. Details of test follow (since a clang based system is unusual) . . . A non-bootrap build is faster and historically showed the error, so that I what I used for this test. I can re-run with a full bootstrap if desired. # more /usr/local/etc/poudriere.d/options/lang_gcc8/options # This file is auto-generated by 'make config'. # Options for gcc8-8.2.0_2 _OPTIONS_READ=3Dgcc8-8.2.0_2 _FILE_COMPLETE_OPTIONS_LIST=3DBOOTSTRAP GRAPHITE OPTIONS_FILE_UNSET+=3DBOOTSTRAP OPTIONS_FILE_UNSET+=3DGRAPHITE For the following on an old PowerMc G5 2-socket with 2 cores each: # uname -apKU FreeBSD FBSDG5L2 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r347549M: Wed May 22 15:14:43 PDT 2019=20=20=20=20 markmi@FBSDG5L:/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/u= sr/src/powerpc.powerpc64/sys/GENERIC64vtsc-NODBG powerpc powerpc64 1300025 1300025 (The above pre-dates the secure-plt changes that block cross builds for buildworld buildkernel from amd64.) # cc -v FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin # c++ -v FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin # mv /usr/ports/lang/gcc8/files/patch-gcc_tree-vect-loop.c ~/ (That removed my original patch.) # patch < patch-clang-vec_step=20 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: lang/gcc8/files/patch-clang-vec_step |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- lang/gcc8/files/patch-clang-vec_step (nonexistent) |+++ lang/gcc8/files/patch-clang-vec_step (working copy) -------------------------- (Creating file lang/gcc8/files/patch-clang-vec_step...) Patching file lang/gcc8/files/patch-clang-vec_step using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done # poudriere bulk -jFBSDpowerpc64 -C -w lang/gcc8 . . . [00:00:49] [01] [00:00:00] Building lang/gcc8 | gcc8-8.3.0_2 [00:40:12] [01] [00:39:23] Finished lang/gcc8 | gcc8-8.3.0_2: Success --=20 You are receiving this mail because: You are on the CC list for the bug.=