From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BE41E138626 for ; Wed, 23 Jan 2013 16:07:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6446B21C0CF; Wed, 23 Jan 2013 16:07:13 +0000 (UTC) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A16CC21C00B for ; Wed, 23 Jan 2013 16:07:11 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id xa7so4776343pbc.0 for ; Wed, 23 Jan 2013 08:07:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=IU6jX1t9rkP0uG9wLi6qvu9GsZFPM/awA3siwIF/1MQ=; b=g4mUZwQJNdzYiufMdblOtG5uuVDcFZnUPCrMwowPsM6V+mfAN/GzFRG32K9pBPKhNu A+v27LyprAVOuzPJE8cERjOlrM4ZXYdU66iMGsx2i2AiHeFcdURqVV8gw7EZKl0JKu6G M17b/Akw05fl3O6G6F/0cX0lFgSen4K7VVXxFJGRJdM8hRyEUWbwap8/sRc1AeDEihZu 5CRLz10RCdHHo3svOq4Cu4YhwIKXnnTP0Wlg3E9O2XPsT02DB7tRrgerUELNHSNebFbL 8fu8odgXW+W1o/C8pa2IPSz5v2BcyFNbJLGyn8Gt0V4L3xUjW6dx7zPIfcCxn+xOtkHD tJiQ== X-Received: by 10.66.81.166 with SMTP id b6mr5959202pay.7.1358957230394; Wed, 23 Jan 2013 08:07:10 -0800 (PST) Received: from [192.168.0.4] ([123.201.39.77]) by mx.google.com with ESMTPS id hs2sm13046424pbc.22.2013.01.23.08.07.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 08:07:09 -0800 (PST) Message-ID: <51000AA9.1050603@nileshgr.com> Date: Wed, 23 Jan 2013 21:37:05 +0530 From: Nilesh Govindrajan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130120 Thunderbird/17.0.2 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] libv8 segfault References: <51000735.3060103@nileshgr.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQltQd13/m6VodKBquuB36MewEmNhXGcMzX1/+CIDtlnFaaqpeafX+7Gl/LQL1uKVNGR01I7 X-Archives-Salt: 6c322b91-2cac-438f-9e7f-c03ab7da8ef2 X-Archives-Hash: a984268efc50a33ee57ef9ce40e0684a On Wednesday 23 January 2013 09:29:22 PM IST, Michael Mol wrote: > On Wed, Jan 23, 2013 at 10:52 AM, Nilesh Govindrajan wrote: >> I tried compiling all versions of chromium (-O3, but it always worked >> previously) & v8 (tried -O3 & -O2 too) >> but it always segfaults when I try to open the settings page. >> >> CrRendererMain[6059]: segfault at 500000000 ip 00007f0d0834970c sp >> 00007fff71d91a60 error 4 in libv8.so.3.15.11[7f0d08181000+45d000] >> >> Quite interestingly, the binary version of chrome works without hitches, >> which I don't want to run because I'm a little paranoid about it ;-) >> And that also means that there is no hardware fault. >> >> dev-lang/v8-3.15.11.5 >> www-client/chromium-24.0.1312.56 (I'm at present using the google chrome >> beta, but chromium 25 doesn't work either). >> >> Flags: >> CFLAGS="-O3 -march=core2 -mtune=core2 -msse -msse2 -mssse3 -mmmx -pipe" >> CXXFLAGS="${CFLAGS}" >> LDFLAGS="-Wl,-O1 -Wl,--as-needed" >> >> Just replace that O3 with O2 for v8. >> >> Anybody knows what's going on here? > > What USE flags are enabled for chromium? You haven't specified that > you're using the custom-cflags USE flag, so whatever's in your global > CFLAGS setting is largely irrelevant. > > Also, you don't need to specify --as-needed; that's default, now. I > don't know what those other flags are doing. > > Start with revdep-rebuild, see if that fixes it. If not, you probably > ought to re-emerge chromium and its direct dependencies. Given your > recent experience with overclocking and the rather correct warnings > about silent data corruption, you may need to re-emerge a lot more > than that. > > -- > :wq > I didn't merge anything while I was playing with overclocking. custom-cflags is enabled. I found the LDFLAGS on Gentoo Wiki as safe LDFLAGS for optimal performance. -- Nilesh Govindarajan http://nileshgr.com