From owner-freebsd-ppc@freebsd.org Sun Jul 26 14:34:51 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 379F836213B for ; Sun, 26 Jul 2020 14:34:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BF57H0nyfz4fQ2 for ; Sun, 26 Jul 2020 14:34:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 06E4AE6A3; Sun, 26 Jul 2020 14:34:51 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 03AC2E805 for ; Sun, 26 Jul 2020 14:34:51 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BF57G5xdMz4fHp for ; Sun, 26 Jul 2020 14:34:50 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF879E603 for ; Sun, 26 Jul 2020 14:34:50 +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 06QEYoQq065163 for ; Sun, 26 Jul 2020 14:34:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06QEYo03065162 for powerpc@FreeBSD.org; Sun, 26 Jul 2020 14:34:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 239007] lang/gcc8 enable secure-plt by default for powerpc* Date: Sun, 26 Jul 2020 14:34:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: andreast@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 14:34:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239007 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org --- Comment #8 from John Baldwin --- FYI, I am getting the bss-plt errors trying to build powerpc with powerpc-g= cc9 from the devel/freebsd-gcc9 port. I didn't see any patch files for the lang/gcc9* or gcc10 ports, so not sure if this has been resolved in an upst= ream patch yet for GCC on powerpc? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Sun Jul 26 19:25:53 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D830036949F for ; Sun, 26 Jul 2020 19:25:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BFCb55TBMz3yq5 for ; Sun, 26 Jul 2020 19:25:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id AD56C11CAC; Sun, 26 Jul 2020 19:25:53 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id AA9DB11BBB for ; Sun, 26 Jul 2020 19:25:53 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BFCb53fGkz3yq4 for ; Sun, 26 Jul 2020 19:25:53 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5C823118D1 for ; Sun, 26 Jul 2020 19:25:53 +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 06QJPrVl090289 for ; Sun, 26 Jul 2020 19:25:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06QJPrsE090288 for powerpc@FreeBSD.org; Sun, 26 Jul 2020 19:25:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 239007] lang/gcc8 enable secure-plt by default for powerpc* Date: Sun, 26 Jul 2020 19:25:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andreast@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: andreast@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 19:25:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239007 --- Comment #9 from Andreas Tobler --- The upstream patch was applied to gcc10. I am not able to merge to gcc9 sin= ce I have no working powerpc anymore. You can take the upstream patch to the por= ts files section and try it. I expect it to work. If it works, can you give me a feedback and I can try to merge it to gcc9 upstream. Then I can spin port patches which can be used until the upstream gcc9 gets updated. Thanks and sorry for the delay. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jul 28 02:47:14 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E5E9C378439 for ; Tue, 28 Jul 2020 02:47:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.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 4BG1Ks5H5dz3RkN for ; Tue, 28 Jul 2020 02:47:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: a17KbKkVM1l5OXBhDQbxGLjyHz4x2otf3jZNGPPM5IqgAh0w7AlESRYWjxjTQKp PJt1i3W_ZFMSb_toQHcOPCbYn6uRhEIbtdSXFYfWClyfwNY1kT7bxI4Iv6ewvZKMS0x6kBpR9oDA pvIHYMwvTlFrBSbFul9harcso5_MpadHhLzyH_QsIBlAaFhbzuH4vzAizBiRXjUWh.pynhNj.YnL ZfwmImuY5M1QuHMNky1VlW.Wkwponzp8E4lOegWpiTlyGHn3T2gVn2EE0U1tpVdo2aWuwXuLPbgJ dtidR_UIlHS_mts07PKxI7D4xJlL4FlQ1OTxIawglJBeyBJj4EhFr4NjKwMM8a0hllMdrio5cMfT GxHW.ewm3ki2qKFdypbZEGO8EMVWam7JoYuMXz5sz4awfcnlgK_7oPvYwPynQd2O2eH0oKOCfG96 qvKNTJiWomXKWc6Co2EYXksrx9_DiWGfDg4YgMHgAsdbnZ1aUgKAgm75SkesRJdSS3YzWCBVnka. pXNxd.85fyVTHBbm8mbxrYaN2wb8MfhZbYaWCeq2hgeBJT2feuCC2Abx4dIvxhaucGNYmvPHGfeL zIX6g.cNg2ZgjrZXVkXEEWh7GxpKMHGSozXUI3CKOJzy91JCmBn0ZiaIotQXd1vyg4J0yrWMmqhR 2z5cZkFLbovBcvdDJEPGV1A4TW57HSQv9eisrGlgN8sHrzMjOQe14zpMg_tWN3oGqQaUyyAt8hGw 1cVAau55TCvfXhLpOSmBwcgX46x9PMDqSHCVIgsSTzPz_sk6wJUbtirNGPKVx7BTbE9UUoE3DEPv F.81x39uyxhiYI4OE3i6kCAdUGTD5rHKKl5_z3xoFfi28dCgJueukwTnVrfkyzjllPPPcN654m0q oillnIQhprhuHa0.0Nn63ZFTvlKPY2kOdIsiM7wKpue92U6pZYxxUXUtATL31HyG8vFhifIpLQlD tqmbL8_beoFurkc53V7kbYPRer.rKGTqUAvy6x8..5b0u.3G0QuRrawxy49bRQoR67g4lXj9ESrY 3n8DV.irvXc0OIh7Fg9rMyXZn86n.l9_Kdv_ZC_A.V4ZHNMlvpaRGBA1S6tZLeSg9tid76Kw9GI1 1EhZFJ4fbc1qH551m0MuSg5TlWuctspwROOnsgXn3eK1I.2JiUxTNvlLI69_ofkyqWLMKTUtwqH5 JB9MJ8NAOan9vZr2dUjHD_uqXUTZcWcVc0PNpy8vMCmcno0plFgHbOtYTLNbBlvEg6Q8xfdShPks WnAKvetZb0DRNhQeWcffCCkr3CFuJ4QHrX8e8vhgPuDpov.IupHMy1zMwj4OKs2CLRasWcxuKZ9o C4X9KX9mRvrpXf_uMSjQSdjTI7Z9vsv2rV87zGa5VL4cSnjvOUzAcaB3J7UpQi7UaZWno5zPDiNQ 3qYGW9A2unY3nfmu0a464c3iKI07WgJDzd2K6yR268pE- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Tue, 28 Jul 2020 02:47:12 +0000 Received: by smtp417.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f025a8675f54d83c7212ac6df245cb2e; Tue, 28 Jul 2020 02:47:07 +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.4 \(3608.80.23.2.2\)) Subject: Expected issue? Old PowerMac G5 "quad" vs. USB 2.0 devices ( without hw.usb.xhci.use_polling=1 ) Message-Id: Date: Mon, 27 Jul 2020 19:47:06 -0700 To: freebsd-ppc X-Mailer: Apple Mail (2.3608.80.23.2.2) References: X-Rspamd-Queue-Id: 4BG1Ks5H5dz3RkN X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.56 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.04)[-0.040]; 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)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.012]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.011]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2020 02:47:15 -0000 Context: head -r363590 based context, non-debug build. Using a couple of USB EtherNet devices (with different chip set families from different companies), I get the like of: usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_TIMEOUT, = ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_TIMEOUT ugen2.2: at usbus2 (disconnected) uhub_reattach_port: could not allocate new device when I plug in the device. The one way I've found to avoid that is to boot using: hw.usb.xhci.use_polling=3D1 but this appears to have large performance consequences for receiving data over the device. (The only reason I've tried this on a PowerMac G5 is as a test for a Realtek driver update that John-Mark Gurney has produced and requested testing of: PowerPC is the only Big Endian type of context that I have access to. Going the other way, the only powerpc families that I have access to are in old PowerMacs. The above is not limited to Realtek chipsets.) With the forced polling I get (for the device I originally intended to test with): ugen2.2: at usbus2 ure0 numa-domain 0 on uhub2 ure0: = on usbus2 miibus2: numa-domain 0 on ure0 rgephy0: PHY 0 on miibus2 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto ue0: on ure0 ue0: Ethernet address: ### ue0: link state changed to DOWN and: ue0: flags=3D8843 metric 0 mtu = 1500 = options=3D68009b ether ### inet 192.168.1.149 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 I will note that the USB device is USB3 capable but supports use on USB2 as well. This was also true of the other device that I tried that had a different chip set. I do not know if some other types of USB devices also have such problems on old PowerMacs (or powerpc64 more generally). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)