From owner-freebsd-current@freebsd.org Sat Feb 9 12:45:01 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA9C214E137E for ; Sat, 9 Feb 2019 12:45:01 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 33E176AD62 for ; Sat, 9 Feb 2019 12:45:01 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: by mailman.ysv.freebsd.org (Postfix) id E6DD114E137D; Sat, 9 Feb 2019 12:45:00 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB92114E137C for ; Sat, 9 Feb 2019 12:45:00 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (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 B25986AD61 for ; Sat, 9 Feb 2019 12:44:57 +0000 (UTC) (envelope-from Alexander@leidinger.net) Date: Sat, 09 Feb 2019 13:44:25 +0100 Message-ID: <20190209134425.Horde.qSCFULHYCNwA5XXu6q3wl2-@webmail.leidinger.net> From: Alexander Leidinger To: current@freebsd.org Subject: r343917 fails into single-user mode at boot - new clang related issue? User-Agent: Horde Application Framework 5 Accept-Language: de,en Content-Type: multipart/signed; boundary="=_YbdcT75CVWaTrCFmqDa-1dY"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-Rspamd-Queue-Id: B25986AD61 X-Spamd-Bar: -------- X-Spamd-Result: default: False [-8.74 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.68)[ip: (-9.74), ipnet: 2a00:1828::/32(-4.83), asn: 34240(-3.79), country: DE(-0.01)]; DKIM_TRACE(0.00)[leidinger.net:+]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; MX_GOOD(-0.01)[mailgate.leidinger.net]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 12:45:02 -0000 This message is in MIME format and has been PGP signed. --=_YbdcT75CVWaTrCFmqDa-1dY Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm updating from r342714M to r343917M. At boot init fails directly=20=20 and=20I get asked which shell I want. /bin/sh dies directly too and I=20=20 get=20asked which shell I want again. With the r342714-BE booted and mounting the r343917-BE somewhere I can=20= =20 start=20the new sh on the old system without issues. If I compare the objdump -x output of init (oldnew): for the old one=20=20 there=20is an invalid relocation type 37 reported, and for the new one=20= =20 there=20is at the end of objdump an additional relocation record for=20=20 .got.plt.=20The rest of the difference is just different offsets and=20=20 sizes. The=20file util doesn't report anything different for init. This is after deleting /usr/obj, and cleaning the ccache cache. All=20=20 cases=20are with CPUTYPE=3Dnative (Intel Xeon E5620). I remember a commit of a new clang to head. Anything else in the area=20=20 of=20influence for this? My next try is to compile without CPUTYPE=3Dnative to see if the new=20=20 clang=20is doing something in this area which it didn't do before. Has=20= =20 anyone=20else seen a similar issue or has an idea what to look at next? Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_YbdcT75CVWaTrCFmqDa-1dY Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJcXsspAAoJEBINsJsD+NiGlAEP+waaF33mo1yk9O6S1n5bz1bF Qats+cA88YyLHbVnXfrgeBSqxlFZ60jFP5c7WdbW5QNF799EBvss+cXQxBZXQ/vP ZaqhHTDIzsuyCivNYyF62ACWwtwLlgurvSXZyD/+W6OdY4c5/unL62ufhrAlrbUr Oh6dtwYANLn3LotKF5hO1jGiV5MInRDdN3KiG3FUzWX5tgxUUnWQNmcu3gqEJChL tIFEld3Ls4Q/jnfWPnspdSLFowmEWvGymL8wADY9YsldhFS/CdyCd3rPtlikCzLP 6kv3n/fCu+OzKPUMYVHLcrvaMyc+RWSVONiBj0/ATBzuf70RAaKWWqJZmBBtTcJu I/hPfNZgqrXOrJwDcNhTj3i7oFSFddH1TjKhZn3uaeflUe0KYxnvd/XoWmiohh0+ 1Eoeeu9rujJTZXUHL71uT+7ykcwbTu2t8YzRpR4UaQjFDl8Yx8dZvG98iZNw5CL0 PuMoD8/MOkzoVrzwYR0j6/iZWYFrkL60k9dOTxBEypWQGUoPziZWUkCVy1nnDuj2 CbjZ4DKElpFjzOpFdxY05+JvvA5PXMama1CoB6LCx3ip5zxlYTfCpdJLHL0zSjh4 U9N36GmyTBZKIkp+NTErpXGZSaNUAYyVrUr1SLz9vOd3RaO0DbZSp1HrxunpzXVU IqjzrhK+rl1NwTRjd3mi =cAG5 -----END PGP SIGNATURE----- --=_YbdcT75CVWaTrCFmqDa-1dY--