Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2018 18:59:02 -0400
From:      Charlie Li <ml@vishwin.info>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Brooks Davis <brooks@freebsd.org>, svn-src-head@freebsd.org, toolchain@freebsd.org, current@freebsd.org
Subject:   Re: svn commit: r339898 - head/lib/libc/amd64/sys
Message-ID:  <f8be07cd-f5eb-989c-44f1-ddcd60841411@vishwin.info>
In-Reply-To: <20181103152936.GQ5335@kib.kiev.ua>
References:  <201810300011.w9U0BUui038857@repo.freebsd.org> <a2d14762-d6f9-4c3e-b3d3-efb7dcb2640f@vishwin.info> <20181101160406.GA60233__23941.7825396687$1541088368$gmane$org@spindle.one-eyed-alien.net> <ae15161f-0728-d208-12a2-08a22fcbc50b@vishwin.info> <fdda06af-d189-b9b0-d2d5-26bcf2c6395a@vishwin.info> <20181103152936.GQ5335@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fH65cH0eBd2F1iuHfkAMiUC3fhblqIpkD
Content-Type: multipart/mixed; boundary="q9Jfd9G1NjpUiLTkRuGIPkOE0DmXqX611";
 protected-headers="v1"
From: Charlie Li <ml@vishwin.info>
To: Konstantin Belousov <kostikbel@gmail.com>
Cc: Brooks Davis <brooks@freebsd.org>, svn-src-head@freebsd.org,
 toolchain@freebsd.org, current@freebsd.org
Message-ID: <f8be07cd-f5eb-989c-44f1-ddcd60841411@vishwin.info>
Subject: Re: svn commit: r339898 - head/lib/libc/amd64/sys
References: <201810300011.w9U0BUui038857@repo.freebsd.org>
 <a2d14762-d6f9-4c3e-b3d3-efb7dcb2640f@vishwin.info>
 <20181101160406.GA60233__23941.7825396687$1541088368$gmane$org@spindle.one-eyed-alien.net>
 <ae15161f-0728-d208-12a2-08a22fcbc50b@vishwin.info>
 <fdda06af-d189-b9b0-d2d5-26bcf2c6395a@vishwin.info>
 <20181103152936.GQ5335@kib.kiev.ua>
In-Reply-To: <20181103152936.GQ5335@kib.kiev.ua>

--q9Jfd9G1NjpUiLTkRuGIPkOE0DmXqX611
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB-large
Content-Transfer-Encoding: quoted-printable

On 03/11/2018 11:29, Konstantin Belousov wrote:
> Some minimal amount of facts instead of guesses would be much more usef=
ul.
>=20
Yeah, being sleep deprived and hurried (on my end) certainly doesn't help=
=2E
> What is the instruction which faulted ?  Disassemble the text at 0x2f56=
64.
> Regardless of what is the instruction, show either the output from
> 'x86info -f' on the machine, or cpu identification lines from the
> _verbose_ boot dmesg.
>=20
It appears that 0x2f5664 does not exist:

Disassembly of section .init:

00000000002f565c <_init>:
  2f565c:       48 83 ec 08             sub    $0x8,%rsp
  2f5660:       e8 fb 3c f3 ff          callq  229360 <frame_dummy>
  2f5665:       e8 b6 ff ff ff          callq  2f5620
<__do_global_ctors_aux>
  2f566a:       48 83 c4 08             add    $0x8,%rsp
  2f566e:       c3                      retq

CPU ident:

CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (2394.52-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x306d4  Family=3D0x6  Model=3D0x3d  Step=
ping=3D4

Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=3D0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3=
,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AE=
SNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=3D0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=3D0x121<LAHF,ABM,Prefetch>
  Structured Extended
Features=3D0x21c27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFP=
USG,RDSEED,ADX,SMAP,PROCTRACE>
  Structured Extended Features3=3D0x9c000000<IBPB,STIBP,L1DFL,SSBD>
  XSAVE Features=3D0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
> make is statically linked, do dynamically linked program fault ?
>=20
After some more checks, only the statically linked programs crash.

--=20
Charlie Li
Can't think of a witty .sigline today=E2=80=A6

(This email address is for mailing list use only; replace local-part
with vishwin for off-list communication)


--q9Jfd9G1NjpUiLTkRuGIPkOE0DmXqX611--

--fH65cH0eBd2F1iuHfkAMiUC3fhblqIpkD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE/3/Cqr5a+41PbEb+jnB43vIDq2wFAlveKDYACgkQjnB43vID
q2y/SA/9H7IB8/yfLonhV0cMf7JeBsRg9WbrfQ4MoVPjDVwDOfH1CSPDTjySfAl1
kcNtuMYPgf1Y3RKhDsXsnK+qNft8MSme5shP8PHf6p/yO9eIeiaFCX1NjLnFq4GS
41tW9MmiuImORGGj4m8vtkBQ5yvD3lJ+AoBAH4IKpGRU8vtcRQ2e/cDe2k/5S67V
QWvrIdSjmNECeKEmNbtf/P28OCGby8FWK+OjIDDxoJiDu1+qT40xnyOhm5NuvBCc
7/gkrclqELvZHnLxUf14dL3zD50mNqC7j+0EX1NIQ5WzKxjcypOo2WleTCQKizct
MOljVRI7DU+xwvTlTm99nsthRpMirUn8hh/QIkzgjPj08JJt6ZwPgsRTvP0+AO2R
l5P+0qvkJlTzkx/9+35GYxL9s+9g4Wah0GBt69cynrAxVecgAAAosf45eQfvosq8
7klEkC+yj2lFo1YYXTKFQ844nNEehec6qwIGwVaj3IBJpbGn9RJAz4Rmr0v2yCMi
6XPcQdL6FQoE2zzG9h2l5Re8Ty58fb9kCLB+AhYqWmQiNvz+HS85E90XaK7APCdw
6FyreBE+hpgyp/oBq4uE84qrGgmW4lcNLwnjY8H6dZWclAEOXPUDlVNFtC2NtVxk
7MlO3paEEy+UYZcjjBgBHKjlaH1jjKZm7y7+oZMjNB/SXDVIslQ=
=rTb7
-----END PGP SIGNATURE-----

--fH65cH0eBd2F1iuHfkAMiUC3fhblqIpkD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f8be07cd-f5eb-989c-44f1-ddcd60841411>