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 7AC7A1396D9 for ; Wed, 15 Nov 2017 15:48:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 340F2E0DAC; Wed, 15 Nov 2017 15:48:21 +0000 (UTC) Received: from mail-yw0-x244.google.com (mail-yw0-x244.google.com [IPv6:2607:f8b0:4002:c05::244]) (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 C4025E0BEF for ; Wed, 15 Nov 2017 15:48:20 +0000 (UTC) Received: by mail-yw0-x244.google.com with SMTP id d2so12270392ywb.11 for ; Wed, 15 Nov 2017 07:48:20 -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=eAIyENfCib9cj/j9AJMTED8ieGCx8DAa2uQtU4ZUuZQ=; b=k/oJA4faYC18l0/7vsc7sTm/IFjfxOJ+gHm7LtcxUCjlltSHbU+Z6S0IPV/238X8mY G8lQ2cybchzp33+9mP8LwlkMcdVpM46MN5x+om2iEHmONjTKplrdC2KqoQTVQEjAn26I YIjTlK5YfUc5GLkqSE8jV2SMa49pAjsmgqLAH2yr1tFpCyRVR6MyQ3kXUiTH58KvaaxK Bqv3Qq/HGZrjs9M7eKEX7w1StejAfm/NZmPVq6oQhfo7jSAv7MyC935vUxy++qP/9Xsa XiJ44ZeyLkh5UkVSce5tq0V7c1keUhmHuiRMtNfbsVoQhFI+hqoHWn7gBS6hfpp6BtP2 8+ug== 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=eAIyENfCib9cj/j9AJMTED8ieGCx8DAa2uQtU4ZUuZQ=; b=agtEzSphWbbO6ZY4yfUHfZNzXA5H5ilotm5eI0xqImv58TbTYVHFKSvepRtlxTxHGv wpDDySgY5lqTVYz2wsNpxsbV/81nKE0zGQhDguOa033NzimrqvrltQc2tjSZKXQpbq0J s6vu2MklSR4pM7SZEpXdI6bLU8ufrZP8qJqqIS7/7Jl4C+W2NcY3S5dujhOQMOUL0FNy OH1+V76dQCOxSChZwrNt3FeihhngkOjoMQo5FGq5irH5+vI3m8r4pTPZQZpmDkJiW3qY PRwmp6g2lHHJgxEREEpb54do+c1S4K6CaQuV9eT/K8vTPg+TD/eXZpgCulnYgRRHY9yL dLrQ== X-Gm-Message-State: AJaThX6DiE2qXTBu3PIXoGDzKhmxk4GskvCHIxW6XD7kG8uwpbfC2UNQ H1yoOyLLtSmjllCB1knYmeVTZTtiaV1jRTyMvl6YyA== X-Google-Smtp-Source: AGs4zMYus584N6Uu+kTi4wDegTv5ihtNB4/gGEUp3fb5Slt/NedbIDTryvJz93jWtnRRJjLqJcV9Jceks8ypx8yo/1A= X-Received: by 10.37.208.88 with SMTP id h85mr5120924ybg.363.1510760899450; Wed, 15 Nov 2017 07:48:19 -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.129.49.7 with HTTP; Wed, 15 Nov 2017 07:48:18 -0800 (PST) In-Reply-To: References: <26501197.ioODuGg76y@thetick> From: R0b0t1 Date: Wed, 15 Nov 2017 09:48:18 -0600 Message-ID: Subject: Re: [gentoo-user] Re: memset_s To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 2302b232-e279-4ae3-bdd7-f6f516d654fb X-Archives-Hash: 91560f3cdb8470352e45b18f5d1d291c Apologies for the double post, On Wed, Nov 15, 2017 at 9:41 AM, R0b0t1 wrote: > On Wed, Nov 15, 2017 at 1:22 AM, Jorge Almeida wrote: >> On Tue, Nov 14, 2017 at 8:42 PM, R0b0t1 wrote: >>> What I am wondering about is if C code which uses >>> __attribute__((optimize(...))) is against Gentoo package standards and >>> would have to be removed from the Portage tree. >>> >> >> >> You can set your optimization preferences in make.conf, and still an >> ebuild will override them if deemed unsafe. What would be the >> difference? >> > > Ebuilds are not supposed to do this, so if you file a bug report > citing that ebuild changes will be made (eventually?) to work around > it. > > > On Wed, Nov 15, 2017 at 9:28 AM, Grant Edwards > wrote: >> On 2017-11-15, R0b0t1 wrote: >> >>> What I am wondering about is if C code which uses >>> __attribute__((optimize(...))) is against Gentoo package standards and >>> would have to be removed from the Portage tree. >> >> Huh? >> >> Gentoo enforces standards for the source code of packages? >> >> "They" review the source code for the Linux kernel, Gnome, KDE, Qt, >> Chrome, Firefox, GCC, and 24670 thousand other packages and make sure >> they all follow Gentoo coding standards? >> > > To be consistent they would have to. Why I bring it up is that a > number of optimizations in eix were removed due to the logic I gave > above, despite there being no way to enable them without setting "-O3" > globally. > > Cheers, > R0b0t1 https://bugs.gentoo.org/632315 Cheers, R0b0t1