From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 02:03:21 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97DA7213 for ; Mon, 23 Feb 2015 02:03:21 +0000 (UTC) Received: from know-smtprelay-omc-7.server.virginmedia.net (know-smtprelay-omc-7.server.virginmedia.net [80.0.253.71]) by mx1.freebsd.org (Postfix) with ESMTP id 09BC8835 for ; Mon, 23 Feb 2015 02:03:20 +0000 (UTC) Received: from localhost.localdomain ([81.106.150.188]) by know-smtprelay-7-imp with bizsmtp id ve3K1p0254481jl01e3KKs; Mon, 23 Feb 2015 02:03:19 +0000 X-Originating-IP: [81.106.150.188] X-Spam: 0 X-Authority: v=2.1 cv=cpwVkjIi c=1 sm=1 tr=0 a=DGj713NdaxKrsjjgQne7PA==:117 a=DGj713NdaxKrsjjgQne7PA==:17 a=J0QyKEt1u0cA:10 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=0HtSIViG9nkA:10 a=C-Cn-2hRBVVu-Y4oArwA:9 a=QEXdDO2ut3YA:10 Received: by localhost.localdomain (Postfix, from userid 500) id 93442885A7; Mon, 23 Feb 2015 02:03:19 +0000 (GMT) Date: Mon, 23 Feb 2015 02:03:19 +0000 From: Ken Moffat To: jd1008 Subject: Re: why would I get a segmentation fault on one system but not the other? Message-ID: <20150223020319.GA9764@milliways> References: <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <9134.76.193.19.10.1424620110.squirrel@cosmo.uchicago.edu> <590FB195-C4E9-4D22-8900-ABE784CE9896@parts-unknown.org> <20150222205918.GA68253@home.parts-unknown.org> <11537.76.193.19.10.1424641383.squirrel@cosmo.uchicago.edu> <20150222234849.GA44067@home.parts-unknown.org> <20150223001433.GB7342@milliways> <20150223011123.GB48633@home.parts-unknown.org> <54EA83F2.5000103@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54EA83F2.5000103@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 02:03:21 -0000 On Sun, Feb 22, 2015 at 06:35:46PM -0700, jd1008 wrote: > > On 02/22/2015 06:11 PM, David Benfell wrote: > >On Mon, Feb 23, 2015 at 12:14:33AM +0000, Ken Moffat wrote: > > > > > >This all Greek to me. Perhaps a diff will help: > > > Well, I see this fundamental difference: > > > ,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > > >Features2=0x7fdafbbf ,EST,TM2,SSSE3,,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2, > ,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > > The 2nd line is lacking cpu features SMX and x2APIC > I have not dabbled in compilers for many years, but one OP already mentioned > the possibility of differences in AMD 64 architecture instruction generation > by the C compiler. If they are the same as on linux, SMX is the same as TPM (Trusted Platform Module), i.e. a crypto processor, and x2APIC is the newest programmable interrupt controller - both explained on wikipedia. Neither appear to be related to the minor sse3 variations which gave me problems on linux, so I think I took the thread off at a tangent. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m.