From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by mx.groups.io with SMTP id smtpd.web12.34230.1618240208997269652 for ; Mon, 12 Apr 2021 08:10:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=G+AKESvy; spf=pass (domain: nuviainc.com, ip: 209.85.167.196, mailfrom: rebecca@nuviainc.com) Received: by mail-oi1-f196.google.com with SMTP id k25so13752551oic.4 for ; Mon, 12 Apr 2021 08:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=GuGYrbRieNRZfJ5rtTG87vIKfGThCBbDSwT0L4jWLWQ=; b=G+AKESvyacPecC8d/1Qk7g/iTI+rSkfgfeZYpnoahQuUz+Shw3SGHQiDlsahh5tCme 3iu0F7fMjgN4hfoxDvHpNf80gLm8yolVFEJT8Z85ENzMg6i7vkaaOa/ytdYpju0EfgXN /iWBuXTiqq7Kbl6nlOIM0Cy1ErSZ/3xyoYFsYNqkb8VO5eYUJ1xbyWD09gS2QtGSX0tw 3NwUyULCb+STC0yUsV04eYO7vDL25GGbBohnQkRwh4B6klXJKqq7PlE05gYLBH0Xa+M+ VYeFeLdWE2GQTTF/ooEBt7aIwj48RhYBOD56KXd1PY5g0Z3j/O8UebW4fp6Ur+BRgeVH mZtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=GuGYrbRieNRZfJ5rtTG87vIKfGThCBbDSwT0L4jWLWQ=; b=UA8xI2PfzuGwPPyXN12YCQTXT6sAJS1AS17lPptjli0tlKpuk91K5Tp3P2eWmzrjO7 N+7d8AJl+N1/ibDl1t6NXR6FMSICPHY0t0/77+9vITFE316i+PhuKvR9Jcv0A+4C31/h MtM4Yqly4qHZhfqeeoFyNT1V4TDSui7uf9ehRMaRAXBZ0udm5yI0YY82NpoosmONcaCT S2r/qYoBxdevszqQn4tMXaPSfiYpzB1zY0bR4VfKOm03DgK12/9nBrAzQgXR/VfmAM9N w3l78T6a+BO65S4ZYMz/ohA4xhldia4bO4lAnqwOKx11ecVrB8dsJQtyAHcBtfjxZ6nq oMtg== X-Gm-Message-State: AOAM530JDQ3PbGNStHBMX6V+dV1xRS3DTBG6Y3mRyzvqe+CzZoVOLc+G Lp8mZfSWXvrivFm9wikUHfQwdg== X-Google-Smtp-Source: ABdhPJxCFI8mBox5j564mqEW8ZrRMgs2gOKtf8zz0pobTgcaB5rhM+8EwhaKQXABeNm+ih69WZCwQw== X-Received: by 2002:aca:1904:: with SMTP id l4mr14123175oii.171.1618240208245; Mon, 12 Apr 2021 08:10:08 -0700 (PDT) Return-Path: Received: from [10.0.10.142] (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id j21sm59259ota.6.2021.04.12.08.10.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Apr 2021 08:10:07 -0700 (PDT) To: "devel@edk2.groups.io Calendar" , Leif Lindholm , Ard Biesheuvel From: "Rebecca Cran" Subject: GCC49 DEBUG AARCH64 and ARM builds use -O0 Message-ID: <4a1d8554-a01f-4fc4-298f-efe73369547e@nuviainc.com> Date: Mon, 12 Apr 2021 09:10:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit I noticed the GCC49 (and GCC48) AARCH64 and ARM DEBUG builds use -O0, unlike IA32 and X64 platforms which build with -Os. e.g. from https://github.com/tianocore/edk2/blob/master/BaseTools/Conf/tools_def.template : DEBUG_GCC49_AARCH64_CC_FLAGS = DEF(GCC49_AARCH64_CC_FLAGS) -O0 Is that deliberate, or should it be like X64 where DEBUG builds are optimized and NOOPT is used when unoptimized binaries are needed? -- Rebecca Cran