From patchwork Fri Mar 1 03:21:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 159451 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp223668jad; Thu, 28 Feb 2019 19:21:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyNuzhsDeq07IgK8w7+LJ920dItMCcOyZAdtjg+QK5De8Oi9O3iaEcR8j4s92rCVY13kxDB X-Received: by 2002:a65:624c:: with SMTP id q12mr2586333pgv.75.1551410508404; Thu, 28 Feb 2019 19:21:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551410508; cv=none; d=google.com; s=arc-20160816; b=ZbAxDtG114u0257/vkv2TY2wX4GQ5AiDlD1MzArezP8eHPhKsgya8zcSInJup1npmz BMAeXof5GzsX4F9co0GVMiCAsCoajn9wvVxQhIU7X20onUrqVMDywLZRuFgFgKgEu7w5 QXk2EYaB5TLCEukh5hHlLRgXK88C+xNMVfVciEDIwDYVYcgALigTzfWNcWlaz0y9/0zL Qum4S3jsD5sTN+T6GZU0m/KjSi2CsWAZdb/sQQI5qkoJj+9n60/8fQa76X2uRJ75jLuY B2a1PMoRG/zGjPPhGwOlsM6YSV0D9u2AVmKIiD6X0Tr8/ZlXhmCZtVuqT2BE5nRM5Fg8 lGRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=QgBE6b0OltfsprB9oBJFwvNUVsZ1dcH4xF8e4htprxM=; b=T05qA5pXJDxMpDRhgM6/29hWOWCHcTb+YuZJEzB5zJEQ+GKMZm5UAfjvmFVzzNYgXg HpbhEQ01kr73aTHGdGDvjwtp+lEPs5nal8FRle6VKXdNdHWvbT2nl5UxWdJxJAGDnThm 1kB4wJcnmHOPHy5B+mQmYFZmaZArkeK1KZ5nQCs2AWxyHzx38nGMXjQ5oni87RfNw+iK UOwBf0lxFMpSn7kWF+0AvMD5FFl0Gc+HaCdyuhw1qZ3XK7/32FIDwkkfU6SQBFZnyOIl 3aLJWDpHMd/OxOG/tiTeeNblWQACrikbgRRnInpXb5Sg/DA1Dw0UBy3yni7CzI9W8r1i UyrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=t0l+97u8; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m63si9339563pfj.107.2019.02.28.19.21.48; Thu, 28 Feb 2019 19:21:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=t0l+97u8; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DAD747C6DA; Fri, 1 Mar 2019 03:21:42 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mail.openembedded.org (Postfix) with ESMTP id 97A487CD25 for ; Fri, 1 Mar 2019 03:21:22 +0000 (UTC) Received: by mail-pl1-f170.google.com with SMTP id k2so10758557plt.3 for ; Thu, 28 Feb 2019 19:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D6fqh/fIl4r0ULGQ24EfCxZlOQPyOqC0KWFun4/Orsc=; b=t0l+97u8JNJSxComV4C0YjeS014ougvppHTSS/ubky9PSL/TPqr/GsmFnizGf+0N5i B/ft3wDObapZ/FXc7jgy2i2yI9BZ9+DoKxb8iuXicIY7DZnSm8UJ/NsdfJESOr2EisJ6 veXE0GEligZHptYC8Z5kZ4eUypXGKNIA/Usps2hmVkzGXUhIHmStHXsIO8rYL1PYjd3l crFhjxpiaLpveo9FIOYu5c30+ouC0E7fhMG8Zyd2tAj5ZfgJnYgBCzCWuUSBP9Km7xWN U9QsFxvpINoS+k7C6wcZwI38uGAfZ1zwhRzkByYvup7BU1g5JG1QAVt04uJB68cbrRIY cn2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=D6fqh/fIl4r0ULGQ24EfCxZlOQPyOqC0KWFun4/Orsc=; b=RosHOvEm+fupCkNE6nyg8qHycGTy+4jzX4QS7eRKDjZ9KvvsD7TKLr6m2fi048If46 xViqNN55E6PHFrUf5vYtnOoG9t5vfz/1fnXapgsEb02cPyPzNabciqTgUn7q7BuumYHE wIzBJ9AFAMFTOSMipAuNkM6d7Te/TZBwenu6WQ1CuI5CHyL4YHg1QUMncviKBbSZkVj1 SY9ZwBWGB25TEPHT15w+qmXYpBnXg7/PpMoTuiit/AumG3e6NKKjl4ApM1HFJW/7W7qd 1rw9giDWZgtcz4Qw3Fch8sIas932oQcG3Qymttd+n2aO4okpeeAIIZQcQOGok/7cUIS3 QWqw== X-Gm-Message-State: APjAAAVhXQ8AXmUTUMttQPTCiLUNMRL15RV/7gpbRt0wFCvNCEWdEwzI 74Q0cdc++CfBicAimZjN6qGADtic X-Received: by 2002:a17:902:6686:: with SMTP id e6mr3099625plk.208.1551410483318; Thu, 28 Feb 2019 19:21:23 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::5fa3]) by smtp.gmail.com with ESMTPSA id z127sm37612096pfb.80.2019.02.28.19.21.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 19:21:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 28 Feb 2019 19:21:10 -0800 Message-Id: <20190301032112.38191-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190301032112.38191-1-raj.khem@gmail.com> References: <20190301032112.38191-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/5] bitbake.conf: Drop -fno-omit-frame-pointer X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Let -Og decide the best debugging experience Signed-off-by: Khem Raj --- meta/conf/bitbake.conf | 4 ++-- meta/conf/documentation.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.21.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 85aab98462..f1540a0acf 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -610,10 +610,10 @@ DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}" # Disabled until the option works properly -feliminate-dwarf2-dups FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" -DEBUG_OPTIMIZATION = "-Og -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" +DEBUG_OPTIMIZATION = "-Og ${DEBUG_FLAGS} -pipe" SELECTED_OPTIMIZATION = "${@d.getVar(oe.utils.vartrue('DEBUG_BUILD', 'DEBUG_OPTIMIZATION', 'FULL_OPTIMIZATION', d))}" SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION DEBUG_BUILD" -BUILD_OPTIMIZATION = "${@oe.utils.vartrue('DEBUG_BUILD', '-Og -g -feliminate-unused-debug-types -fno-omit-frame-pointer', '-O2', d)} -pipe" +BUILD_OPTIMIZATION = "${@oe.utils.vartrue('DEBUG_BUILD', '-Og -g -feliminate-unused-debug-types', '-O2', d)} -pipe" BUILD_OPTIMIZATION[vardeps] += "DEBUG_BUILD" ################################################################## diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index c2c96ecf1e..550df20b0f 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf @@ -125,7 +125,7 @@ D[doc] = "The destination directory." DATE[doc] = "The date the build was started using YMD format." DATETIME[doc] = "The date and time the build was started." DEBUG_BUILD[doc] = "Specifies to build packages with debugging information. This influences the value of the SELECTED_OPTIMIZATION variable." -DEBUG_OPTIMIZATION[doc] = "The options to pass in TARGET_CFLAGS and CFLAGS when compiling a system for debugging. This variable defaults to '-Og -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe'." +DEBUG_OPTIMIZATION[doc] = "The options to pass in TARGET_CFLAGS and CFLAGS when compiling a system for debugging. This variable defaults to '-Og ${DEBUG_FLAGS} -pipe'." DEFAULT_PREFERENCE[doc] = "Specifies a weak bias for recipe selection priority." DEPENDS[doc] = "Lists a recipe's build-time dependencies (i.e. other recipe files)." DEPLOY_DIR[doc] = "Points to the general area that the OpenEmbedded build system uses to place images, packages, SDKs and other output files that are ready to be used outside of the build system."