From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3194B139083 for ; Sat, 16 Dec 2017 02:11:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01EB5E0E63; Sat, 16 Dec 2017 02:11:23 +0000 (UTC) Received: from mail-yb0-x241.google.com (mail-yb0-x241.google.com [IPv6:2607:f8b0:4002:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85CD3E0E52 for ; Sat, 16 Dec 2017 02:11:22 +0000 (UTC) Received: by mail-yb0-x241.google.com with SMTP id t127so7472571ybf.9 for ; Fri, 15 Dec 2017 18:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=FqoE9HTA6Cw7uozHgON5VCCk6/ZEo0Dv9jR7reR5VFU=; b=dF9RunFg7uEfRA8QlVdhhYag0hdLDXY+KVW61T4NBzLxildGLcBdJFt1DubhDUCjEl 4znHcsa+vVu34F4IQ0RTxOYuT6Zm/olTc55i0MmAoYTvw6K2aGd2PWqkCzWv++Y1fvKC mBVtBgwZEBugTeWTPJxJHPqNL4tDFdbiLzD0OmqHJWn+W06KKTIgbFJBdLJvAEYskZYJ qtN/U/B5CptLnZqpVp19mg3r7v3N/RwhU3s/tCof4TWLYMjWE/uhDzTPFHa/QVQ84Wax mp4zAvWqj46EIkjSz05DopbdDdFpZIrmfQ6FCLwwEb9OLH1CudIBHxq4/TrN5/KN053t rxyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=FqoE9HTA6Cw7uozHgON5VCCk6/ZEo0Dv9jR7reR5VFU=; b=MT0tXbrT+w0HDK1Hwa80BGZ7eLvkJqCzpTbFUdyS+TjnNbihhRZWGqLhbrvFSt00nO TBsZGiqY6GGM36Xzpmk3kwpmpBjBoegmXQvA3lA7gp2mw0biuwZxMVAqn+dr9S9r1Psd LMN0xHq4tRVtv97T5sj9zU+SAoteFdD+qDlq9kFhQiEw7knnMIDf4qAfKBGmSIyAZJ+v 3mj8It2Q1T8+kzLwNP0cUFwoA/bYIM6wu8aKe/T8GiVMyQfSG4mUIFIWmAGS4O247tau Rsh0clJ6VJRWMzuR6MBo0TTDGgdr02uakK9/OX+Dv17xx1fkcOXUxVt87zOnd+t9O3y+ 8jpw== X-Gm-Message-State: AKGB3mJK3hFfr9Wdt9e51jaHI6l7r+L1BCt6LWN9R0Tpb8e4Z4uuC3s1 9WbVVbM1xtICb+yBjWDlqDKHKMrDvujqJ0PSb98= X-Google-Smtp-Source: ACJfBovw93yWVBwKKbqJqRVpUktPdybPb7ykAonJ9XUzp2EqN4qg7Hr0IyB3DmoC8rZyJh8z3KSbQffdy8LBUHc8qOU= X-Received: by 10.129.73.65 with SMTP id w62mr8741020ywa.104.1513390280852; Fri, 15 Dec 2017 18:11:20 -0800 (PST) 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 Received: by 10.13.224.71 with HTTP; Fri, 15 Dec 2017 18:11:20 -0800 (PST) In-Reply-To: <46c2e11c-c78d-40d6-bc7a-378e91607651@verizon.net> References: <46c2e11c-c78d-40d6-bc7a-378e91607651@verizon.net> From: R0b0t1 Date: Fri, 15 Dec 2017 20:11:20 -0600 Message-ID: Subject: Re: [gentoo-user] what gives with -O[x] in cflags? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 5ba75ccf-8fcc-458e-883f-bc85777989b7 X-Archives-Hash: c3e442ad5d298d918b58e002f31b079c On Fri, Dec 15, 2017 at 2:12 PM, Alan Grimes wrote: > I did not have -O3 in my cflags because > > A> most packages have an appropriate -O level set > B> Some packages are sensitive to the optimization flag and will > missbehave if set, > C> letting the optimization level default to whatever should always be > safe. > > -> therefore I did not have any optimization set... > > So therefore webkit-gtk decides to be a prissy little cunt and throws an > error because it didn't have an optimization flag set, who the hell do > those developers think they are? If you think you should have an > optimization flag SET IT!!! Just provide an override, throwing an error > just because the user was lazy in compiling it is not acceptable. =| > I noticed something similar in Firefox, which from skimming the build log sets -O3 internally regardless of what the user has set. This is troubling for two reasons: 1) Gentoo (apparently) has a policy of not allowing packages to mangle CFLAGS and CXXFLAGS, even with user permission (a useflag of eix was removed because it set -O3 when enabled). 2) Firefox is the only application I run that crashes, and I don't know how to disable -O3 to potentially make it more stable. Cheers, R0b0t1