From owner-svn-src-head@freebsd.org Sat Aug 24 19:15:01 2019 Return-Path: Delivered-To: svn-src-head@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 3BAFBC7C4D for ; Sat, 24 Aug 2019 19:15:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.ne1.yahoo.com (sonic311-24.consmr.mail.ne1.yahoo.com [66.163.188.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46G7J35TtTz41rZ for ; Sat, 24 Aug 2019 19:14:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: WC9q3x4VM1mGVYv4v4c2N0SCY_h42Yc7Vw86RWw9GkI_oSTnqiQAqgXNB9mmrF1 vX9Vp7n39uXibaNL6id9lwF7XkIeuBxwDODU5T2viotoLr4FQtB4gPDebl.LqYgIPrlBNO3COP4t o5PsrF3QxUjD6SuJhjKTnTP8hBQeRfjgi_sw7148QGuJalLpIoN94s94LU83N3o9_Y9Xqr5dknNV gaePvcrKyiO9gmqyuTmf9r68ExCWDqVEkj0gTsIO7NC77JaPkanPU4N2ln5fUGKfi.MTvaq.TLsD POcewz6xszCNK3yE2KqwYAx0gS3QJGVN6qkKO6RyekHggEJUS6NBpb.KlWIQUm_4bGSW0V0dH4mY 19sM.oqCnGWhWYpqi3vKrWiW55eiC5nTmhla2cMnicIFlskXmmtveCHsIPi8FoMtSlAST6DhpU0H 3EJx3m_rEBS_78gAzHKiG7B7TooCqaJgMXHqL5XN08kAnEU2O3GDCCdTzkzdjYzhZRFu.KgUtD1u 4eUGvC8TAfcpAFM6uIkBP3COP5MrkYk4_IVvhiNr1rq0NVy8nkDEULMWM04om0o1a8ubmphNTvcN XySQ7iikjNUdAdhUexYUOiZ2eqj5A7U9ul.XGWuyUzR6xohSbf9pIaLn7Cu4ziq3Y3t790L0RK2a Dck.pb1WCbMpyrXb9vlIQSGsQ5RYg2qhdd0JD1hq5LeYb.Q5jsY1v4CcXlyjZ39Yl3irOSe5Ge9s FmaFhuVQoH0erOFIkq2Nq_0.5D9e4wMxtv_s1iaMYNCczIIBDChgS6hxGXIDEeCdc15s2QLY_Ulq KedUKgERnDFNSPKLAg16An9ta_DYnAJE3OSLiNBkh5iWmJ9EoUOA1yFbEb.N.xJfJhQLBCImD9P4 vuNi3kDni11rh89SGPBK.qZGOv_syeQ_qNdAxRcyBjZU_Rkid9_e0KYCltwFNpPGokZn9kg3UqzN errbWwTAOB0cGrr1T1ePzut55jqRs9hDTNqrpKBiCpUiW5Qg91d0bnxlJAtECAMZ2ccqwFytRaRp v1zBABJFZxv558N5F02iSHIq_P3lXp84vZ7Bw5flFi1PCAnfc7gJuXXTfSaaRNVVZjSNVPoGVERf JVRAfn5hbkmdj9YqPcgvqKgzzu1ZsjRW.wPQnSynBw5PRAxrg.iiXKtoVOw1RG1r8BKfoieyU6M6 Jerjkl0zn42Rrdma.Dkn7DfQ_e5rmd1xVAh1xrA0yJeMIFa.ydYyal2iG5sE4sIugwRAvXgL_1Dr Mtip11MMShOWWyGmLhJYycA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sat, 24 Aug 2019 19:14:57 +0000 Received: by smtp426.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 51063771831bdec516561a7890a66f37; Sat, 24 Aug 2019 19:14:55 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: svn commit: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto Message-Id: <041F4FA3-8844-419B-80E0-0EEDF46ED6A5@yahoo.com> Date: Sat, 24 Aug 2019 12:14:54 -0700 To: svn-src-head@freebsd.org, Warner Losh X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 46G7J35TtTz41rZ X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.06 / 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:36646, ipnet:66.163.184.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)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.73)[0.730,0]; NEURAL_HAM_LONG(-0.02)[-0.018,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.55), ipnet: 66.163.184.0/21(1.29), asn: 36646(1.03), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.85)[0.848,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.188.163.66.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2019 19:15:01 -0000 Warner Losh imp at bsdimp.com wrote on Fri Aug 23 22:05:39 UTC 2019 : > On Fri, Aug 23, 2019 at 12:26 PM Conrad Meyer wrote: > > > At expected peril of wading into a thread >4 emails deep, > > > > @Warner, modern GCC reports a similar warning; it just doesn't become > > an error (at least in CI?). I'm not sure of the mechanism. Maybe > > CI-specific? Old GCC didn't have a -Wno-error for -Wcast-qual, so > > -Wcast-qual + -Werror there produced an error; that's why > > $NO_WCAST_QUAL in conf/kern.mk is defined to -Wno-cast-qual for old > > GCC but -Wno-error=cast-qual for newer compilers. That said, this > > file does not appear to be compiled with ${NO_WCAST_QUAL} either way. > > > > Yea. I'm unsure. It's an odd warning, and an odd way to get around it. In > general, nobody cares about gcc 4.2.1, so pinning implementing that belief > to this specific bug may have been unwise. I just assumed newer versions > wouldn't warn on this, but I saw on IRC that the types are stupidly > different... . . . While I know how to build for powerpc64 ( using WITHOUT_LIB32= ) without using gcc4.2.1 or the matching binutils, 32-bit powerpc is not so clear for how to target without gcc 4.2.1, at least based on what I'm familiar with. (I normally work with materials from the official FreeBSD svn, not other development material sources.) (Locally reverting the secure-plt change would help for amd64->powerpc cross builds based on system-clang and devel/powerpc64-binutils or base/binutils . Even lld from devel/llvm90 is not ready for 32-bit powerpc as yet, from what I've seen, so llvm90 is not yet a self-contained solution.) May be someone else does know a good way to build FreeBSD for tracking head for targeting 32-bit powerpc as things are now? May I the only one not knowing how to build for this target as things are? I'd been trying to avoid disabling the secure-plt change that causes gnu's modern ld's to revert to bss-plt and return an error code that stops the build when system-clang or llvm90 is used. (The old FreeBSD ld does not return the error code but does report reverting to bss-plt. But it fails for buildkernel via a separate issue when system-clang is used.) As stands I'm not aware of how to target 32-bit power pc from some more modern gcc/binutils combination. As stands it looks like reverting secure-plt's use is the direction I'd have to go to avoid gcc 4.2.1 . === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)