From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nuu0F-0001KN-OZ for garchives@archives.gentoo.org; Thu, 25 Mar 2010 20:50:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DFBAE0830; Thu, 25 Mar 2010 20:49:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D5644E0830 for ; Thu, 25 Mar 2010 20:49:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 73CF31B4085 for ; Thu, 25 Mar 2010 20:49:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.011 X-Spam-Level: X-Spam-Status: No, score=-3.011 required=5.5 tests=[AWL=-0.412, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVto9Ri67nOw for ; Thu, 25 Mar 2010 20:49:43 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 5BEB41B40E9 for ; Thu, 25 Mar 2010 20:49:41 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nutzn-0005iQ-FE for gentoo-user@gentoo.org; Thu, 25 Mar 2010 21:49:39 +0100 Received: from athedsl-377459.home.otenet.gr ([79.131.26.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Mar 2010 21:49:39 +0100 Received: from realnc by athedsl-377459.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Mar 2010 21:49:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: valgrind showing glibc warnings Date: Thu, 25 Mar 2010 22:49:39 +0200 Organization: Lucas Barks Message-ID: References: <92ad22481003250709u7442a4f6pa90b3b665f86b49a@mail.gmail.com> <92ad22481003251131u2300cba9r9e604dd4367a14f2@mail.gmail.com> <20100325153616.GA2216@zoidberg.hsd1.mi.comcast.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-377459.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3 In-Reply-To: <20100325153616.GA2216@zoidberg.hsd1.mi.comcast.net> Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 424a283e-1233-4d4b-9ebd-d892d960209c X-Archives-Hash: 6fc41bc6687e0bac1cb6a5e2ee76d6b7 On 03/25/2010 05:36 PM, Jacob Todd wrote: > On Thu, Mar 25, 2010 at 03:31:19PM -0300, Cr=C3=ADstian Viana wrote: >> either valgrind is doing something wrong or there's really some errors= on >> glibc. > > I wouldn't doubt it. There are always errors everywhere :P The problem is you shouldn't see=20 them since you're only interested in those in your own application. Anyway, in this case, the "error" lies in that glibc recently started=20 using sse instructions to speed up some string operations on=20 intel-compatible CPUs, and Valgrind barks at those unless it has access=20 to the debugging symbols. On other distros this is no issue since they=20 make sure not to strip the libraries in question, or provide installable=20 *-debug packages. Gentoo doesn't provide this fine-grained debugging=20 support, and you have to build using splitdebug in FEATURES.