From owner-freebsd-ports@freebsd.org Thu Dec 26 23:22:05 2019 Return-Path: Delivered-To: freebsd-ports@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 BFC3C1DB9C4 for ; Thu, 26 Dec 2019 23:22:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47kQvw46q9z4Rbs for ; Thu, 26 Dec 2019 23:22:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: A81GsmgVM1mSTBO5UddhX6B7G7RnTx2aw9KB9sUQwFGk1RZP49UGelifdm_F5GD f0sO6IiBC3DF49tU03OEqX8eL.LcW0US8.N5Rn.WyPOn7oKbhfBqrYnWxJ8B7qAyT_h3IZaqinLY 3LgUMLG_6xNnHFmrGtUk.oivZJYZZWG71c_fZ.ittYj4KvOiS8I_YWpQV4eeUewT5H58nwmKESPD s5hWG7LVayD6MEn2lJO7rjccyK5KUCgRn6higU4UZeDDH6F9YFn7MfxBXKnpzEN6scXW67wA25_a g5WB4fRpOKopDM_9v312z5kxA_JCtc.FoQ97yq3psdtXGl77Y00HO9dMC3hin0fOehuDU6NcLI8g pGzGhr_.fqC_2a3ay3aUJXHbKKLbT3RRtc6aa9iQwZqwNxYJhJS_BsHSwjUJ0G7IN8Oxk.2Wn_0. psZRSRUF18dlW13G5szGRNUg3Jnpo2hWfKe4Rh1AYD60GwDQ7qo036NyY6CKCO4eP7ymz3iF3xb. kJWyZlTTVXYzCNz56Pezw2GOdaC2BJe8rEiXoTIL2XI495Fz_3o6HDdzZv1nkAAtq5x3QjFJE91V PqPwM0edXgMrACyKb669uff0JjWL2Hwzt.Q.H.ZfcrbLAao6GpbZ1Lhdy_ib7kWr1XrOq888N2GO VK1D88t59Dv2JtLSOGXcKnEZKSnOYkgpDowc3NLeMu7OitmQ9ixdoM2YK9QO9u6zWnDIWIp4oDln mNgYxC3SiWOCfZmIsl7JDbYg.5ViVuG.5YxVp8vGm4Dmu8LlMbYkJBxS0mI1LWg69UnK5FTx9lzW RkrzFF8D9J1kVOV1xKFx6xmmFHWHq966vKIMVUICT6dIzFe_bnonwLtKNo8gSUL7Hr1TpyLT34nK r9EQZ9LKhsC_WxbKKvgTC0e.gLd21bORxV8xWleqHj.P4OsmCSAbrDzOrZsWfPYJKBha3N9DaHkU 4PuC3_nxzukMVyXIMUyqdRfFNaurWvKC3fUm3Z_woi_pvRh.c_CTKBvJ9ktl6KQlU.Xhbtt0C141 cZkbeGsaR7yqdrgUmH573A_N8fLXvBDhcdGo0B9FXjgavKv8PVfduDHsGWwr99fHNu3E3.gRv5Cn sdXeNHPQmKXlLUQP7KBqrsVMjcmvq39DxLEZCDB3Dj5aGJE_zgL6dx33oV5LAW7IurnhyJqXW.3z N17hsGZVrjkMALfbYnfsHuiGJo7ryb_MNG.lWI7jyOUwM6ypKllVQOA13p4VpD1J5g5RSyoUed6X ibcYksvGwHMXD5R3mLVEBk1o6.beZBhX5h2cA7yM.06d94jhi3Wodf.cWp5xm2HzT2U1X3bsqNOY MRIwXWlhM9F1ZArc5YztH2zJA.1qZdFWBo8ODEzWR6DQyI9WToZvE9XhvUzfoI0jMa_KhLMKpLR1 ipFSBh0cuwuhHIv39d0nSeVknHRiGSOLXWc4.hsKUSg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 26 Dec 2019 23:22:02 +0000 Received: by smtp419.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3431a1f15531a59271342e51e137c5ed; Thu, 26 Dec 2019 23:22:00 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: devel/freebsd-gcc9@powerpc (for example) : it has the clang vs. gcc vec_step name conflict (for powerpc families): build fails under clang Message-Id: Date: Thu, 26 Dec 2019 15:21:58 -0800 Cc: Gerald Pfeifer To: John Baldwin , FreeBSD Toolchain , freebsd-ppc@freebsd.org, FreeBSD ports X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47kQvw46q9z4Rbs X-Spamd-Bar: - X-Spamd-Result: default: False [-1.20 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.75)[-0.749,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.87), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.04)[0.045,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2019 23:22:05 -0000 I tried to build devel/freebsd-gcc9@powerpc on a powerpc64 (in an ELFv1 clang environment) and it reported (listing just one of the examples that pointed to vec_step): = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc/gcc-9.2.0/gcc/tree-vect= -loop.c:4595:12: error: expected unqualified-id tree vec_step =3D build_vector_from_val (cr_index_vector_type, = step); ^ (Unsure if white handling will still end up with ^ pointing to vec_step.) clang reserves a name that the gcc source code uses: vec_step . (I'll not get into the long, messy history of this name and multiple standards built on top of C/C++, not necessarily in a language appropriate way.) It turns out that: # ls -laT /usr/ports/devel/freebsd-gcc9/files/ total 44 drwxr-xr-x 2 root wheel 512 Dec 25 19:25:26 2019 . drwxr-xr-x 3 root wheel 512 Dec 25 19:25:26 2019 .. -rw-r--r-- 1 root wheel 4781 Dec 25 19:25:26 2019 = patch-freebsd-format-extensions -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:26 2019 = patch-freebsd-libdir -rw-r--r-- 1 root wheel 588 Dec 25 19:25:26 2019 = patch-gcc-configure -rw-r--r-- 1 root wheel 16346 Dec 25 19:25:26 2019 = patch-gcc-freebsd-mips -rw-r--r-- 1 root wheel 231 Dec 25 19:25:26 2019 xtoolchain.mk.in is missing the patch-clang-vec_step that is in: FBSDG5L2# ls -laT /usr/ports/lang/gcc9/files/ total 32 drwxr-xr-x 2 root wheel 512 Dec 25 20:57:52 2019 . drwxr-xr-x 3 root wheel 512 Dec 25 21:07:33 2019 .. -rw-r--r-- 1 root wheel 3450 Jun 1 18:44:50 2019 = patch-arm-unwind-cxx-support -rw-r--r-- 1 root wheel 651 Sep 18 11:08:37 2019 = patch-clang-vec_step -rw-r--r-- 1 root wheel 2148 Jun 1 18:44:50 2019 patch-gets-no-more -rw-r--r-- 1 root wheel 2897 Jun 1 18:44:50 2019 = patch-gfortran-libgcc -rw-r--r-- 1 root wheel 932 Dec 25 19:25:10 2019 patch-powerpc32 -rw-r--r-- 1 root wheel 294 Sep 15 13:10:46 2019 pkg-message.in I do not know if other differences in the patch lists might be important to other aspects (in either direction). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)