From owner-freebsd-toolchain@freebsd.org Sun Dec 15 03:13:34 2019 Return-Path: Delivered-To: freebsd-toolchain@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 2545A1E0067 for ; Sun, 15 Dec 2019 03:13:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 47b8cX50yKz44J3 for ; Sun, 15 Dec 2019 03:13:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: T6RnjroVM1kKvSE0yXF6UOlj7iC3kjfIShAfd5p9AAVnGf5P7r0xCeEXx64qclA 0eoLiAOx67XjjfW7yAa3XmsdQ.ZwQGXsVrZNIPVzSkeR9LyK2HxLo396AUQBHWGIyRHod71k8u8D tXUDnRuHQq4Rp3kZafnhYi.8UQUoyDl8L0JeOYMni8zm_Wu.d4dEcKfxrmVeI61EGuT0msfS7wp. CQsDbuGHU8G7Y8YcCWKuropN41auB2n5HFH.ABYk5DojX_NDw8B1BBVngCjlO0xSHNyWvtWq2poe KqPWkmeTCo3TvNa62LqM5btSiqK2de8FdkPDYcPW9Ids92cWFBe5924vCxX7FQKpANczsMFHH5SK hLMSs181d9ZEbUbez_FxE1Fv5PH_F3tsFlpjwzeVHN6tgD7Sl3iUQCUIE9XcWRQ4MoLN_rn8g4Q5 62usSa0aQZZuKHuJ05bJ34vpS5gx7ubTs8xWlbfesRibCy37ZbhYQ0hrC6AVW2MfvimmVhSJTXVH vaZLbMnhXQg1eAPSCODtbk.WYBFC4qmK8tFc5MK7J2X94fwwBuznHdRT3umEyPe_pYlyyHFPf6FS FkSIkPN_B78jKeDFQ4P7u8uQtTBs1FabIRtHfZE1bF_R60.GLKMC0DYtXPdjt20jtsXIQawqbgwc KZZjGVhfG3bINjC6qs0BdYbZI6E2pHbOGx2GVY91mR4vTJ0hqIrQJwYvou92MmKUddhoSQ..9fbP wOfVeDJ3IZNidz336GLty.dIZf_HuAQV_nRJIW0lrZR8Sg9g6CHArZzRxyPewuWzR6OlwOXR4VaE T4XjneVT6H2F977QUvZrG6x_HKOB1HT_fnqzQUbSq9GhC061apzXWU_KPZn5wU1x61zNn2AW0QOs S8.vVH3_H5h5.gHpyBPxVkKjQ9EjVx94JcjEuodBEJeKTHGmW0U84TSm8PXIOIdCHC0uUaXhEJNX 1dNcvFuTLabK1pxZFmBlta2effe3fizoMnyiMkap5Gqfbja1VNL1CCihO3Z9jVhaTH1q2_W8yqQK Av.cw6GSkmLonKLWWlEFr16wzD1D6vSkdwqmyhEXYV4_3BQ1_mU.EAsf_g4BegjVK.Vdd6spKQ7w KnE6zB1iOzl4z2FopT6_LsBdPEN7AKPpVoMHu9CwtscaSCfhGbKlvRsEsjVd0qmnk3c5f0SMeu.O ZTTNo7KtQfdke07TSAvRyAe0ZFClwzv6mTsA8sYhDe2E7yiLhRrApSI2guCqOSvE_a11DzzNzDlz 2N_DSrBD8o2Zm.Jy5TLM7pzQOPWhg1W312f3XzD9GAGZZgVHfOB2QBG0lT6fEkrNA0O7jpyfqqYY oh9yW41pq22M6haljGol7EAXiDSZmOi5OTD_xL6JdUdVWynyvv4bdM1gzbU0vr_eFCYpq0I5Jopk 1g6BUY0FiaFmWnLrLkJQo Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 15 Dec 2019 03:13:29 +0000 Received: by smtp430.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 21d272d1685cdc8a15f440cc98e19b53; Sun, 15 Dec 2019 03:13:26 +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: head -r355761 for amd64 self-hosted: installworld failed for: "btxld: not found" Message-Id: Date: Sat, 14 Dec 2019 19:13:25 -0800 To: FreeBSD Toolchain X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47b8cX50yKz44J3 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[148.65.137.98.list.dnswl.org : 127.0.5.0]; MV_CASE(0.50)[]; IP_SCORE(0.00)[ip: (0.12), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; 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)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 03:13:34 -0000 I give various details based on how I got past it as well as the original error messages. This was a -j32 threadripper 1950X context at the start: the installworld with -j32 got: --- realinstall_subdir_stand --- btxld -v -E 0x2000 -f bin -b = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/stand/i386/btx/btx/bt= x -l boot2.ldr -o boot2.ld -P 1 boot2.bin . . . --- realinstall_subdir_stand --- sh: btxld: not found . . . --- realinstall_subdir_stand --- *** [boot2.ld] Error code 127 However retrying without the -j32 got: =3D=3D=3D> stand/i386/btx (install) =3D=3D=3D> stand/i386/btx/btx (install) =3D=3D=3D> stand/i386/btx/btxldr (install) =3D=3D=3D> stand/i386/btx/lib (install) =3D=3D=3D> stand/i386/boot2 (install) btxld -v -E 0x2000 -f bin -b = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/stand/i386/btx/btx/bt= x -l boot2.ldr -o boot2.ld -P 1 boot2.bin make[6]: exec(btxld) failed (No such file or directory) *** Error code 1 Stop. make[6]: stopped in /usr/src/stand/i386/boot2 *** Error code 1 Retrying the buildworld buildkernel and then the installworld, all without -j32 and without forcing it to start from scratch, got past the problem. The original -j32 buildworld buildkernel log shows: # grep "btxld\>" = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2019-12-1= 4:18:01:22 | more --- includes_subdir_usr.sbin/btxld --- =3D=3D=3D> usr.sbin/btxld (includes) --- all_subdir_usr.sbin/btxld --- =3D=3D=3D> usr.sbin/btxld (all) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= o --- all_subdir_usr.sbin/btxld --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/elfh.o= Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= full --- all_subdir_usr.sbin/btxld --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= debug Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld The times in that directory show that the non-j32 build did generate btxld and btxld.debug but the btx.full was from the earlier -j32 build: # ls -laTt = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/ total 200 -rw-r--r-- 1 root wheel 715 Dec 14 18:46:16 2019 btxld.meta -rwxr-xr-x 1 root wheel 27504 Dec 14 18:46:16 2019 btxld -rw-r--r-- 1 root wheel 550 Dec 14 18:46:16 2019 btxld.debug.meta -rwxr-xr-x 1 root wheel 28968 Dec 14 18:46:16 2019 btxld.debug -rwxr-xr-x 1 root wheel 49568 Dec 14 18:19:13 2019 btxld.full drwxrwxr-x 2 root wheel 512 Dec 14 18:18:54 2019 . -rw-r--r-- 1 root wheel 3308 Dec 14 18:18:54 2019 btxld.full.meta -rw-r--r-- 1 root wheel 4088 Dec 14 18:18:54 2019 elfh.o.meta -rw-r--r-- 1 root wheel 4880 Dec 14 18:18:54 2019 elfh.o -rw-r--r-- 1 root wheel 7371 Dec 14 18:18:54 2019 btxld.o.meta -rw-r--r-- 1 root wheel 37824 Dec 14 18:18:54 2019 btxld.o drwxrwxr-x 225 root wheel 4096 Nov 22 22:53:23 2019 .. -rw-r--r-- 1 root wheel 971 Nov 9 08:29:35 2018 btxld.8.gz.meta -rw-r--r-- 1 root wheel 1429 Nov 9 08:29:35 2018 btxld.8.gz I do not know if this is some sort of race that silently stopped btxld and btxld.debug from being generated (despite the "Building" lines). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Dec 15 12:06:38 2019 Return-Path: Delivered-To: freebsd-toolchain@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 DFC8F1EB8C4 for ; Sun, 15 Dec 2019 12:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47bNRf5fzDz4TQl for ; Sun, 15 Dec 2019 12:06:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C070D1EB8BF; Sun, 15 Dec 2019 12:06:38 +0000 (UTC) Delivered-To: toolchain@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 C037A1EB8BE for ; Sun, 15 Dec 2019 12:06:38 +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 47bNRf4j2bz4TQj for ; Sun, 15 Dec 2019 12:06:38 +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 96EE8CD57 for ; Sun, 15 Dec 2019 12:06:38 +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 xBFC6cnJ010145 for ; Sun, 15 Dec 2019 12:06:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBFC6cDK010131 for toolchain@FreeBSD.org; Sun, 15 Dec 2019 12:06:38 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: toolchain@FreeBSD.org Subject: [Bug 239266] lang/gcc8 (and lang/gcc9) fail to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id Date: Sun, 15 Dec 2019 12:06:37 +0000 X-Bugzilla-Reason: AssignedTo 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: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 12:06:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #31 from Piotr Kubaj --- Already fixed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sun Dec 15 21:00:59 2019 Return-Path: Delivered-To: freebsd-toolchain@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 01F8A1CE644 for ; Sun, 15 Dec 2019 21:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47bcJB6LzZz3wp7 for ; Sun, 15 Dec 2019 21:00:58 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id D9BD31CE63D; Sun, 15 Dec 2019 21:00:58 +0000 (UTC) Delivered-To: toolchain@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 D95DD1CE63C for ; Sun, 15 Dec 2019 21:00:58 +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 47bcJB5Vc6z3wp4 for ; Sun, 15 Dec 2019 21:00:58 +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 B64871ACF9 for ; Sun, 15 Dec 2019 21:00:58 +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 xBFL0weE047521 for ; Sun, 15 Dec 2019 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBFL0wlX047520 for toolchain@FreeBSD.org; Sun, 15 Dec 2019 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201912152100.xBFL0wlX047520@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: toolchain@FreeBSD.org Subject: Problem reports for toolchain@FreeBSD.org that need special attention Date: Sun, 15 Dec 2019 21:00:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 21:00:59 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 234232 | clang Assertion failed when building the port dev 1 problems total for which you should take action. From owner-freebsd-toolchain@freebsd.org Sun Dec 15 21:49:49 2019 Return-Path: Delivered-To: freebsd-toolchain@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 9C1F31D030E for ; Sun, 15 Dec 2019 21:49:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (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 47bdNX5JFsz41LP for ; Sun, 15 Dec 2019 21:49:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: lLykkt0VM1lwwu1wm2CaD4WmtroX04N74zP7SkuB6BM50OUW6LWhnfgwG8u1jil FWStahfa20PdylYiOoIwGOrzdWXqMJzl9GSG1Q7i6SPVyZ3fIX5zYWX4tFpXRRrGCOKKRZ00UCK2 vXRmj3HTQNw7LECeWhwFDTMWcot56lPhaNemKv6GibPzkp_k13KxHHh0EAf09epjCfiONSPq2XfB nN8ZrF89ucPabbr9wSbEEpyQyY9526ujiVnwTz6WfwkWz9ybLydkcQAcngMsJS.QFoi2DlPcGcJA g.Q0WPl55UaX295Udzcz4PyshfxYYpYB2S5Eh6Ld26._ogiGeLcYwGWXYx5ejO4ltCF6YG2f5v39 ksshbGT1s_s.8a2QrKQWK4yzlum1xJZnrNZolaCqPwbFdOL2D06Sv0WkJMEkzk580nYWQ4WbhJHB bTZqsqhxTsU4i2JQ6ylKFW_JRKdsv4ClwhU0ZVzXNA1En.Nk2.NgKaDUB0_2KBMoYTRsIZFZgMpd 7nz6_KgkZyunHrdcHTMuZnMzjnwnModMNYXnt6lzZ4FFRTJOtI5ISByJ0jzY2aDZmAfhmRc24yUG o02SMJKi3sXW9OGnMUG0TAa.8.o9ZUohQhCmiH85JgTclVLUZt_sKzD4q9kZbVavPslu8bHyM2gk TX0nVFPyCCfDsPP4wWEu.p5vRzTQq8fRqEvTm5.G_aQiYQrUeQgJDFGwcpGFCjTUItFPi4J7Zs3P AJBFFE.KYPBl7E0MUV24dAs9Dsp9eBn9QLKUoTONqR80_qPgU77ardAcPLSNm.JFEk4SqSdvw67D hJ1dXM_U4F5bsoPBoR9rPwYhvhuBAQpoopHFlRkp23E24L2G_2QcVEFzGk1Uvnmh5rLvYBazxzbF nctVfs7sT.ih5FQNu9rYcl0W_puglQnPgemGp.2AfYqGnK8GBbUu.Jl0UC4kzwQG4Zc5yfBlVEYN UL0116FsdBJ8zBRlLXUnyF0C68Tjzaf_dYw_Cusy7NkUpzSkj2YZv_ZRPXEMx9TLKRwVKv2zUdYF hpx.Vn24SR3PncAJzhLKVnY4qyZx.YNBfi6mrRmeqN4vfxT5ItQXUfFp4YELKmmfmeOjQo_jyoZW YepCfLjXEM0qUTwQvJBxkgwfiCdyLKoYhNGU1ho9tVn7ILS0TdMgNh9l_ALHwOXjrXNuL7LtrlST ODmrYcnXWTkW9Zcml25idn1GNfoWNcAQJqbrMgJY3isTkoNUQZQSOrqhQtOFY1GlR3wK7RtTMcdj kGYLJxsSWODXF24zQf_hgSV.rh54C9vgUfxsSPUCDucFra6CT6pCr13.6pQ9V7JA87Luan5TbT3U 8fxhaDU7okRKeBmqaJ1iHR.tIVUg38UH1bmBCqmiTQPohuVK.BFOvu471ckkbFWpADTbz6aAR4x1 19cmOUHg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sun, 15 Dec 2019 21:49:45 +0000 Received: by smtp428.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3594890208af9d0f6b72a90b683c9e3b; Sun, 15 Dec 2019 21:49:40 +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: Re: head -r355761 for amd64 self-hosted: installworld failed for: "btxld: not found" (-r35777 too, more sequencing evidence) Date: Sun, 15 Dec 2019 13:49:39 -0800 References: To: FreeBSD Toolchain In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47bdNX5JFsz41LP X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.741,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.86)[-0.859,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[206.64.137.98.list.dnswl.org : 127.0.5.0]; MV_CASE(0.50)[]; IP_SCORE(0.00)[ip: (2.81), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; 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] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 21:49:49 -0000 On 2019-Dec-14, at 19:13, Mark Millard wrote: > I give various details based on how I got past it as well > as the original error messages. >=20 > This was a -j32 threadripper 1950X context at the start: > the installworld with -j32 got: >=20 > --- realinstall_subdir_stand --- > btxld -v -E 0x2000 -f bin -b = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/stand/i386/btx/btx/bt= x -l boot2.ldr -o boot2.ld -P 1 boot2.bin > . . . > --- realinstall_subdir_stand --- > sh: btxld: not found > . . . > --- realinstall_subdir_stand --- > *** [boot2.ld] Error code 127 >=20 >=20 > However retrying without the -j32 got: >=20 > =3D=3D=3D> stand/i386/btx (install) > =3D=3D=3D> stand/i386/btx/btx (install) > =3D=3D=3D> stand/i386/btx/btxldr (install) > =3D=3D=3D> stand/i386/btx/lib (install) > =3D=3D=3D> stand/i386/boot2 (install) > btxld -v -E 0x2000 -f bin -b = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/stand/i386/btx/btx/bt= x -l boot2.ldr -o boot2.ld -P 1 boot2.bin > make[6]: exec(btxld) failed (No such file or directory) > *** Error code 1 >=20 > Stop. > make[6]: stopped in /usr/src/stand/i386/boot2 > *** Error code 1 >=20 >=20 > Retrying the buildworld buildkernel and then the installworld, > all without -j32 and without forcing it to start from > scratch, got past the problem. >=20 > The original -j32 buildworld buildkernel log shows: >=20 > # grep "btxld\>" = ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2019-12-1= 4:18:01:22 | more > --- includes_subdir_usr.sbin/btxld --- > =3D=3D=3D> usr.sbin/btxld (includes) > --- all_subdir_usr.sbin/btxld --- > =3D=3D=3D> usr.sbin/btxld (all) > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= o > --- all_subdir_usr.sbin/btxld --- > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/elfh.o= > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= full > --- all_subdir_usr.sbin/btxld --- > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld.= debug > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/btxld >=20 > The times in that directory show that the non-j32 build > did generate btxld and btxld.debug but the btx.full was > from the earlier -j32 build: >=20 > # ls -laTt = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/ > total 200 > -rw-r--r-- 1 root wheel 715 Dec 14 18:46:16 2019 btxld.meta > -rwxr-xr-x 1 root wheel 27504 Dec 14 18:46:16 2019 btxld > -rw-r--r-- 1 root wheel 550 Dec 14 18:46:16 2019 = btxld.debug.meta > -rwxr-xr-x 1 root wheel 28968 Dec 14 18:46:16 2019 btxld.debug > -rwxr-xr-x 1 root wheel 49568 Dec 14 18:19:13 2019 btxld.full > drwxrwxr-x 2 root wheel 512 Dec 14 18:18:54 2019 . > -rw-r--r-- 1 root wheel 3308 Dec 14 18:18:54 2019 = btxld.full.meta > -rw-r--r-- 1 root wheel 4088 Dec 14 18:18:54 2019 elfh.o.meta > -rw-r--r-- 1 root wheel 4880 Dec 14 18:18:54 2019 elfh.o > -rw-r--r-- 1 root wheel 7371 Dec 14 18:18:54 2019 btxld.o.meta > -rw-r--r-- 1 root wheel 37824 Dec 14 18:18:54 2019 btxld.o > drwxrwxr-x 225 root wheel 4096 Nov 22 22:53:23 2019 .. > -rw-r--r-- 1 root wheel 971 Nov 9 08:29:35 2018 = btxld.8.gz.meta > -rw-r--r-- 1 root wheel 1429 Nov 9 08:29:35 2018 btxld.8.gz >=20 > I do not know if this is some sort of race that silently > stopped btxld and btxld.debug from being generated (despite > the "Building" lines). The installworld failure happened again when I tried to update to head -r355777 . This time I'm looking at the buildworld directory content before trying the not from scratch rebuild (possibly without -j32): # ls -laTt = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/ total 200 -rwxr-xr-x 1 root wheel 49568 Dec 15 12:14:30 2019 btxld.full -rw-r--r-- 1 root wheel 754 Dec 15 12:14:03 2019 btxld.meta -rwxr-xr-x 1 root wheel 27504 Dec 15 12:14:03 2019 btxld -rw-r--r-- 1 root wheel 735 Dec 15 12:14:03 2019 btxld.debug.meta -rwxr-xr-x 1 root wheel 28968 Dec 15 12:14:03 2019 btxld.debug drwxrwxr-x 2 root wheel 512 Dec 15 12:14:02 2019 . -rw-r--r-- 1 root wheel 3308 Dec 15 12:14:02 2019 btxld.full.meta -rw-r--r-- 1 root wheel 4088 Dec 15 12:14:02 2019 elfh.o.meta -rw-r--r-- 1 root wheel 4880 Dec 15 12:14:02 2019 elfh.o -rw-r--r-- 1 root wheel 7371 Dec 15 12:14:02 2019 btxld.o.meta -rw-r--r-- 1 root wheel 37824 Dec 15 12:14:02 2019 btxld.o drwxrwxr-x 225 root wheel 4096 Nov 22 22:53:23 2019 .. -rw-r--r-- 1 root wheel 971 Nov 9 08:29:35 2018 btxld.8.gz.meta -rw-r--r-- 1 root wheel 1429 Nov 9 08:29:35 2018 btxld.8.gz It looks like btxld.full finished well after btxld.debug and btxld finished (despite btxld.full.meta being first). But the Start/Stop figures listed in the .meta files do not show this (I edited to align text to make comparison easier): # cd = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/ # egrep -r "(Start|Stop)" *.meta | sort -k 3 btxld.8.gz.meta:# Start 1541780975.497012 btxld.8.gz.meta:# Stop 1541780975.497012 btxld.o.meta:# Start 1576440842.623179 btxld.o.meta:# Stop 1576440842.932180 elfh.o.meta:# Start 1576440842.933179 elfh.o.meta:# Stop 1576440842.974180 btxld.full.meta:# Start 1576440842.975180 btxld.debug.meta:# Start 1576440842.998180 btxld.full.meta:# Stop 1576440842.998180 btxld.debug.meta:# Stop 1576440843.001179 btxld.meta:# Start 1576440843.001179 btxld.meta:# Stop 1576440843.004179 (I did not sub-sort equal timestamps so ordering information is not unique for such.) After the rebuild (not from scratch but with -j32 still): # ls -laTt = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.sbin/btxld/ total 200 -rw-r--r-- 1 root wheel 754 Dec 15 13:39:44 2019 btxld.meta -rwxr-xr-x 1 root wheel 27504 Dec 15 13:39:44 2019 btxld -rw-r--r-- 1 root wheel 735 Dec 15 13:39:44 2019 btxld.debug.meta -rwxr-xr-x 1 root wheel 28968 Dec 15 13:39:44 2019 btxld.debug -rwxr-xr-x 1 root wheel 49568 Dec 15 12:14:30 2019 btxld.full drwxrwxr-x 2 root wheel 512 Dec 15 12:14:02 2019 . -rw-r--r-- 1 root wheel 3308 Dec 15 12:14:02 2019 btxld.full.meta -rw-r--r-- 1 root wheel 4088 Dec 15 12:14:02 2019 elfh.o.meta -rw-r--r-- 1 root wheel 4880 Dec 15 12:14:02 2019 elfh.o -rw-r--r-- 1 root wheel 7371 Dec 15 12:14:02 2019 btxld.o.meta -rw-r--r-- 1 root wheel 37824 Dec 15 12:14:02 2019 btxld.o drwxrwxr-x 225 root wheel 4096 Nov 22 22:53:23 2019 .. -rw-r--r-- 1 root wheel 971 Nov 9 08:29:35 2018 btxld.8.gz.meta -rw-r--r-- 1 root wheel 1429 Nov 9 08:29:35 2018 btxld.8.gz And, again, the installworld worked after that. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Mon Dec 16 14:09:21 2019 Return-Path: Delivered-To: freebsd-toolchain@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 BD6261E50D8 for ; Mon, 16 Dec 2019 14:09:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47c36n4dNcz3M47 for ; Mon, 16 Dec 2019 14:09:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9ED841E50D5; Mon, 16 Dec 2019 14:09:21 +0000 (UTC) Delivered-To: toolchain@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 9E9C01E50D4 for ; Mon, 16 Dec 2019 14:09:21 +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 47c36n3nyFz3M46 for ; Mon, 16 Dec 2019 14:09:21 +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 7DE1E2659A for ; Mon, 16 Dec 2019 14:09:21 +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 xBGE9LwS010400 for ; Mon, 16 Dec 2019 14:09:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBGE9LIl010399 for toolchain@FreeBSD.org; Mon, 16 Dec 2019 14:09:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 233664] enable LLVM libunwind for armv7, armv6 Date: Mon, 16 Dec 2019 14:09:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mmel@FreeBSD.org X-Bugzilla-Flags: mfc-stable12- mfc-stable11- 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 14:09:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233664 --- Comment #15 from commit-hook@freebsd.org --- A commit references this bug: Author: mmel Date: Mon Dec 16 14:08:50 UTC 2019 New revision: 355803 URL: https://svnweb.freebsd.org/changeset/base/355803 Log: Fix LLVM libunwnwind _Unwind_Backtrace symbol version for ARM. In original GNU libgcc, _Unwind_Backtrace is published with GCC_3.3 vers= ion for all architectures but ARM. For ARM should be publishes with GCC_4.3.0 version. This was originally omitted in r255095, fixed in r318024 and omi= tted aging in LLVM libunwind implementation in r354347. For ARM _Unwind_Backtrace should be published as default with GCC_4.3.0 version , (because this is right original version) and again as normal(not-default) with GCC_3.3 version (to maintain ABI compatibility compiled/linked with wrong pre r318024 libgcc) PR: 233664 Changes: head/contrib/libunwind/src/UnwindLevel1-gcc-ext.c head/lib/libgcc_s/Makefile head/lib/libgcc_s/Symbol.map head/lib/libgcc_s/SymbolDefault.map head/lib/libgcc_s/arm/Symbol.map --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Mon Dec 16 14:12:18 2019 Return-Path: Delivered-To: freebsd-toolchain@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 A5DDA1E52AC for ; Mon, 16 Dec 2019 14:12:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47c3BB418zz3MJW for ; Mon, 16 Dec 2019 14:12:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 89AAB1E52AB; Mon, 16 Dec 2019 14:12:18 +0000 (UTC) Delivered-To: toolchain@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 896FC1E52AA for ; Mon, 16 Dec 2019 14:12:18 +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 47c3BB3Bfvz3MJT for ; Mon, 16 Dec 2019 14:12:18 +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 693AD26743 for ; Mon, 16 Dec 2019 14:12:18 +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 xBGECIo4022998 for ; Mon, 16 Dec 2019 14:12:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBGECIu3022997 for toolchain@FreeBSD.org; Mon, 16 Dec 2019 14:12:18 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: toolchain@FreeBSD.org Subject: [Bug 239266] lang/gcc8 (and lang/gcc9) fail to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id Date: Mon, 16 Dec 2019 14:12:17 +0000 X-Bugzilla-Reason: CC AssignedTo 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: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2019 14:12:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|toolchain@FreeBSD.org |gerald@FreeBSD.org CC| |toolchain@FreeBSD.org --- Comment #32 from Kubilay Kocak --- ^Triage: Assign to committer that resolved --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Dec 18 21:48:56 2019 Return-Path: Delivered-To: freebsd-toolchain@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 088F11E6F21; Wed, 18 Dec 2019 21:48:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dTD76Mt9z3JQt; Wed, 18 Dec 2019 21:48:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from visnet-127.csl.sri.com (visnet-127.csl.sri.com [130.107.98.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 96C0B16899; Wed, 18 Dec 2019 21:48:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) To: "freebsd-toolchain@FreeBSD.org" Cc: "freebsd-current@freebsd.org" From: John Baldwin Subject: New external GCC toolchain ports/packages Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Wed, 18 Dec 2019 13:48:54 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 21:48:56 -0000 In the interest of supporting newer versions of GCC for a base system toolchain, I've renamed the external GCC packages from -gcc to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 port. The xtoolchain package is not used for these new packages, instead one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this compiler to 6.5.0. I will leave the old ports/packages around for now to permit an easy transition, but going forward, the -gcc6 packages should be preferred to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc are separate from the powerpc64-gcc set of packages). In addition, I've also just added a devel/freebsd-gcc9 package which builds -gcc9 packages. It adds powerpc and riscv flavors relative to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to be able to finish a buildworld on any of the platforms I've tried (amd64, mips, sparc64), but the packages should permit other developers to get the tree building with GCC 9. To use these packages one would do something like: # pkg install amd64-gcc9 # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 You can install both the gcc6 and gcc9 versions of a package at the same time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major versions is similar to llvm and will also let us keep a known-good toolchain package for older releases while using newer major versions on newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). I do plan to switch the default toolchains for make universe/tinderbox for targets using -xtoolchain-gcc based on GCC 6 over to the freebsd-gcc6 variants in the next week or so. -- John Baldwin From owner-freebsd-toolchain@freebsd.org Thu Dec 19 00:16:36 2019 Return-Path: Delivered-To: freebsd-toolchain@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 95B2E1CA2D4 for ; Thu, 19 Dec 2019 00:16:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (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 47dXVV4jJBz3RDZ for ; Thu, 19 Dec 2019 00:16:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 5QnFCY0VM1mAFo.myqYhy8BQgzw4H_dfuPjP2aBrQLnGGw7IHGO2WHAbmdP0jqn Tnb5v32P9JxBBgHnODtN5czAgCz3k.pj.MLfCU7xMGuK3T8aGUlZ7BKv3gMjDFmad5j0SGZFGcsn cX7lmd0nTygU5ZRc9PYpnxTYPMH6j1MrvJAaBBaQ7n70qwI_bF.wqc5gotyhuECeM4fLgRqUay32 ph6h31Z6TOVyfWASDtbM_mFbjij3gG.R9gyOkdTcc978N17AytJLMGy4TK5HcjVqjLglKshys0de dKHapP6L.Ls1m0zml8l7WdVqnUnE6J3P7FulS8QXHGkJul4M6tCzhXfOW_vjk9z7maRDhKwxDpo. 720sw3ZLi_otHwMedLWBbjBVykIfuAbZmy2thyXyZ3hWVWWygY8za0KN_LbNaQSJJ5RnjayGC6UF phci9PBBzvc2UuAP6E3Skb_xeto.xt8bKHMiCRfr9tFNcUwvjBAAQbFHywG6j5I2mXQAA6vAJPRP YXLr3H0AL7ZGPKaBJmrT6QLgJ5FM3x.w7cuUP7RlBB5Vrxdq_zf8KUf_F6IMc5CNjxTdCjzW3FXV VuR2s_nHlK2gap8ZaAq8LK.XIMjOk6hQvQxv1uLoKjmGiaQAKnONX2gdrO2DE7HKa0tVvBcjDrlr mtiY4hI867Clw.T94Uy3KJBzrwDUlC7gYXsguPpoojXox6Nv7oO8Ou0bltqp8nFegqhkjZGb8OVH f_avqAarPyAuCT5ezGtJt8ZhTbiOmp5YK2FzqaXAYVtP9U.yeMrQyuigwvHiX9CwoN7SQvDPT63h lu4WmquAj4rFkgW1GlneWwaXp_4rQwuYpq_rZUXyTe0WUOxR8F87SYnXr7YResebQJE3ZMfa5sGe CJFf7yZninyDVX5e91FXALYBRbPbP.zP0bBy0rpxcsW8uO0G.3P.U7w_KImHZN5ru2_NcxuNa71j PjeePnQP_RtkUgy32HkGGjc3aCrUUfD2IpDOPviiC_1VAfWr0qHeERHJPikOSfUTFxPVtkBmyRsR BJJYXzM3LJYBKsPek9Z1k2KwahGsnXqu3RlraUr04Tx9gImpvxm0KRfcAuR_U5UL2lWF56y8UfHD qi75MsnDVxrNYreHIYwxIg6nM9y3w0meUkmbYl7PwCOApul28JjBCjE1NwgyhkRC4C1elpysBvLe O8dbQO2uBgC1tMk1mycw9zxtBTilJfHClRpw6w3xUuW4ukkoVFexbZg2BtidmxpY2UNxjTtMF4B. gF0uM5k11BVntPeHWnItT7iaxDZZurcYG47uxsG7_5nxZ03AKeQVYoDT8OFb1faAmOaTr0_YysEQ VkkT7cmJTM4tN7G4SRe1nQ33BRebbyAui.pUinZa_2XUoBTttEaMI6DybkSuS66dDMCrmyHsPFW1 DdNGzonVlCZqSUH2RYOIf0DXFOJza210- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Thu, 19 Dec 2019 00:16:32 +0000 Received: by smtp410.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0b82335c435ef690743e8ced2d583042; Thu, 19 Dec 2019 00:16:30 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: New external GCC toolchain ports/packages From: Mark Millard In-Reply-To: Date: Wed, 18 Dec 2019 16:16:30 -0800 Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0DECD119-7E15-42AF-9B93-47F992FDD4F7@yahoo.com> References: To: John Baldwin X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47dXVV4jJBz3RDZ X-Spamd-Bar: - X-Spamd-Result: default: False [-1.96 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; 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)[]; NEURAL_HAM_MEDIUM(-0.84)[-0.842,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.62)[-0.615,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.76), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[146.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 00:16:36 -0000 On 2019-Dec-18, at 13:48, John Baldwin wrote: > In the interest of supporting newer versions of GCC for a base system > toolchain, I've renamed the external GCC packages from -gcc > to -gcc6. These are built as flavors of a new = devel/freebsd-gcc6 > port. The xtoolchain package is not used for these new packages, = instead > one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > uses 'CROSS_TOOLCHAIN=3Dmips-gcc6'. I've also gone ahead and updated = this > compiler to 6.5.0. >=20 > I will leave the old ports/packages around for now to permit an easy > transition, but going forward, the -gcc6 packages should be = preferred > to -xtoolchain-gcc for all but riscv (riscv64-gcc and = riscv64-xtoolchain-gcc > are separate from the powerpc64-gcc set of packages). >=20 > In addition, I've also just added a devel/freebsd-gcc9 package which > builds -gcc9 packages. It adds powerpc and riscv flavors = relative > to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > be able to finish a buildworld on any of the platforms I've tried > (amd64, mips, sparc64), but the packages should permit other = developers > to get the tree building with GCC 9. To use these packages one would = do > something like: >=20 > # pkg install amd64-gcc9 > # make buildworld CROSS_TOOLCHAIN=3Damd64-gcc9 >=20 > You can install both the gcc6 and gcc9 versions of a package at the = same > time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for = major > versions is similar to llvm and will also let us keep a known-good > toolchain package for older releases while using newer major versions = on > newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). >=20 > I do plan to switch the default toolchains for make universe/tinderbox > for targets using -xtoolchain-gcc based on GCC 6 over to the > freebsd-gcc6 variants in the next week or so. >=20 How about base/binutils and base/gcc ? Is their (future?) status changed by any of this activity? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Thu Dec 19 18:51:41 2019 Return-Path: Delivered-To: freebsd-toolchain@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 6B02C1E7C8C; Thu, 19 Dec 2019 18:51:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f1F920Cnz40Ny; Thu, 19 Dec 2019 18:51:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-7.local (unknown [192.5.67.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id A24782CF; Thu, 19 Dec 2019 18:51:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: Re: New external GCC toolchain ports/packages To: Mark Millard Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" References: <0DECD119-7E15-42AF-9B93-47F992FDD4F7@yahoo.com> From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Thu, 19 Dec 2019 10:51:37 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <0DECD119-7E15-42AF-9B93-47F992FDD4F7@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 18:51:41 -0000 On 12/18/19 4:16 PM, Mark Millard wrote: > > > On 2019-Dec-18, at 13:48, John Baldwin wrote: > >> In the interest of supporting newer versions of GCC for a base system >> toolchain, I've renamed the external GCC packages from -gcc >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 >> port. The xtoolchain package is not used for these new packages, instead >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this >> compiler to 6.5.0. >> >> I will leave the old ports/packages around for now to permit an easy >> transition, but going forward, the -gcc6 packages should be preferred >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc >> are separate from the powerpc64-gcc set of packages). >> >> In addition, I've also just added a devel/freebsd-gcc9 package which >> builds -gcc9 packages. It adds powerpc and riscv flavors relative >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to >> be able to finish a buildworld on any of the platforms I've tried >> (amd64, mips, sparc64), but the packages should permit other developers >> to get the tree building with GCC 9. To use these packages one would do >> something like: >> >> # pkg install amd64-gcc9 >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 >> >> You can install both the gcc6 and gcc9 versions of a package at the same >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major >> versions is similar to llvm and will also let us keep a known-good >> toolchain package for older releases while using newer major versions on >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). >> >> I do plan to switch the default toolchains for make universe/tinderbox >> for targets using -xtoolchain-gcc based on GCC 6 over to the >> freebsd-gcc6 variants in the next week or so. >> > > How about base/binutils and base/gcc ? Is their (future?) status > changed by any of this activity? I plan to rename base/gcc to base/gcc6 (and update it to 6.5) and then add a base/gcc9 that would provide GCC 9 as /usr/bin/cc. -- John Baldwin From owner-freebsd-toolchain@freebsd.org Thu Dec 19 20:06:23 2019 Return-Path: Delivered-To: freebsd-toolchain@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 905EF1E9F16; Thu, 19 Dec 2019 20:06:23 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f2vM3HHJz44jY; Thu, 19 Dec 2019 20:06:23 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-qv1-f47.google.com with SMTP id o18so2743927qvf.1; Thu, 19 Dec 2019 12:06:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QI6cwzpbRYd596q7wpAvLXaNg+TbwgQHmQNZzhNWREI=; b=TYNTywX66BDbBWUj7nsXq2jj05abZtuM8GEDAPFOvUferjCix099Yi186wacHJJ9hb rURcq0RZOTaaQ3w/rnrMiyYfZSAS+jvj7ZgVPlY7OesspOwRrbI9NDxqIbXQ7P+tatF0 3tT1tlxMYJLGtA1rG1JA3lPIZYyS+tco3ZRk//d0oMPV2Ye46T51+6Eg0Po547FJJt2/ 2h5b+73+AGUbNCH0oci9mL9ILGcu6PLChsFeMgKnVX3OsctYq1MiInBJBVciBC3xLW5l ZS5wDQc6H2agmLfu5xa1czOyudY6yPTElT/FgaOYODK5X4Z9OoEc9V/MJ7/gZjkHmIqM B9ag== X-Gm-Message-State: APjAAAXlVc3OcvUw8/VJoLPEcO0EsqM0wdIfrMKNBzCkc8amMdq4OyoK 78pWAm+5WFfDKwTB+oBq5rITqVni X-Google-Smtp-Source: APXvYqxVl5n5VtBvzKtCcKL5+sm3CD6zWcpzfb5VIj+O9aKC2ko7J2QseDh9UVCeNm+szjSkr1wdVQ== X-Received: by 2002:ad4:53a5:: with SMTP id j5mr6622822qvv.239.1576785981142; Thu, 19 Dec 2019 12:06:21 -0800 (PST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com. [209.85.222.173]) by smtp.gmail.com with ESMTPSA id k4sm2025799qki.35.2019.12.19.12.06.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Dec 2019 12:06:20 -0800 (PST) Received: by mail-qk1-f173.google.com with SMTP id c17so5689197qkg.7; Thu, 19 Dec 2019 12:06:20 -0800 (PST) X-Received: by 2002:a37:27cc:: with SMTP id n195mr9112229qkn.428.1576785980330; Thu, 19 Dec 2019 12:06:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ryan Libby Date: Thu, 19 Dec 2019 12:06:09 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: New external GCC toolchain ports/packages To: John Baldwin Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47f2vM3HHJz44jY X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 20:06:23 -0000 On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > In the interest of supporting newer versions of GCC for a base system > toolchain, I've renamed the external GCC packages from -gcc > to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > port. The xtoolchain package is not used for these new packages, instead > one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > compiler to 6.5.0. > > I will leave the old ports/packages around for now to permit an easy > transition, but going forward, the -gcc6 packages should be preferred > to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > are separate from the powerpc64-gcc set of packages). > > In addition, I've also just added a devel/freebsd-gcc9 package which > builds -gcc9 packages. It adds powerpc and riscv flavors relative > to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > be able to finish a buildworld on any of the platforms I've tried > (amd64, mips, sparc64), but the packages should permit other developers > to get the tree building with GCC 9. To use these packages one would do > something like: > > # pkg install amd64-gcc9 > # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > You can install both the gcc6 and gcc9 versions of a package at the same > time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > versions is similar to llvm and will also let us keep a known-good > toolchain package for older releases while using newer major versions on > newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > I do plan to switch the default toolchains for make universe/tinderbox > for targets using -xtoolchain-gcc based on GCC 6 over to the > freebsd-gcc6 variants in the next week or so. > > -- > John Baldwin Awesome, thanks! I was able to get amd64 buildworld and buildkernel to succeed with just a few changes, and none to the port. I'll work on getting the changes in. From owner-freebsd-toolchain@freebsd.org Fri Dec 20 17:24:02 2019 Return-Path: Delivered-To: freebsd-toolchain@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 638231DF2ED; Fri, 20 Dec 2019 17:24:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47fbFZ1XBJz4CTM; Fri, 20 Dec 2019 17:24:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-7.local (unknown [IPv6:2603:3024:1538:1e00:db1:a560:c156:3cc7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 70C2F9F8C; Fri, 20 Dec 2019 17:24:01 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: Re: New external GCC toolchain ports/packages To: Ryan Libby Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" References: From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Fri, 20 Dec 2019 09:24:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 17:24:02 -0000 On 12/19/19 12:06 PM, Ryan Libby wrote: > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: >> >> In the interest of supporting newer versions of GCC for a base system >> toolchain, I've renamed the external GCC packages from -gcc >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 >> port. The xtoolchain package is not used for these new packages, instead >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this >> compiler to 6.5.0. >> >> I will leave the old ports/packages around for now to permit an easy >> transition, but going forward, the -gcc6 packages should be preferred >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc >> are separate from the powerpc64-gcc set of packages). >> >> In addition, I've also just added a devel/freebsd-gcc9 package which >> builds -gcc9 packages. It adds powerpc and riscv flavors relative >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to >> be able to finish a buildworld on any of the platforms I've tried >> (amd64, mips, sparc64), but the packages should permit other developers >> to get the tree building with GCC 9. To use these packages one would do >> something like: >> >> # pkg install amd64-gcc9 >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 >> >> You can install both the gcc6 and gcc9 versions of a package at the same >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major >> versions is similar to llvm and will also let us keep a known-good >> toolchain package for older releases while using newer major versions on >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). >> >> I do plan to switch the default toolchains for make universe/tinderbox >> for targets using -xtoolchain-gcc based on GCC 6 over to the >> freebsd-gcc6 variants in the next week or so. >> >> -- >> John Baldwin > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > succeed with just a few changes, and none to the port. I'll work on > getting the changes in. I have been able to get it building as well, mostly by muting a few warnings, adding libcompiler_rt to rtld's link for i386, disabling googletest (needs an upstream patch to stop using signed wchar_t), and a hack to jemalloc. I was able to build riscv as well with those same changes and am working through builds of other platforms. I'm happy to compare notes. The jemalloc one is a bit weird. -- John Baldwin From owner-freebsd-toolchain@freebsd.org Fri Dec 20 17:31:47 2019 Return-Path: Delivered-To: freebsd-toolchain@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 1BDC51DF504; Fri, 20 Dec 2019 17:31:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fbQV68mGz4Cw2; Fri, 20 Dec 2019 17:31:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xBKHVVFl034029 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 20 Dec 2019 19:31:35 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xBKHVVFl034029 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xBKHVVft034028; Fri, 20 Dec 2019 19:31:31 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 20 Dec 2019 19:31:31 +0200 From: Konstantin Belousov To: John Baldwin Cc: Ryan Libby , "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Subject: Re: New external GCC toolchain ports/packages Message-ID: <20191220173131.GM32279@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on tom.home X-Rspamd-Queue-Id: 47fbQV68mGz4Cw2 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 17:31:47 -0000 On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > On 12/19/19 12:06 PM, Ryan Libby wrote: > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > >> > >> In the interest of supporting newer versions of GCC for a base system > >> toolchain, I've renamed the external GCC packages from -gcc > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > >> port. The xtoolchain package is not used for these new packages, instead > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > >> compiler to 6.5.0. > >> > >> I will leave the old ports/packages around for now to permit an easy > >> transition, but going forward, the -gcc6 packages should be preferred > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > >> are separate from the powerpc64-gcc set of packages). > >> > >> In addition, I've also just added a devel/freebsd-gcc9 package which > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > >> be able to finish a buildworld on any of the platforms I've tried > >> (amd64, mips, sparc64), but the packages should permit other developers > >> to get the tree building with GCC 9. To use these packages one would do > >> something like: > >> > >> # pkg install amd64-gcc9 > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > >> > >> You can install both the gcc6 and gcc9 versions of a package at the same > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > >> versions is similar to llvm and will also let us keep a known-good > >> toolchain package for older releases while using newer major versions on > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > >> > >> I do plan to switch the default toolchains for make universe/tinderbox > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > >> freebsd-gcc6 variants in the next week or so. > >> > >> -- > >> John Baldwin > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > succeed with just a few changes, and none to the port. I'll work on > > getting the changes in. > > I have been able to get it building as well, mostly by muting a few > warnings, adding libcompiler_rt to rtld's link for i386, disabling I am curious about the rtld issue. Can you show me the pristine error with gcc, please ? > googletest (needs an upstream patch to stop using signed wchar_t), > and a hack to jemalloc. I was able to build riscv as well with those > same changes and am working through builds of other platforms. > > I'm happy to compare notes. The jemalloc one is a bit weird. > > -- > John Baldwin > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-toolchain@freebsd.org Fri Dec 20 17:51:29 2019 Return-Path: Delivered-To: freebsd-toolchain@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 406D41DFAD7; Fri, 20 Dec 2019 17:51:29 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47fbsD3Gyvz4Dlr; Fri, 20 Dec 2019 17:51:28 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-qk1-f193.google.com with SMTP id 21so8335128qky.4; Fri, 20 Dec 2019 09:51:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fE8uAvfzz9vB5fa/2XqP3RUnegUBbSdfEEL729RXOlE=; b=Dj0yZcctdEZj293E6S77nS8IkjvCWgKibnQLBqjIGeMdxDBz2HqgmEzWBYOW5l4NtD BFWln0zlJopO4/hX43/A+I3fJfLhUaLEmXqOn8jUBIWEs/yOni5twspmru9M3lrFqXnm XOBTwjXlWw4q1b0o6Kjc2YwjM8NuJwYDqKi/O+EDEvrt1Bm14bDA7LcM8x85WJA6IQhU b6NoBURDOETuHMhkzyhMsmAI5aTw8dAzXvZaLws4c6+4J7FZsZXZF+axwxG3hR1WA53t dcvgjhQZ5j2i0hEl/37g6N6dV6INzEGjIvetNhlZp+3U6sQr8l28Bk8wqF+GbfooBYQT VEmA== X-Gm-Message-State: APjAAAXNXiC9h/Abk+o9+EXM3YZmolCUchKi4U/srIpiOMOUQUgQIo5N kPj/+QGific9OMc0xJNJYEqTfxnl X-Google-Smtp-Source: APXvYqz4LZJPdTjC80Mye5d4hkTccTzcD4nS3IbG46hjkV1d0Lz5d7WvLddCDXald8fHXJ2cZIyN9Q== X-Received: by 2002:a05:620a:6ce:: with SMTP id 14mr14235839qky.417.1576864286702; Fri, 20 Dec 2019 09:51:26 -0800 (PST) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com. [209.85.222.178]) by smtp.gmail.com with ESMTPSA id e19sm3366000qtc.75.2019.12.20.09.51.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2019 09:51:26 -0800 (PST) Received: by mail-qk1-f178.google.com with SMTP id 21so8335058qky.4; Fri, 20 Dec 2019 09:51:26 -0800 (PST) X-Received: by 2002:a37:e10f:: with SMTP id c15mr14665056qkm.331.1576864286009; Fri, 20 Dec 2019 09:51:26 -0800 (PST) MIME-Version: 1.0 References: <20191220173131.GM32279@kib.kiev.ua> In-Reply-To: <20191220173131.GM32279@kib.kiev.ua> From: Ryan Libby Date: Fri, 20 Dec 2019 09:51:15 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: New external GCC toolchain ports/packages To: Konstantin Belousov , John Baldwin Cc: "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47fbsD3Gyvz4Dlr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rlibby@gmail.com designates 209.85.222.193 as permitted sender) smtp.mailfrom=rlibby@gmail.com X-Spamd-Result: default: False [-4.39 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[193.222.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.39)[ip: (-6.91), ipnet: 209.85.128.0/17(-3.12), asn: 15169(-1.89), country: US(-0.05)]; FORGED_SENDER(0.30)[rlibby@freebsd.org,rlibby@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[193.222.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[rlibby@freebsd.org,rlibby@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 17:51:29 -0000 On Fri, Dec 20, 2019 at 9:31 AM Konstantin Belousov wrote: > > On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > > On 12/19/19 12:06 PM, Ryan Libby wrote: > > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > >> > > >> In the interest of supporting newer versions of GCC for a base system > > >> toolchain, I've renamed the external GCC packages from -gcc > > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > > >> port. The xtoolchain package is not used for these new packages, instead > > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > > >> compiler to 6.5.0. > > >> > > >> I will leave the old ports/packages around for now to permit an easy > > >> transition, but going forward, the -gcc6 packages should be preferred > > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > > >> are separate from the powerpc64-gcc set of packages). > > >> > > >> In addition, I've also just added a devel/freebsd-gcc9 package which > > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > > >> be able to finish a buildworld on any of the platforms I've tried > > >> (amd64, mips, sparc64), but the packages should permit other developers > > >> to get the tree building with GCC 9. To use these packages one would do > > >> something like: > > >> > > >> # pkg install amd64-gcc9 > > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > >> > > >> You can install both the gcc6 and gcc9 versions of a package at the same > > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > > >> versions is similar to llvm and will also let us keep a known-good > > >> toolchain package for older releases while using newer major versions on > > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > >> > > >> I do plan to switch the default toolchains for make universe/tinderbox > > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > > >> freebsd-gcc6 variants in the next week or so. > > >> > > >> -- > > >> John Baldwin > > > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > > succeed with just a few changes, and none to the port. I'll work on > > > getting the changes in. > > > > I have been able to get it building as well, mostly by muting a few > > warnings, adding libcompiler_rt to rtld's link for i386, disabling > I am curious about the rtld issue. Can you show me the pristine error with > gcc, please ? For me, it's gcc generates __udivmoddi4 for the -m32 build but we used -nostdlib, and we get a link error. My hack right now is to explicitly link libgcc, but I don't think this is what we are intending to do because we seem to go through effort to reimplement other libgcc functions. Here's the text: --- ld-elf32.so.1.full --- /usr/local/bin/x86_64-unknown-freebsd13.0-ld: rtld_printf.o: in function `ksprintn': /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:115: undefined reference to `__udivmoddi4' /usr/local/bin/x86_64-unknown-freebsd13.0-ld: /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:117: undefined reference to `__udivmoddi4' collect2: error: ld returned 1 exit status *** [ld-elf32.so.1.full] Error code 1 You can see my hack at the link below. I'm not sure what the right solution is. > > > googletest (needs an upstream patch to stop using signed wchar_t), > > and a hack to jemalloc. I was able to build riscv as well with those > > same changes and am working through builds of other platforms. > > Actually, both those have upstream fixes. (For the jemalloc one, gcc is technically right, but because of a literal signed char argument to a macro.) > > I'm happy to compare notes. The jemalloc one is a bit weird. I pushed non-polished changes here. I'm working to get them reviewed. Please feel free to comment on any/all. https://github.com/rlibby/freebsd/commits/gcc9-fixes > > > > -- > > John Baldwin > > _______________________________________________ > > freebsd-toolchain@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-toolchain@freebsd.org Fri Dec 20 18:15:43 2019 Return-Path: Delivered-To: freebsd-toolchain@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 015031E0346; Fri, 20 Dec 2019 18:15:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fcPB5PyHz4Fmx; Fri, 20 Dec 2019 18:15:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xBKIFYur044478 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 20 Dec 2019 20:15:37 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xBKIFYur044478 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xBKIFY5w044477; Fri, 20 Dec 2019 20:15:34 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 20 Dec 2019 20:15:34 +0200 From: Konstantin Belousov To: Ryan Libby Cc: John Baldwin , "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Subject: Re: New external GCC toolchain ports/packages Message-ID: <20191220181534.GN32279@kib.kiev.ua> References: <20191220173131.GM32279@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on tom.home X-Rspamd-Queue-Id: 47fcPB5PyHz4Fmx X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 18:15:43 -0000 On Fri, Dec 20, 2019 at 09:51:15AM -0800, Ryan Libby wrote: > On Fri, Dec 20, 2019 at 9:31 AM Konstantin Belousov wrote: > > > > On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > > > On 12/19/19 12:06 PM, Ryan Libby wrote: > > > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > > >> > > > >> In the interest of supporting newer versions of GCC for a base system > > > >> toolchain, I've renamed the external GCC packages from -gcc > > > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > > > >> port. The xtoolchain package is not used for these new packages, instead > > > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > > > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > > > >> compiler to 6.5.0. > > > >> > > > >> I will leave the old ports/packages around for now to permit an easy > > > >> transition, but going forward, the -gcc6 packages should be preferred > > > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > > > >> are separate from the powerpc64-gcc set of packages). > > > >> > > > >> In addition, I've also just added a devel/freebsd-gcc9 package which > > > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > > > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > > > >> be able to finish a buildworld on any of the platforms I've tried > > > >> (amd64, mips, sparc64), but the packages should permit other developers > > > >> to get the tree building with GCC 9. To use these packages one would do > > > >> something like: > > > >> > > > >> # pkg install amd64-gcc9 > > > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > > >> > > > >> You can install both the gcc6 and gcc9 versions of a package at the same > > > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > > > >> versions is similar to llvm and will also let us keep a known-good > > > >> toolchain package for older releases while using newer major versions on > > > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > > >> > > > >> I do plan to switch the default toolchains for make universe/tinderbox > > > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > > > >> freebsd-gcc6 variants in the next week or so. > > > >> > > > >> -- > > > >> John Baldwin > > > > > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > > > succeed with just a few changes, and none to the port. I'll work on > > > > getting the changes in. > > > > > > I have been able to get it building as well, mostly by muting a few > > > warnings, adding libcompiler_rt to rtld's link for i386, disabling > > I am curious about the rtld issue. Can you show me the pristine error with > > gcc, please ? > > For me, it's gcc generates __udivmoddi4 for the -m32 build but we used > -nostdlib, and we get a link error. My hack right now is to explicitly > link libgcc, but I don't think this is what we are intending to do > because we seem to go through effort to reimplement other libgcc > functions. > > Here's the text: > --- ld-elf32.so.1.full --- > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: rtld_printf.o: in > function `ksprintn': > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:115: undefined > reference to `__udivmoddi4' > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:117: undefined > reference to `__udivmoddi4' > collect2: error: ld returned 1 exit status > *** [ld-elf32.so.1.full] Error code 1 > > You can see my hack at the link below. I'm not sure what the > right solution is. Does changing the base type from int to u_int help ? > > > > > > googletest (needs an upstream patch to stop using signed wchar_t), > > > and a hack to jemalloc. I was able to build riscv as well with those > > > same changes and am working through builds of other platforms. > > > > > Actually, both those have upstream fixes. (For the jemalloc one, gcc is > technically right, but because of a literal signed char argument to a > macro.) > > > > I'm happy to compare notes. The jemalloc one is a bit weird. > > I pushed non-polished changes here. I'm working to get them reviewed. > Please feel free to comment on any/all. > https://github.com/rlibby/freebsd/commits/gcc9-fixes > > > > > > > -- > > > John Baldwin > > > _______________________________________________ > > > freebsd-toolchain@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > > > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-toolchain@freebsd.org Fri Dec 20 19:49:36 2019 Return-Path: Delivered-To: freebsd-toolchain@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 12A1A1E1A97; Fri, 20 Dec 2019 19:49:36 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ffTW0kFgz4KF8; Fri, 20 Dec 2019 19:49:34 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-qt1-f172.google.com with SMTP id w47so9201833qtk.4; Fri, 20 Dec 2019 11:49:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gQjlZ0wyUJrIR45MkoCYvqj+gU90HBpYeU7eEhrfixM=; b=Fx2exigUPzE9ZVv1k/oOJ/lEwoI51lweGoJg9DttUM8+ToD3a1YqJl1qqBP/zdarfG Fx8S621EzOaEL0VvWdemc/UxZ5Nwncl0DDiO/O7U792WhnCVnhCui07EhwfdWPMVTAa5 kVfkNM9pQv5AUs7X4kA6pmA4x9hJo5cJxKdbMDGKF0orQdHZT05WC3SecL9i1tvY2Iiy A3urdljxPFLHo8oSOzokjBga+Av532HhgnJWGqxnxMq+pxcGVbKrnbtp18ARNKkGDHxB uErtIEvXo2JrT9aFkchHde2SwhpVGtlX6QWUmzBwE74UNg/y8Rc3UPtErNLJSLfU8MFH cFZQ== X-Gm-Message-State: APjAAAW1rktFjM67XMVMl2SeCpQJ0lX1oh22Uh5HDbhaOJlxutqPDF3o hTXEZywE9WSBlV8XoTNqRXDAaby3 X-Google-Smtp-Source: APXvYqy3nYJK5kgMM4xL9Vw77pE+rCXW6CVW2MdhQZmVZPSqu8EdYqwtT/XOFCqU3j3e7xvOyuCrEA== X-Received: by 2002:ac8:460a:: with SMTP id p10mr12626766qtn.98.1576871373419; Fri, 20 Dec 2019 11:49:33 -0800 (PST) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com. [209.85.160.182]) by smtp.gmail.com with ESMTPSA id r37sm3447795qtj.44.2019.12.20.11.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2019 11:49:33 -0800 (PST) Received: by mail-qt1-f182.google.com with SMTP id j5so9166899qtq.9; Fri, 20 Dec 2019 11:49:32 -0800 (PST) X-Received: by 2002:ac8:5510:: with SMTP id j16mr13147170qtq.262.1576871372776; Fri, 20 Dec 2019 11:49:32 -0800 (PST) MIME-Version: 1.0 References: <20191220173131.GM32279@kib.kiev.ua> <20191220181534.GN32279@kib.kiev.ua> In-Reply-To: <20191220181534.GN32279@kib.kiev.ua> From: Ryan Libby Date: Fri, 20 Dec 2019 11:49:21 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: New external GCC toolchain ports/packages To: Konstantin Belousov Cc: John Baldwin , "freebsd-toolchain@FreeBSD.org" , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47ffTW0kFgz4KF8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rlibby@gmail.com designates 209.85.160.172 as permitted sender) smtp.mailfrom=rlibby@gmail.com X-Spamd-Result: default: False [-3.68 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[172.160.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.68)[ip: (-3.35), ipnet: 209.85.128.0/17(-3.12), asn: 15169(-1.89), country: US(-0.05)]; FORGED_SENDER(0.30)[rlibby@freebsd.org,rlibby@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[172.160.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[rlibby@freebsd.org,rlibby@gmail.com]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 19:49:36 -0000 On Fri, Dec 20, 2019 at 10:15 AM Konstantin Belousov wrote: > > On Fri, Dec 20, 2019 at 09:51:15AM -0800, Ryan Libby wrote: > > On Fri, Dec 20, 2019 at 9:31 AM Konstantin Belousov wrote: > > > > > > On Fri, Dec 20, 2019 at 09:24:00AM -0800, John Baldwin wrote: > > > > On 12/19/19 12:06 PM, Ryan Libby wrote: > > > > > On Wed, Dec 18, 2019 at 1:49 PM John Baldwin wrote: > > > > >> > > > > >> In the interest of supporting newer versions of GCC for a base system > > > > >> toolchain, I've renamed the external GCC packages from -gcc > > > > >> to -gcc6. These are built as flavors of a new devel/freebsd-gcc6 > > > > >> port. The xtoolchain package is not used for these new packages, instead > > > > >> one does 'pkg install mips-gcc6' to get the GCC 6.x MIPS compiler and > > > > >> uses 'CROSS_TOOLCHAIN=mips-gcc6'. I've also gone ahead and updated this > > > > >> compiler to 6.5.0. > > > > >> > > > > >> I will leave the old ports/packages around for now to permit an easy > > > > >> transition, but going forward, the -gcc6 packages should be preferred > > > > >> to -xtoolchain-gcc for all but riscv (riscv64-gcc and riscv64-xtoolchain-gcc > > > > >> are separate from the powerpc64-gcc set of packages). > > > > >> > > > > >> In addition, I've also just added a devel/freebsd-gcc9 package which > > > > >> builds -gcc9 packages. It adds powerpc and riscv flavors relative > > > > >> to freebsd-gcc6 and uses GCC 9.2.0. To date in my testing I've yet to > > > > >> be able to finish a buildworld on any of the platforms I've tried > > > > >> (amd64, mips, sparc64), but the packages should permit other developers > > > > >> to get the tree building with GCC 9. To use these packages one would do > > > > >> something like: > > > > >> > > > > >> # pkg install amd64-gcc9 > > > > >> # make buildworld CROSS_TOOLCHAIN=amd64-gcc9 > > > > >> > > > > >> You can install both the gcc6 and gcc9 versions of a package at the same > > > > >> time, e.g. amd64-gcc6 and amd64-gcc9. Having different packages for major > > > > >> versions is similar to llvm and will also let us keep a known-good > > > > >> toolchain package for older releases while using newer major versions on > > > > >> newer FreeBSD releases (e.g gcc9 for 13.0 and gcc6 for 12.x). > > > > >> > > > > >> I do plan to switch the default toolchains for make universe/tinderbox > > > > >> for targets using -xtoolchain-gcc based on GCC 6 over to the > > > > >> freebsd-gcc6 variants in the next week or so. > > > > >> > > > > >> -- > > > > >> John Baldwin > > > > > > > > > > Awesome, thanks! I was able to get amd64 buildworld and buildkernel to > > > > > succeed with just a few changes, and none to the port. I'll work on > > > > > getting the changes in. > > > > > > > > I have been able to get it building as well, mostly by muting a few > > > > warnings, adding libcompiler_rt to rtld's link for i386, disabling > > > I am curious about the rtld issue. Can you show me the pristine error with > > > gcc, please ? > > > > For me, it's gcc generates __udivmoddi4 for the -m32 build but we used > > -nostdlib, and we get a link error. My hack right now is to explicitly > > link libgcc, but I don't think this is what we are intending to do > > because we seem to go through effort to reimplement other libgcc > > functions. > > > > Here's the text: > > --- ld-elf32.so.1.full --- > > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: rtld_printf.o: in > > function `ksprintn': > > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:115: undefined > > reference to `__udivmoddi4' > > /usr/local/bin/x86_64-unknown-freebsd13.0-ld: > > /usr/src/freebsd/libexec/rtld-elf/rtld_printf.c:117: undefined > > reference to `__udivmoddi4' > > collect2: error: ld returned 1 exit status > > *** [ld-elf32.so.1.full] Error code 1 > > > > You can see my hack at the link below. I'm not sure what the > > right solution is. > Does changing the base type from int to u_int help ? It does not; it fails in the same way. From owner-freebsd-toolchain@freebsd.org Fri Dec 20 20:20:24 2019 Return-Path: Delivered-To: freebsd-toolchain@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 BB96D1E247E for ; Fri, 20 Dec 2019 20:20:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (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 47fg934zrcz4Ly0 for ; Fri, 20 Dec 2019 20:20:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: AutkRn8VM1lQncAYPV40zOA.QVd44jp3VF4eK4Di8z3yfYjo1R6WRifBifeftyT Lg6qVh_d2.DFAJa3.f3Idcz6SrfhEtJTPF6MiwB9scidqrZEKKmkydWSsSwsHMwEGf.iioW8poxo Jad0vAzMhFBpDhyft2a2kqScLfDkeWR.Np_uCe6notaglLQ78bkI6e5O2fEb_6S9M1Cc1hsqpIbo yFRCBV_SB2vJ9iL7Px1jA9sWkSWjcGnh_Jc1AGuHcHHQZD5sviO_dzZp3LP3Z5b41W2v3S2tBTS2 oipPKm18eHvyLFbYizJ3SEXdDBzdd7Ji20BJiRBUu4gHHnDLg8w3NafFssEMQbzE9bys85QtD_4r Y3ImqqJuBTh.rzHBr.hkoWDPBn0lX1uoh0Xcdr6Kh5i2ZtqmhAbbSCeIET408GgI7mJr4Vb2JOjv kHUHE6nm6RvbNF2JoCUMoIoq3JfvEXXn58zYZvEcME9yYU1KwdwyPJA4WSqr4V1WHpEtA6q_N8tk BFWDQWAQ8a3fS34lR3Rf4XwJum3NEh4C8HPDAexjSSqyfa4HtK6ff1jPKBe0dufZmgx3xERhCTW2 Py70oInAI5.woofqGy5HJYmf3gcOmo2h8WTEVXb4RMr_6WB2dnWr9OJLe11XEWsIy1FyAz2Sjtkk TcKKAQzUHxjIHEN_uwAig0pw70nt_J_LgpIM9aF2p1mUs23zRm0eOFGTnuDbZuVf9o2opfHqdSc_ 8lnGqSVhW10efdUShjjUOnduhoFj4_NTTRkenIr08S5Df1f38FIpX4jHtnyeVH.BnVDn0sNunKHu mHED1DyOUaR5oGUZI9_NCHYpmFZovSxtYF1xLaSXvecoUIu5SktkXAHylJ5v9WNCGUUWROaHdHBy 42lGnQgHA2tSGiyVnpfYhJIMPfvQCgDRl2lhRuCnAeUelxNra49Ccut_I91MrztGM04MU0FqixgZ Ubu.Je53ojgCJljuqAOF1LAcO5_soAHEcEbuxlM4UEXihR4QGHNhQZ8WoAPNY7AhW2ALRdMYcHdD 2fl12mqJPGvQygOfVjdZJAwwzi26H2I.evQhhE1HuHH4YmkRi3Ajuhy54GmBwIpiFl.ols8dMvHc JTu.0YDoJ_GbnQ.TCsrk7i.OMfDp_M35IyFcjo_fPeFUFJYPWdeCc_Rn70vZBuKi0D._BQ7KMaC3 pi2xFBvxZQ5oIBteECEL7KTcK43s5Ev1obbeblx4H37dk5.6VqJQWi462TfppaPwKhZO02prYvrF rU.T.Q_1KlHqgELS2RyFARUIiFYk6AVs1NXmG9WQUXd0wYEdc8EZD3M1hGd2m5p0saUKwAtADAoE mvw2t8QGt1lqQkPxqVh_nEjHEd.IYwTFLE07fbaOI132SE98BzSmZSLf0n1BkoIF_cizPFKs3KOt dWWXxWBFLdy5xWOg0o0wwz7U- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Fri, 20 Dec 2019 20:20:21 +0000 Received: by smtp432.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ba3a377cc6497306a9678ed188460524; Fri, 20 Dec 2019 20:20:20 +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: buildworld for 32-bit powerpc via devel/freebsd-gcc9@powerpc (not clang): still gets the bss-plt being forced due to crtbeginS.o (build stopped) Message-Id: <1617745A-F1C4-4565-9D71-E5B2B714637D@yahoo.com> Date: Fri, 20 Dec 2019 12:20:18 -0800 To: freebsd-ppc@freebsd.org, FreeBSD Toolchain X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <1617745A-F1C4-4565-9D71-E5B2B714637D.ref@yahoo.com> X-Rspamd-Queue-Id: 47fg934zrcz4Ly0 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.03 / 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)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; 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)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.739,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.79)[-0.786,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (2.98), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[206.68.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[206.68.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 20:20:24 -0000 As this avoided using system-clang (or any clang), the -secure-plt = leading to bss-plt being forced issue for 32-bit powerpc appears to *NOT* be clang-specific at all! I was just curious to see what would be reported. (The system-clang and devel/binutils@powerpc combination completed buildworld buildkernel. It reported forcing bss-plt but did not stop early.) (I have left my old xtoolchain-gcc naming in directory names.) --- libc.so.7.full --- /usr/local/bin/powerpc-unknown-freebsd13.0-ld: bss-plt forced due to = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/lib/crtbeginS.o collect2: error: ld returned 1 exit status *** [libc.so.7.full] Error code 1 For reference: # /usr/local/bin/powerpc-unknown-freebsd13.0-ld -v GNU ld (GNU Binutils) 2.33.1 For reference for the link: # Meta data file = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/lib/libc/libc.so.7.full.meta CMD @echo building shared library libc.so.7 CMD @rm -f libc.so.7 libc.so CMD /usr/local/bin/powerpc-unknown-freebsd13.0-gcc9 -gdwarf-2 = --sysroot=3D/usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/po= werpc.powerpc/tmp -B/usr/local/powerpc-unknown-freebsd13.0/bin/ - Wl,--secure-plt -nodefaultlibs -Wl,--version-script=3DVersion.map = -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o = libc.so.7.full -Wl,-soname,libc.so.7 `NM=3D'/usr/local/powerpc-unkno wn-freebsd13.0/bin/nm' NMFLAGS=3D'' lorder trivial-vdso_tc.pico . . . . . . wmemset.pico | tsort -q` -lcompiler_rt -lssp_nonshared CWD = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/lib/libc TARGET libc.so.7.full -- command output -- building shared library libc.so.7 /usr/local/bin/powerpc-unknown-freebsd13.0-ld: bss-plt forced due to = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/lib/crtbeginS.o collect2: error: ld returned 1 exit status *** Error code 1 . . . E 36494 /usr/local/bin/powerpc-unknown-freebsd13.0-ld R 36494 /etc/libmap.conf R 36494 /var/run/ld-elf.so.hints R 36494 /lib/libc.so.7 R 36494 = /usr/local/libexec/gcc/powerpc-unknown-freebsd13.0/9.2.0/liblto_plugin.so R 36494 Version.map R 36494 libc.so.7.full W 36494 libc.so.7.full R 36494 = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/lib/crti.o R 36494 = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/lib/crti.o R 36494 = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/lib/crtbeginS.o R 36494 = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/lib/crtbeginS.o . . . For reference for building crtbeginS.o (much gcc9 detail included from = using -v): # Meta data file = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/lib/csu/powerpc/crtbeginS.o.meta CMD /usr/local/bin/powerpc-unknown-freebsd13.0-gcc9 -gdwarf-2 = --sysroot=3D/usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/po= werpc.powerpc/tmp -B/usr/local/powerpc-unknown-freebsd13.0/bin/ -O 2 -pipe -I/usr/src/lib/csu/common -I/usr/src/lib/libc/include = -DCRT_IRELOC_SUPPRESS -g -std=3Dgnu99 -Wno-format-zero-length = -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict- prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decl s -Wold-style-definition -Wno-pointer-sign -Wno-error=3Daddress = -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Ddeprecated-dec larations -Wno-error=3Denum-compare -Wno-error=3Dextra -Wno-error=3Dinline= -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing = -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable = -Wno-erro r=3Dunused-function -Wno-error=3Dunused-value = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation -Wno-error=3Ddeprecated = -Wno-error=3Dexpansion-to-defined -Wno-error=3Dformat-overflow = -Wno-error=3Dformat-truncation -Wno-error=3Dimplicit-fallthrough = -Wno-error=3Dint-in-bool-context - Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type = -Wno-error=3Dnonnull -Wno-error=3Dpointer-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations = -Wno-error=3Dcast-function-type -Wn o-error=3Dcatch-value -Wno-error=3Dmultistatement-macros = -Wno-error=3Drestrict -Wno-error=3Dsizeof-pointer-memaccess = -Wno-error=3Dstringop-truncation -v -I/usr/src/lib/csu/powerpc = -DSHARED -fpic -c -o crtb eginS.o /usr/src/lib/csu/common/crtbegin.c CWD = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/lib/csu/powerpc TARGET crtbeginS.o -- command output -- Using built-in specs. COLLECT_GCC=3D/usr/local/bin/powerpc-unknown-freebsd13.0-gcc9 Target: powerpc-unknown-freebsd13.0 Configured with: = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc/gcc-9.2.0/configure = --target=3Dpowerpc-unknown-freebsd13.0 --disable-nls = --enable-languages=3Dc,c++ --enable-gnu-indirect-function --ena ble-initfini-array --program-prefix=3Dpowerpc-unknown-freebsd13.0- = --program-suffix=3D9 --without-headers --with-gmp=3D/usr/local = --with-pkgversion=3D'FreeBSD Ports Collection for powerpc' = --with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ --with-sysroot=3D/ = --with-as=3D/usr/local/bin/powerpc-unknown-freebsd13.0-as = --with-ld=3D/usr/local/bin/powerpc-unknown-freebsd13.0-ld = --prefix=3D/usr/local --local statedir=3D/var --mandir=3D/usr/local/man = --infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0 Thread model: posix gcc version 9.2.0 (FreeBSD Ports Collection for powerpc) COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' = '/usr/local/powerpc-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' = '/usr/src/lib/csu/common' '-I' '/usr/src/lib/libc/include' '-D' = 'CRT_IRELOC_SUPPRESS' '-g' '-std=3Dg nu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' = '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' = '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' '- Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' = '-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' = '-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' = '-Wno-er ror=3Darray-bounds' '-Wno-error=3Dattributes' '-Wno-error=3Dbool-compare' = '-Wno-error=3Dcast-align' '-Wno-error=3Dclobbered' = '-Wno-error=3Ddeprecated-declarations' '-Wno-error=3Denum-compare' = '-Wno-error=3Dextra' '-W no-error=3Dinline' '-Wno-error=3Dlogical-not-parentheses' = '-Wno-error=3Dstrict-aliasing' '-Wno-error=3Duninitialized' = '-Wno-error=3Dunused-but-set-variable' '-Wno-error=3Dunused-function' = '-Wno-error=3Dunused-value ' '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' = '-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' = '-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' '- Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' = '-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' = '-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' = '-Wno-error=3Dmemse t-elt-size' '-Wno-error=3Dnoexcept-type' '-Wno-error=3Dnonnull' = '-Wno-error=3Dpointer-compare' '-Wno-error=3Dstringop-overflow' = '-Wno-error=3Daggressive-loop-optimizations' = '-Wno-error=3Dcast-function-type' '-Wno -error=3Dcatch-value' '-Wno-error=3Dmultistatement-macros' = '-Wno-error=3Drestrict' '-Wno-error=3Dsizeof-pointer-memaccess' = '-Wno-error=3Dstringop-truncation' '-v' '-I' '/usr/src/lib/csu/powerpc' = '-D' 'SHARED' ' -fpic' '-c' '-o' 'crtbeginS.o' /usr/local/libexec/gcc/powerpc-unknown-freebsd13.0/9.2.0/cc1 -quiet -v = -I /usr/src/lib/csu/common -I /usr/src/lib/libc/include -I = /usr/src/lib/csu/powerpc -isysroot /usr/obj/powerpcvtsc_xtoolchain-gc c/powerpc.powerpc/usr/src/powerpc.powerpc/tmp -D__PPC__ -D__ppc__ = -D__PowerPC__ -D__powerpc__ -Acpu=3Dpowerpc -Amachine=3Dpowerpc -D = CRT_IRELOC_SUPPRESS -D SHARED /usr/src/lib/csu/common/crtbegin.c -quiet -dumpbase crtbegin.c -auxbase-strip crtbeginS.o -gdwarf-2 -g -O2 = -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wretu rn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-error=3D address -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare = -Wno-error=3Dextra -Wn o-error=3Dinline -Wno-error=3Dlogical-not-parentheses = -Wno-error=3Dstrict-aliasing -Wno-error=3Duninitialized = -Wno-error=3Dunused-but-set-variable -Wno-error=3Dunused-function = -Wno-error=3Dunused-value -Wno-error=3Dm isleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation = -Wno-error=3Ddeprecated -Wno-e rror=3Dexpansion-to-defined -Wno-error=3Dformat-overflow = -Wno-error=3Dformat-truncation -Wno-error=3Dimplicit-fallthrough = -Wno-error=3Dint-in-bool-context -Wno-error=3Dmemset-elt-size = -Wno-error=3Dnoexcept-type -Wn o-error=3Dnonnull -Wno-error=3Dpointer-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations = -Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value = -Wno-error=3Dmultistatement-macros - Wno-error=3Drestrict -Wno-error=3Dsizeof-pointer-memaccess = -Wno-error=3Dstringop-truncation -std=3Dgnu99 -version -fpic -o - | /usr/local/bin/powerpc-unknown-freebsd13.0-as -v -I = /usr/src/lib/csu/common -I /usr/src/lib/libc/include -I = /usr/src/lib/csu/powerpc -mppc -many -K PIC -mbig -o crtbeginS.o GNU assembler version 2.33.1 (powerpc-unknown-freebsd13.0) using BFD = version (GNU Binutils) 2.33.1 GNU C99 (FreeBSD Ports Collection for powerpc) version 9.2.0 = (powerpc-unknown-freebsd13.0) compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc-unknown-freebsd13.0/9.2.0/include-fixed" ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc-unknown-freebsd13.0/9.2.0/../../../../powerpc-= unknown-freebsd13.0/include" #include "..." search starts here: #include <...> search starts here: /usr/src/lib/csu/common /usr/src/lib/libc/include /usr/src/lib/csu/powerpc /usr/local/lib/gcc/powerpc-unknown-freebsd13.0/9.2.0/include = /usr/obj/powerpcvtsc_xtoolchain-gcc/powerpc.powerpc/usr/src/powerpc.powerp= c/tmp/usr/include End of search list. GNU C99 (FreeBSD Ports Collection for powerpc) version 9.2.0 = (powerpc-unknown-freebsd13.0) compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 Compiler executable checksum: c272cae35a1ab078596359ed10bcfdea /usr/src/lib/csu/common/crtbegin.c: In function '__do_global_dtors_aux': /usr/src/lib/csu/common/crtbegin.c:83:21: warning: array subscript 1 is = above array bounds of 'void (*[1])(void)' [-Warray-bounds] 83 | fn =3D __DTOR_LIST__[n]; | ~~~~~~~~~~~~~^~~ /usr/src/lib/csu/common/crtbegin.c:68:17: note: while referencing = '__DTOR_LIST__' 68 | static crt_func __DTOR_LIST__[] __section(".dtors") __used =3D { | ^~~~~~~~~~~~~ /usr/src/lib/csu/common/crtbegin.c: In function 'register_classes': /usr/src/lib/csu/common/crtbegin.c:114:49: warning: array subscript 0 is = above array bounds of 'void (*[0])(void)' [-Warray-bounds] 114 | if (_Jv_RegisterClasses !=3D NULL && __JCR_LIST__[0] !=3D 0) | ~~~~~~~~~~~~^~~ /usr/src/lib/csu/common/crtbegin.c:114:49: warning: array subscript 0 is = above array bounds of 'void (*[0])(void)' [-Warray-bounds] /usr/src/lib/csu/common/crtbegin.c:105:17: note: while referencing = '__JCR_LIST__' 105 | static crt_func __JCR_LIST__[] __section(".jcr") __used =3D { }; | ^~~~~~~~~~~~ = COMPILER_PATH=3D/usr/local/powerpc-unknown-freebsd13.0/bin/:/usr/local/lib= exec/gcc/powerpc-unknown-freebsd13.0/9.2.0/:/usr/local/libexec/gcc/powerpc= -unknown-freebsd13.0/9.2.0/:/usr/local/libexec/gcc/pow = erpc-unknown-freebsd13.0/:/usr/local/lib/gcc/powerpc-unknown-freebsd13.0/9= .2.0/:/usr/local/lib/gcc/powerpc-unknown-freebsd13.0/:/usr/local/lib/gcc/p= owerpc-unknown-freebsd13.0/9.2.0/../../../../powerpc -unknown-freebsd13.0/bin/ = LIBRARY_PATH=3D/usr/local/powerpc-unknown-freebsd13.0/bin/:/usr/local/lib/= gcc/powerpc-unknown-freebsd13.0/9.2.0/:/usr/obj/powerpcvtsc_xtoolchain-gcc= /powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr/lib/ COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' = '/usr/local/powerpc-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' = '/usr/src/lib/csu/common' '-I' '/usr/src/lib/libc/include' '-D' = 'CRT_IRELOC_SUPPRESS' '-g' '-std=3Dg nu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' = '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' = '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' '- Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' = '-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' = '-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' = '-Wno-er ror=3Darray-bounds' '-Wno-error=3Dattributes' '-Wno-error=3Dbool-compare' = '-Wno-error=3Dcast-align' '-Wno-error=3Dclobbered' = '-Wno-error=3Ddeprecated-declarations' '-Wno-error=3Denum-compare' = '-Wno-error=3Dextra' '-W no-error=3Dinline' '-Wno-error=3Dlogical-not-parentheses' = '-Wno-error=3Dstrict-aliasing' '-Wno-error=3Duninitialized' = '-Wno-error=3Dunused-but-set-variable' '-Wno-error=3Dunused-function' = '-Wno-error=3Dunused-value ' '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' = '-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' = '-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' '- Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' = '-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' = '-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' = '-Wno-error=3Dmemse t-elt-size' '-Wno-error=3Dnoexcept-type' '-Wno-error=3Dnonnull' = '-Wno-error=3Dpointer-compare' '-Wno-error=3Dstringop-overflow' = '-Wno-error=3Daggressive-loop-optimizations' = '-Wno-error=3Dcast-function-type' '-Wno -error=3Dcatch-value' '-Wno-error=3Dmultistatement-macros' = '-Wno-error=3Drestrict' '-Wno-error=3Dsizeof-pointer-memaccess' = '-Wno-error=3Dstringop-truncation' '-v' '-I' '/usr/src/lib/csu/powerpc' = '-D' 'SHARED' ' -fpic' '-c' '-o' 'crtbeginS.o' =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sat Dec 21 21:51:21 2019 Return-Path: Delivered-To: freebsd-toolchain@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 19E7F1DD775 for ; Sat, 21 Dec 2019 21:51:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (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 47gK7W6QTtz4fyV for ; Sat, 21 Dec 2019 21:51:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 7F_L3nYVM1ktfIcITvVKGix3c8IEWG9W0GdHf_SN0damM404hh6_lG7udb4iEdv Q9_IJLartZujX4nf4SRayRh5bGkseP2zBBIvV_b9gtLpT9EGHzSFB9mv4a2sYvT1hjyA3D2H980U rxkw0XB.4QGmrmolJufph2XBXC4X185dzHsg9FzS0xZnqXSOXA8axNDbADtigmeWB3j1EYDNjij1 KP4xjwZ12zgfmVbKJPCkHNoi1CONv64__Pa2X29lNSXY8WnvHKBK4e6H1dc3c_5Mds.ffsXWWls2 Xwpu9g.SqUD8gKvyo7Av0C20v.oU1x9L3tMW29K3EHR1dlNxBcjpUnc04rwDwp8wWULN9j3FEy4f NVpwK7HhvZdUgGVrFnX1szRhvarJ2IxwJDWRe.JwuiEIX9aqJHZ_JNon_gojLl98Lu2YqxKBMSR6 RsBEtKaNhdh6LIBSiT_Zd9BJBP11Z1oKP83LDHExr9wQb2Sjd9Q6u7W6rxXi1sAKQxMOCth0uVbU vAm.ggk0xh61QqWJ_3vJPzgjykhzzF5cf.aZXqcFpbZ50iLYzebNaynq517ibjGTtDv8b5y2F0nS QhtBanK8JdsX1FJT1VHoikVPX_FjxG_HaXCRFjYzBkDITh5UA9lzLxyjTqYAPIg1JWXHEvZW5lGQ 97gBKJdMcJWf5mDC0az75KJuLv.8ucIppnMPbS4Xr6SAXCaiDhflvGPCIkOL_o2hkMGtCP4n0L_m X4DUBTsY3f0Oi4QGnjJYUDKzkOIII9r1NcUxfSzwtrXdLsAVlMaQDHAgOFEM5ENeV8Ev7I80Hhr5 F0fBPMQ5pHFRrFuFjbvZQgugJEDC8jmsP2b7H399mz_3GIsc5flIBbolilSVhxFQZya0.NC7AQKT VoPAfZkPhctmGVCbIvTjXcF2s2O5LwZ2wemS77nxi_ALz7wznJRJ7t64Cvq0O3nuZW0sd.WFjTPi q6YBw6VfcOqovFxSVnHHm9dy1_1YanZAxo4s.WuwrDBYbhfpSlMk8vRfn43NywgSzJyAI5unG_ws xe5dhZ9WhE1YzFaA6w30I5eoyFZl9mEwy.f8qh6GmQDO8fjP_ZLcRXF7iwMsE6gSpK_4nZrifB30 Wc.MB_tgym6RuyXD2Zau.heKYb7ZSEZacRrZdWYLqHsGQQhsvaZUGlo_kO.yj3xhH1KlDMljvGhx yiF.sBMHzj74MsgS0j_01KSWNa7zVF7z7wDb7K7vWIpsIcW8iR8KAaJ3P.FkW37jiHTwiZriHeE0 4SVIm1rRtQOLniYA0nCsrXzmiV2yIzIvMBmIhyg.kBU.HVkUXjgE7lbqxezqVUkplL4oM8CaIiKh Qi13dwXbK44U2x_yV5a9XTtNYAbJ63pKdefwmOd_l2TvULQDfpy7ZmvispCnaBg_aOOXSYJdDnDJ .uNS6EYmuLAcdF8TjbEe7yjfA3xMdJ9EwnKQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sat, 21 Dec 2019 21:51:17 +0000 Received: by smtp424.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5f44cd1f0bf65cb059ed75cf14881f22; Sat, 21 Dec 2019 21:51:15 +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@aarch64 and devel/binutils@aarch64: locore.S vs. gcc toolchain notational mismatch (icc_sre_el2) Message-Id: <37D45724-F490-420E-B33E-3FD165D4FC53@yahoo.com> Date: Sat, 21 Dec 2019 13:51:15 -0800 To: FreeBSD Toolchain , freebsd-arm X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <37D45724-F490-420E-B33E-3FD165D4FC53.ref@yahoo.com> X-Rspamd-Queue-Id: 47gK7W6QTtz4fyV X-Spamd-Bar: / X-Spamd-Result: default: False [-0.41 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.28)[-0.277,0]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.37)[0.369,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[84.68.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; 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)[]; IP_SCORE(0.00)[ip: (7.96), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 21:51:21 -0000 /usr/src/sys/arm64/arm64/locore.S: Assembler messages: /usr/src/sys/arm64/arm64/locore.S:282: Error: unknown or missing system = register name at operand 2 -- `mrs x2,icc_sre_el2' /usr/src/sys/arm64/arm64/locore.S:285: Error: unknown or missing system = register name at operand 1 -- `msr icc_sre_el2,x2' *** [locore.o] Error code 1 make[2]: stopped in = /usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/sys/= GENERIC-NODBG .ERROR_TARGET=3D'locore.o' = .ERROR_META_FILE=3D'/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/sr= c/arm64.aarch64/sys/GENERIC-NODBG/locore.o.meta' .MAKE.LEVEL=3D'2' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose curdirOk=3Dyes' _ERROR_CMD=3D'/usr/local/bin/aarch64-unknown-freebsd13.0-gcc9 = -mcpu=3Dcortex-a53 = --sysroot=3D/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.= aarch64/tmp -B/usr/local/aarch64-unknown-freebsd13.0/bin/ -c -x = assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys = -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt = -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h = -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer = -fdebug-prefix-map=3D./machine=3D/usr/src/sys/arm64/include = -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv -fstack-protector = -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef = -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs = -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Daddress = -Wno-error=3Daggressive-loop-optimizations -Wno-error=3Darray-bounds = -Wno-error=3Dattributes -Wno-error=3Dcast-qual -Wno-error=3Denum-compare = -Wno-error=3Dinline -Wno-error=3Dmaybe-uninitialized -Wno-error=3Doverflow= -Wno-error=3Dsequence-point -Wno-unused-but-set-variable = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-overflow -Wno-error=3Dtautological-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Dmemset-elt-size = -Wno-error=3Dpacked-not-aligned -Wno-address-of-packed-member = -Wno-format-zero-length -v -fno-common -fms-extensions = -finline-limit=3D8000 --param inline-unit-growth=3D100 --param = large-function-growth=3D1000 -fms-extensions -std=3Diso9899:1999 = -Werror /usr/src/sys/arm64/arm64/locore.S;' = .CURDIR=3D'/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.a= arch64/sys/GENERIC-NODBG' FYI: # grep -U5 icc_sre_el2 /usr/src/sys/arm64/arm64/locore.S ubfx x2, x2, #ID_AA64PFR0_GIC_SHIFT, #ID_AA64PFR0_GIC_BITS /* GIC[3:0] =3D=3D 0001 - GIC CPU interface via special regs. = supported */ cmp x2, #(ID_AA64PFR0_GIC_CPUIF_EN >> ID_AA64PFR0_GIC_SHIFT) b.ne 2f mrs x2, icc_sre_el2 orr x2, x2, #ICC_SRE_EL2_EN /* Enable access from insecure = EL1 */ orr x2, x2, #ICC_SRE_EL2_SRE /* Enable system = registers */ msr icc_sre_el2, x2 2: /* Set the address to return to our return address */ msr elr_el2, x30 isb (devel/freebsd-gcc6 likely has the same status.) The context was head -r355976 based. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)