From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>,
<liezhi.yang@windriver.com>, <raj.khem@gmail.com>,
<richard.purdie@linuxfoundation.org>
Subject: [PATCH v3 0/5]use target path to replace build ones in debugging info
Date: Fri, 29 Jan 2016 12:35:53 -0500 [thread overview]
Message-ID: <cover.1454088695.git.hongxu.jia@windriver.com> (raw)
Changed in V3:
- Move entry from base.bbclass to bitbake.conf
- Do not immediate expand SELECTED_OPTIMIZATION
Changed in V2:
- Do not use '-gno-record-gcc-switches' to leave gcc switches in;
- Add gcc option '-gno-record-debug-prefix-map' to not record
'-fdebug-prefix-map' to gcc command line switches in DWARF
DW_AT_producer;
Test Steps:
vim local.conf
...
MACHINE ?= "qemux86-64"
WARN_QA += "buildpaths"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "core2-32"
...
bitbake -k world
It fixed buildpath QA warning of 169 recipes (previously 236, currently 67)
These newly added options does not work on native.(Which TARGET_CFLAGS
have been overrided in native.bbclass)
When do the world build, mkelfimage compile failed which
triggered by the newly added gcc option.
//Hongxu
The following changes since commit 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c:
cmake: update to 3.4.2 (2016-01-26 22:49:40 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib hongxu/fix-buildpath
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=hongxu/fix-buildpath
Hongxu Jia (5):
base/bbclass: use target path as compile dir in debugging info
gcc-5.3.inc/base.bbclass: add gcc option to not record
-fdebug-prefix-map to debugging info
mkelfimage: fix target cflags leaks to host
glibc.inc: do not immediate expand SELECTED_OPTIMIZATION
systemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION
meta/conf/bitbake.conf | 10 +++-
meta/recipes-core/glibc/glibc.inc | 22 +++-----
meta/recipes-devtools/gcc/gcc-5.3.inc | 3 +-
...48-add-option-gno-record-debug-prefix-map.patch | 65 ++++++++++++++++++++++
meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 4 +-
meta/recipes-kernel/systemtap/systemtap_git.inc | 12 ++--
6 files changed, 91 insertions(+), 25 deletions(-)
create mode 100644 meta/recipes-devtools/gcc/gcc-5.3/0048-add-option-gno-record-debug-prefix-map.patch
--
1.9.1
next reply other threads:[~2016-01-29 17:36 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-29 17:35 Hongxu Jia [this message]
2016-01-29 17:35 ` [PATCH 1/5] base/bbclass: use target path as compile dir in debugging info Hongxu Jia
2016-01-29 17:48 ` Peter Kjellerstedt
2016-01-30 1:15 ` Hongxu Jia
2016-01-29 17:35 ` [PATCH 2/5] gcc-5.3.inc/base.bbclass: add gcc option to not record -fdebug-prefix-map to " Hongxu Jia
2016-01-29 17:47 ` Peter Kjellerstedt
2016-01-30 1:25 ` Hongxu Jia
2016-01-30 2:36 ` Khem Raj
2016-01-30 10:57 ` Richard Purdie
2016-02-01 14:01 ` Hongxu Jia
2016-02-01 14:09 ` Richard Purdie
2016-02-01 17:10 ` Khem Raj
2016-02-07 16:17 ` Hongxu Jia
2016-01-30 11:43 ` Phil Blundell
2016-02-20 13:00 ` Martin Jansa
2016-02-20 15:02 ` Khem Raj
2016-02-22 6:44 ` Hongxu Jia
2016-02-22 15:35 ` Martin Jansa
2016-01-29 17:35 ` [PATCH 3/5] mkelfimage: fix target cflags leaks to host Hongxu Jia
2016-01-29 17:35 ` [PATCH 4/5] glibc.inc: do not immediate expand SELECTED_OPTIMIZATION Hongxu Jia
2016-01-30 10:35 ` Phil Blundell
2016-01-29 17:35 ` [PATCH 5/5] systemtap_git.inc: " Hongxu Jia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1454088695.git.hongxu.jia@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox