From owner-freebsd-mips@freebsd.org Fri Jan 29 11:39:46 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E0ABA71FBD for ; Fri, 29 Jan 2016 11:39:46 +0000 (UTC) (envelope-from wjw@digiware.nl) 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 2B3591999 for ; Fri, 29 Jan 2016 11:39:46 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.ysv.freebsd.org (Postfix) id 2876BA71FBC; Fri, 29 Jan 2016 11:39:46 +0000 (UTC) Delivered-To: mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2818AA71FBB for ; Fri, 29 Jan 2016 11:39:46 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E92461998 for ; Fri, 29 Jan 2016 11:39:45 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 2A904153416 for ; Fri, 29 Jan 2016 12:39:42 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id htvaVTih-0EX; Fri, 29 Jan 2016 12:39:23 +0100 (CET) Received: from [IPv6:2001:4cb8:3:1:b59b:86c5:40eb:eef0] (unknown [IPv6:2001:4cb8:3:1:b59b:86c5:40eb:eef0]) by smtp.digiware.nl (Postfix) with ESMTP id 14BE1153413 for ; Fri, 29 Jan 2016 12:39:23 +0100 (CET) To: mips@freebsd.org From: Willem Jan Withagen Subject: Getting BAD_PAGE_FAULT when compiling lang/ruby21 Organization: Digiware Management b.v. Message-ID: <56AB4F61.6000301@digiware.nl> Date: Fri, 29 Jan 2016 12:39:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 11:39:46 -0000 During running auto config I get: ---- checking valgrind/memcheck.h usability... Jan 29 12:30:04 witi kernel: BAD_PAGE_FAULT: pid 5529 tid 100057 (conftest), uid 0: pc 0x400c10 got a write fault (type 0x3) at 0 Jan 29 12:30:04 witi kernel: Trapframe Register Dump: Jan 29 12:30:04 witi kernel: zero: 0 at: 0 v0: 0x1 v1: 0 Jan 29 12:30:04 witi kernel: a0: 0x3 a1: 0x7ffee7c8 a2: 0 a3: 0 Jan 29 12:30:04 witi kernel: t0: 0 t1: 0 t2: 0 t3: 0 Jan 29 12:30:04 witi kernel: t4: 0 t5: 0 t6: 0 t7: 0x400c08 Jan 29 12:30:04 witi kernel: t8: 0x11 t9: 0x4068e200 s0: 0x1 s1: 0x7fffe8ac Jan 29 12:30:04 witi kernel: s2: 0x7fffe8b4 s3: 0 s4: 0 s5: 0 Jan 29 12:30:04 witi kernel: s6: 0 s7: 0 k0: 0 k1: 0 Jan 29 12:30:04 witi kernel: gp: 0x418e90 sp: 0x7ffee818 s8: 0 ra: 0x400c08 Jan 29 12:30:04 witi kernel: sr: 0x8413 mullo: 0xcafda0 mulhi: 0xe badvaddr: 0 Jan 29 12:30:04 witi kernel: cause: 0xc pc: 0x400c10 Jan 29 12:30:04 witi kernel: Page table info for pc address 0x400c10: pde = 0x8d291000, pte = 0xa0210f6a Jan 29 12:30:04 witi kernel: Dumping 4 words starting at pc address 0x400c10: Jan 29 12:30:04 witi kernel: ac020000 00001021 8fbf0040 03e00008 Jan 29 12:30:04 witi kernel: Page table info for bad address 0: pde = 0, pte = 0 no ---- After that life goes on, so I guess that autoconfig did something with valgrind that the kernel does not really like, like trying to write to address 0x0?? And as such nothing to worry about? --WjW