All of lore.kernel.org
 help / color / mirror / Atom feed
* Disable GNU Hash check ?
@ 2012-03-05 17:53 Hauser, Wolfgang (external)
  2012-03-05 22:54 ` Denys Dmytriyenko
  0 siblings, 1 reply; 10+ messages in thread
From: Hauser, Wolfgang (external) @ 2012-03-05 17:53 UTC (permalink / raw)
  To: openembedded-devel

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.

Regards
Wolfgang



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-03-05 17:53 Disable GNU Hash check ? Hauser, Wolfgang (external)
@ 2012-03-05 22:54 ` Denys Dmytriyenko
  2012-03-06  8:49   ` Luca Bolognini
  2012-03-06 10:08   ` Hauser, Wolfgang (external)
  0 siblings, 2 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2012-03-05 22:54 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-03-05 22:54 ` Denys Dmytriyenko
@ 2012-03-06  8:49   ` Luca Bolognini
  2012-03-06 18:33     ` Denys Dmytriyenko
  2012-03-06 10:08   ` Hauser, Wolfgang (external)
  1 sibling, 1 reply; 10+ messages in thread
From: Luca Bolognini @ 2012-03-06  8:49 UTC (permalink / raw)
  To: Openembedded Mailing List



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

-------------------------Luca Bologninil.bolognini@hotmail.it


> Date: Mon, 5 Mar 2012 17:54:22 -0500
> From: denis@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
 		 	   		  

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-03-05 22:54 ` Denys Dmytriyenko
  2012-03-06  8:49   ` Luca Bolognini
@ 2012-03-06 10:08   ` Hauser, Wolfgang (external)
  2012-03-06 18:31     ` Denys Dmytriyenko
  2012-05-08 21:08     ` Ulf Samuelsson
  1 sibling, 2 replies; 10+ messages in thread
From: Hauser, Wolfgang (external) @ 2012-03-06 10:08 UTC (permalink / raw)
  To: openembedded-devel


>> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-03-06 10:08   ` Hauser, Wolfgang (external)
@ 2012-03-06 18:31     ` Denys Dmytriyenko
  2012-05-08 21:08     ` Ulf Samuelsson
  1 sibling, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2012-03-06 18:31 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-03-06  8:49   ` Luca Bolognini
@ 2012-03-06 18:33     ` Denys Dmytriyenko
  0 siblings, 0 replies; 10+ messages in thread
From: Denys Dmytriyenko @ 2012-03-06 18:33 UTC (permalink / raw)
  To: openembedded-devel

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.bolognini@hotmail.it
> 
> 
> > Date: Mon, 5 Mar 2012 17:54:22 -0500
> > From: denis@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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-03-06 10:08   ` Hauser, Wolfgang (external)
  2012-03-06 18:31     ` Denys Dmytriyenko
@ 2012-05-08 21:08     ` Ulf Samuelsson
  2012-05-09  0:46       ` Khem Raj
  1 sibling, 1 reply; 10+ messages in thread
From: Ulf Samuelsson @ 2012-05-08 21:08 UTC (permalink / raw)
  To: openembedded-devel

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
ulf@emagii.com
+46 722 427437




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-05-08 21:08     ` Ulf Samuelsson
@ 2012-05-09  0:46       ` Khem Raj
  2012-05-09 12:34         ` Ulf Samuelsson
  2012-05-09 12:50         ` Ulf Samuelsson
  0 siblings, 2 replies; 10+ messages in thread
From: Khem Raj @ 2012-05-09  0:46 UTC (permalink / raw)
  To: openembedded-devel

On Tue, May 8, 2012 at 2:08 PM, Ulf Samuelsson <openembedded@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.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-05-09  0:46       ` Khem Raj
@ 2012-05-09 12:34         ` Ulf Samuelsson
  2012-05-09 12:50         ` Ulf Samuelsson
  1 sibling, 0 replies; 10+ messages in thread
From: Ulf Samuelsson @ 2012-05-09 12:34 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org
  Cc: openembedded-devel@lists.openembedded.org

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
ulf@emagii.com
+46  (722) 427 437


9 maj 2012 kl. 02:46 skrev Khem Raj <raj.khem@gmail.com>:

> On Tue, May 8, 2012 at 2:08 PM, Ulf Samuelsson <openembedded@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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Disable GNU Hash check ?
  2012-05-09  0:46       ` Khem Raj
  2012-05-09 12:34         ` Ulf Samuelsson
@ 2012-05-09 12:50         ` Ulf Samuelsson
  1 sibling, 0 replies; 10+ messages in thread
From: Ulf Samuelsson @ 2012-05-09 12:50 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org
  Cc: openembedded-devel@lists.openembedded.org

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
ulf@emagii.com
+46  (722) 427 437


9 maj 2012 kl. 02:46 skrev Khem Raj <raj.khem@gmail.com>:

> On Tue, May 8, 2012 at 2:08 PM, Ulf Samuelsson <openembedded@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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-05-09 13:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 17:53 Disable GNU Hash check ? Hauser, Wolfgang (external)
2012-03-05 22:54 ` Denys Dmytriyenko
2012-03-06  8:49   ` Luca Bolognini
2012-03-06 18:33     ` Denys Dmytriyenko
2012-03-06 10:08   ` Hauser, Wolfgang (external)
2012-03-06 18:31     ` Denys Dmytriyenko
2012-05-08 21:08     ` Ulf Samuelsson
2012-05-09  0:46       ` Khem Raj
2012-05-09 12:34         ` Ulf Samuelsson
2012-05-09 12:50         ` Ulf Samuelsson

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.