All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Denys Dmytriyenko" <denys@ti.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: <meta-ti@lists.yoctoproject.org>
Subject: Re: [meta-ti] [master][PATCH] ti-cgt6x: fix packaging issue due to libc.a
Date: Tue, 25 Feb 2020 20:34:12 -0500	[thread overview]
Message-ID: <20200226013412.GL22188@beryl> (raw)
In-Reply-To: <bbde41fb-0ff0-ad9f-609f-542371a62d9d@gmail.com>

On Tue, Feb 25, 2020 at 05:23:48PM -0800, Khem Raj wrote:
> 
> 
> On 2/25/20 5:09 PM, Denys Dmytriyenko via Lists.Yoctoproject.Org wrote:
> > dwarfsrcfiles: .../work/armv7at2hf-neon-linux-gnueabi/ti-cgt6x/1_8.3.2-r0/package/usr/share/ti/cgt-c6x/lib/libc.a: not a valid ELF file
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  recipes-ti/devtools/ti-cgt6x_8.3.2.bb | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/recipes-ti/devtools/ti-cgt6x_8.3.2.bb b/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
> > index c63c3f6..1188b4e 100644
> > --- a/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
> > +++ b/recipes-ti/devtools/ti-cgt6x_8.3.2.bb
> > @@ -100,6 +100,7 @@ FILES_${PN} += "${datadir}/ti/*"
> >  FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
> >  
> >  INSANE_SKIP_${PN} += "staticdev"
> > +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> >  
> 
> Thanks for taking care of this issue, does it have any downsides, like
> not stripping binaries which otherwise should have been stripped besides
> libc.a

This is C6000 DSP code and is not the main architecture for the platform being 
built, so standard ARM tools won't be able to handle that anyway. But all the 
other ARM binaries in that package are not stripped now, unfortunately.

On the other hand, I'm getting the same error from dwarfsrcfiles on another 
static .a library from another package, which contains the proper ARM code, 
which is rather strange. The only suspicious thing there is an empty metafile 
called ".created", but for now I have to disable stripping there as well...


> >  BBCLASSEXTEND = "native nativesdk"
> >  
> > 
> > 
> > 
> > 

  reply	other threads:[~2020-02-26  1:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26  1:09 [master][PATCH] ti-cgt6x: fix packaging issue due to libc.a Denys Dmytriyenko
2020-02-26  1:23 ` [meta-ti] " Khem Raj
2020-02-26  1:34   ` Denys Dmytriyenko [this message]
2020-02-26  1:55     ` Khem Raj
2020-03-02  2:47       ` Denys Dmytriyenko

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=20200226013412.GL22188@beryl \
    --to=denys@ti.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=raj.khem@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.