Re: [oe] Disable GNU Hash check ?

2012-05-09 Thread Ulf Samuelsson
BTW, the rest of the packages compile w/o this problem,
so it shoul be related to first building the kernel modules.

Best Regards
Ulf Samuelsson
u...@emagii.com
+46  (722) 427 437


9 maj 2012 kl. 02:46 skrev Khem Raj raj.k...@gmail.com:

 On Tue, May 8, 2012 at 2:08 PM, Ulf Samuelsson openembed...@emagii.com 
 wrote:
 
 I'd rather fix the root cause than do the workaround,
 but splitting up the build into two steps is really not supported by the
 package.
 
 Would appreciate some comments.
 
 in OE-Core the default hash style is now gnu hash for toolchain on all
 except mips
 since mips can not support gnu hash. you should not need to add
 commandline parameters to indicate it.
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-05-09 Thread Ulf Samuelsson
Still using OE 2011.03 for this
Would like to migrate this to OE-core, but it is not my call..
.

Best Regards
Ulf Samuelsson
u...@emagii.com
+46  (722) 427 437


9 maj 2012 kl. 02:46 skrev Khem Raj raj.k...@gmail.com:

 On Tue, May 8, 2012 at 2:08 PM, Ulf Samuelsson openembed...@emagii.com 
 wrote:
 
 I'd rather fix the root cause than do the workaround,
 but splitting up the build into two steps is really not supported by the
 package.
 
 Would appreciate some comments.
 
 in OE-Core the default hash style is now gnu hash for toolchain on all
 except mips
 since mips can not support gnu hash. you should not need to add
 commandline parameters to indicate it.
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-05-08 Thread Ulf Samuelsson

On 2012-03-06 11:08, Hauser, Wolfgang (external) wrote:

Thanks for that hint, but it is

INSANE_SKIP_${PN} = True
INSANE_SKIP_${PN}-dev = True
INSANE_SKIP_${PN}-dbg = True

That solves the problem.

Regards
Wolfgang

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Had this problem with a source package containing both a kernel driver 
and applications.
The GNU Hash problem occured on the applications but not on the kernel 
modules.


The way it works, is that you create a configuration file, and then call 
make without parameters

so you build both the kernel and the apps in one step.

Added TARGET_CC_ARCH+=${LDFLAGS}, as recommended in some 
mails, without effect.


Adding

INSANE_SKIP_${PN} = True
INSANE_SKIP_${PN}-dev = True
INSANE_SKIP_${PN}-dbg = True

makes the symptom go away.

The core of the recipe is:
--
inherit module

EXTRA_OEMAKE = ' \
KLIB=${STAGING_KERNEL_DIR} \
KLIB_BUILD=${STAGING_KERNEL_DIR} \
KERNEL_VERSION=${KERNEL_VERSION} \
TARGET_CC_ARCH+=${LDFLAGS} \
'

do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
oe_runmake
}
---

While the kernel modules seems to build OK,
I have a feeling that it is not right to build the applications this way
and this is why I get the error messages.

I'd rather fix the root cause than do the workaround,
but splitting up the build into two steps is really not supported by the 
package.


Would appreciate some comments.


--
Best Regards
Ulf Samuelsson
u...@emagii.com
+46 722 427437


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-05-08 Thread Khem Raj
On Tue, May 8, 2012 at 2:08 PM, Ulf Samuelsson openembed...@emagii.com wrote:

 I'd rather fix the root cause than do the workaround,
 but splitting up the build into two steps is really not supported by the
 package.

 Would appreciate some comments.

in OE-Core the default hash style is now gnu hash for toolchain on all
except mips
since mips can not support gnu hash. you should not need to add
commandline parameters to indicate it.

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Luca Bolognini


And what if I want to disable this check only for a specific executable/library 
inside a package (not a complete package)?

-Luca bologninil.bologn...@hotmail.it


 Date: Mon, 5 Mar 2012 17:54:22 -0500
 From: de...@denix.org
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] Disable GNU Hash check ?
 
 On Mon, Mar 05, 2012 at 06:53:05PM +0100, Hauser, Wolfgang (external) wrote:
  Hello,
  
  I have to create a package containing static and dynamic libraries and
  some files.
  The libraries are delivered by a vendor and we have to use(install) them
  as they are.
  
  While bitbaking the QA procedure complains about missing GNU Hashes. 
  
  Is there a possibility to disable this check for a single recipe ?
  
  I am using bitbake 1.10.2 and an OE mainenance-2011.03 based tree.
 
 INSANE_SKIP_${PN} = True
 
 -- 
 Denys
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
  
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Hauser, Wolfgang (external)

 INSANE_SKIP_${PN} = True

 -- 
 Denys

Thanks for that hint, but it is 

INSANE_SKIP_${PN} = True
INSANE_SKIP_${PN}-dev = True
INSANE_SKIP_${PN}-dbg = True

That solves the problem.

Regards
Wolfgang

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Denys Dmytriyenko
On Tue, Mar 06, 2012 at 11:08:18AM +0100, Hauser, Wolfgang (external) wrote:
 
  INSANE_SKIP_${PN} = True
 
  -- 
  Denys
 
 Thanks for that hint, but it is 
 
 INSANE_SKIP_${PN} = True
 INSANE_SKIP_${PN}-dev = True
 INSANE_SKIP_${PN}-dbg = True
 
 That solves the problem.

Adjust accordingly always applies. :)

-- 
Denys

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Denys Dmytriyenko
On Tue, Mar 06, 2012 at 09:49:55AM +0100, Luca Bolognini wrote:
 
 
 And what if I want to disable this check only for a specific 
 executable/library inside a package (not a complete package)?

Cannot do it on a per-file basis, only on a per-package. Split your package 
into sub-packages and then do INSANE_SKIP_${PN}-pkg = True.

-- 
Denys


 -Luca bologninil.bologn...@hotmail.it
 
 
  Date: Mon, 5 Mar 2012 17:54:22 -0500
  From: de...@denix.org
  To: openembedded-devel@lists.openembedded.org
  Subject: Re: [oe] Disable GNU Hash check ?
  
  On Mon, Mar 05, 2012 at 06:53:05PM +0100, Hauser, Wolfgang (external) wrote:
   Hello,
   
   I have to create a package containing static and dynamic libraries and
   some files.
   The libraries are delivered by a vendor and we have to use(install) them
   as they are.
   
   While bitbaking the QA procedure complains about missing GNU Hashes. 
   
   Is there a possibility to disable this check for a single recipe ?
   
   I am using bitbake 1.10.2 and an OE mainenance-2011.03 based tree.
  
  INSANE_SKIP_${PN} = True
  
  -- 
  Denys
  
  ___
  Openembedded-devel mailing list
  Openembedded-devel@lists.openembedded.org
  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Disable GNU Hash check ?

2012-03-05 Thread Denys Dmytriyenko
On Mon, Mar 05, 2012 at 06:53:05PM +0100, Hauser, Wolfgang (external) wrote:
 Hello,
 
 I have to create a package containing static and dynamic libraries and
 some files.
 The libraries are delivered by a vendor and we have to use(install) them
 as they are.
 
 While bitbaking the QA procedure complains about missing GNU Hashes. 
 
 Is there a possibility to disable this check for a single recipe ?
 
 I am using bitbake 1.10.2 and an OE mainenance-2011.03 based tree.

INSANE_SKIP_${PN} = True

-- 
Denys

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel