Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jHr3k-0004wD-J5 for mharc-grub-devel@gnu.org; Fri, 27 Mar 2020 11:38:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49370) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHr3h-0004os-7C for grub-devel@gnu.org; Fri, 27 Mar 2020 11:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHr3f-0000Nm-So for grub-devel@gnu.org; Fri, 27 Mar 2020 11:38:08 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:34588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHr3f-0000EA-M8 for grub-devel@gnu.org; Fri, 27 Mar 2020 11:38:07 -0400 Received: by mail-pl1-x641.google.com with SMTP id a23so3588115plm.1 for ; Fri, 27 Mar 2020 08:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1jR3q3HsPgkcEh9ox7NcRruTiOAozNt+nbgMgQiHM7k=; b=kySDQt2Szpg1xxpBL1pMb5KCkUOtOTFQ0/QZcWX6xmQ0gWHwq4IDK6eJE5V1H0WwVs 3t5VoOeI0M1ZxbHYSTFSPtbLfaWQmACY6dr38b07PwbHTILmXCM6nh9aeAE0Uj9UMhGb x8ggCquVeCx2icezzZOOmaaP3P5kYwb8z2bEmvkq6vpND4WUQFbvqdQp+UrAQrxyBqyi f9IUMWCiDsE5nL7S7mfNsOf0tEOkeglVXdyOuAZkCy+NxoDl+5+aO6tegiXXyR3YHCbl DErM3FjPa201I0ObpBt0XIqnAPe7SRNhgULmdXa/HaI3OQ0RA5vc1viPPEnR1KBQLNdd 4PqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=1jR3q3HsPgkcEh9ox7NcRruTiOAozNt+nbgMgQiHM7k=; b=deh7yz9Y8GLe5vm0ihi6MxKL4ogBkWsWbe7x7q543D9FnbS+h+Y4tmbxcbfS1qQ59A qzqPIrqga50ea1wKhXvI7hPr1QLv32Y5tFdhAXn/KPKaJfPTjOUggIBc6qEdoEO3yYto dUQuhfFarlu267m6x44whp3NzbzKSQTXCZGFnZPi4ehnHqzWlKnToQ64rj8oJmVl8bfG AmqANhh8wGgOrBh0ZLVxDioo88G+SewFcCvwema0Zmc8iStHcx8SaDPSrJBBiGjwZEQu jtc6jfRoUrcBWH1K2n9p4DAi3/sw7SSwwml+XYRQeqbywCi8+1uFARrUTSMKQjyP0HSQ usyA== X-Gm-Message-State: ANhLgQ3anvV5FtMd9nZs5lwJvmGRQl4UTgftNn14L3V4UbfAov+0jGSk FYopdEgAlT9Qc105BCn0xVJ2itFO X-Google-Smtp-Source: ADFU+vv8Mu/p3g5+SBeHNO+fDCCEZ0GevP9rtTD5UtLupgqmez24FecTNN2LeICPcjPL9+LBoFxQTQ== X-Received: by 2002:a17:90a:358e:: with SMTP id r14mr8681pjb.182.1585323486047; Fri, 27 Mar 2020 08:38:06 -0700 (PDT) Received: from mua.localhost (99-7-172-215.lightspeed.snmtca.sbcglobal.net. [99.7.172.215]) by smtp.gmail.com with ESMTPSA id s137sm4553087pfs.45.2020.03.27.08.38.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Mar 2020 08:38:05 -0700 (PDT) Reply-To: pgnet.dev@gmail.com Subject: =?UTF-8?B?UmU6IGZzL250ZnNjb21wLmM6ODI6MTE6IGVycm9yOiDigJhmbGfigJkg?= =?UTF-8?Q?may_be_used_uninitialized_in_this_function_=5b-Werror=3dmaybe-uni?= =?UTF-8?Q?nitialized=5d?= To: Daniel Kiper Cc: Michael Chang , The development of GNU GRUB , pmenzel@molgen.mpg.de References: <67da1ace-cfc0-ac9d-5f65-5aac2ba38ca2@molgen.mpg.de> <20200326103901.GA31860@mercury> <7c3d6f54-acd2-46a4-7f16-8a79a8309b47@gmail.com> <20200327144519.cjmiftxrlaa47r4x@tomti.i.net-space.pl> From: PGNet Dev Message-ID: <88fbedc2-3262-50c4-601c-5a3ef6047dff@gmail.com> Date: Fri, 27 Mar 2020 08:38:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200327144519.cjmiftxrlaa47r4x@tomti.i.net-space.pl> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::641 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 15:38:10 -0000 On 3/27/20 7:45 AM, Daniel Kiper wrote: >> _is_ a 'clear' env expected/recommended/required for a grub2 build? > > You control your own build environment. So, if you add options which are > not supported by the GRUB then there is pretty good chance that the > build or generated output will fall apart at some point. However, if you > think a given compiler option should be supported by the GRUB or even > used by default please provide a patch with good explanation why we > should take it. sure. builds using opensuse buildservice online are currently failing using 'default' build env. atm, that appears to be just to due to the patches, discussed here, not yet landing in release used. i can't yet say what, if anything, of the default _flags_ in use cause a problem -- need to check again if optimization, as causing a problem here, is among them. >> if so, does this need to be handled at config time? > > I am not sure what do you mean by that. just a simple check at 'configure' ... e.g. if optimization is set, raise an error. thx