Date: Tue, 13 Aug 2019 19:56:59 +0000 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 Message-ID: <bug-239266-25139-nC9fpNDYUX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-239266-25139@https.bugs.freebsd.org/bugzilla/> References: <bug-239266-25139@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266 --- Comment #20 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239266-25139-nC9fpNDYUX>