From owner-freebsd-ports-bugs@freebsd.org Sun Aug 30 06:45:29 2015 Return-Path: Delivered-To: freebsd-ports-bugs@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 33EDB9C662F for ; Sun, 30 Aug 2015 06:45:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 05FE679D for ; Sun, 30 Aug 2015 06:45:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7U6jSe8026043 for ; Sun, 30 Aug 2015 06:45:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202766] devel/valgrind: unhandled sysarch cmd 132 (AMD64_GET_XFPUSTATE) Date: Sun, 30 Aug 2015 06:45:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vedge@hypertriton.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 06:45:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202766 Bug ID: 202766 Summary: devel/valgrind: unhandled sysarch cmd 132 (AMD64_GET_XFPUSTATE) Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: vedge@hypertriton.com On 10.2-STABLE, when running some threaded applications with valgrind, I'm seeing: ==31628== unhandled sysarch cmd 132 ==31628== Valgrind detected that your program requires ==31628== the following unimplemented functionality: ==31628== unhandled sysarch cmd ==31628== This may be because the functionality is hard to implement, ==31628== or because no reasonable program would behave this way, ==31628== or because nobody has yet needed it. In any case, let us know at ==31628== www.valgrind.org and/or try to work around the problem, if you can. ==31628== ==31628== Valgrind has to exit now. Sorry. Bye! ==31628== sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==31628== at 0x715EF0A: sysarch (in /lib/libc.so.7) ==31628== by 0x7130871: __fillcontextx2 (in /lib/libc.so.7) ==31628== by 0x6EC1630: ??? (in /lib/libthr.so.3) ==31628== by 0x6EC144F: ??? (in /lib/libthr.so.3) ==31628== by 0x6EC4171: ??? (in /lib/libthr.so.3) ==31628== by 0x6EB6FFD: ??? (in /lib/libthr.so.3) ==31628== by 0x40040ED: ??? (in /libexec/ld-elf.so.1) ==31628== by 0x4002438: ??? (in /libexec/ld-elf.so.1) I don't know how valgrind should be emulating AMD64_GET_XFPUSTATE, but the attached patch can be used to work around the problem by pretending it is unimplemented. -- You are receiving this mail because: You are the assignee for the bug.