From owner-freebsd-ports@FreeBSD.ORG Tue Apr 5 12:09:41 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06D5F106567A; Tue, 5 Apr 2011 12:09:41 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B61818FC19; Tue, 5 Apr 2011 12:09:40 +0000 (UTC) Received: by iwn33 with SMTP id 33so350452iwn.13 for ; Tue, 05 Apr 2011 05:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=eMQ45ceLC2IW6ZKXeDQLkJowTPfxxAELx0KrLNiruEs=; b=KU8GRxNEA98NLdLq42TSuNUkWv1kk13yV0Up+YESp7vS5NVYRpXyvjnBvDbumPidKJ UqOP4+VGR8EVC+eqsQYRlSuM3V+WpKjUezkqrzisEVUCNtP2I3xIZl1WbOXvXVA1BfE7 WsWjP5TQ/PUasWlny5QzL9dK+h0yDDyochWPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dEZ6oFrZbtm4n0oTPKXx+WtMSf2y5SWDnoLA7id1Om2d7kBsUJvtg/ozj09Hc1PdgI GkmENi5GVHh0kosCE8C6wQTGFyQcgKWEXWpPz8vcKJ5zJ0xv0/qi8xiyjoSCqIJyXb8d BSK39sUCJREy4jWNg7z6nRpxgK7kPCMmEsUXI= MIME-Version: 1.0 Received: by 10.231.123.141 with SMTP id p13mr8762280ibr.29.1302003554409; Tue, 05 Apr 2011 04:39:14 -0700 (PDT) Received: by 10.231.33.138 with HTTP; Tue, 5 Apr 2011 04:39:14 -0700 (PDT) In-Reply-To: <20110405070656.GA1490@birne.dunkelkammer.void> References: <20110405070656.GA1490@birne.dunkelkammer.void> Date: Tue, 5 Apr 2011 14:39:14 +0300 Message-ID: From: "Andrew W. Nosenko" To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Stefan Walter Subject: Re: libxul dumps core with 'illegal hardware instruction' with newly ported 'pytrainer' X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2011 12:09:41 -0000 On Tue, Apr 5, 2011 at 10:06, Stefan Walter wrote: > (I didn't get any replies on freebsd-gecko@, so I thought I'd just send it > on freebsd-ports@, too.) > > Hi, > > I'm working on a port for pytrainer (see [1]), which uses libxul to > display GPS tracks via Google Maps or OSM. Starting the software, it > crashes with "illegal hardware instruction" and leaves a core dump behind. Something compiled for CPU model higher than CPU, which actually run the resulting binary? For example, if I compile with -march=native on the Core2 machine and then try to run resulting binary on Pentium4, then I will obtain "Illegal Instruction" with very high probability. -- Andrew W. Nosenko