All of lore.kernel.org
 help / color / mirror / Atom feed
* llvm build regression caused by [71cc9de357484c469cc3a46f013b11c84c924aa0] bitbake: Fix script location after mishandled merge
@ 2012-08-04 20:15 Khem Raj
  2012-08-04 21:15 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2012-08-04 20:15 UTC (permalink / raw)
  To: poky

Hi Richard

I am seeing compile failure in llvm

| ../../lib/libLLVMTransformUtils.so: undefined reference to
`llvm::CallGraphNode::removeCallEdgeFor(llvm::CallSite)'
| ../../lib/libLLVMTransformUtils.so: undefined reference to
`llvm::CallGraph::getOrInsertFunction(llvm::Function const*)'
| ../../lib/libLLVMTransformUtils.so: undefined reference to
`llvm::CallGraphLinkVar'
| ../../lib/libLLVMScalarOpts.so: undefined reference to
`llvm::createInstructionCombiningPass()'
| collect2: error: ld returned 1 exit status
| make[2]: *** [bin/llc] Error 1
| make[2]: Leaving directory
`/work/yocto/poky/build/tmp/work/x86_64-poky-linux/llvm2.8-2.8-r2.1/llvm-2.8/build'
| make[1]: *** [tools/llc/CMakeFiles/llc.dir/all] Error 2
| make[1]: *** Waiting for unfinished jobs....


which is actually weird since nothing changed there and it wasnt
making much sense so I decided to bisect poky and it turns out to be
this commit



commit 71cc9de357484c469cc3a46f013b11c84c924aa0
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Fri Aug 3 09:04:07 2012 +0100

    bitbake: Fix script location after mishandled merge

    (Bitbake rev: 0f3293c2196a30bc52bf1eebfae87d8477880572)

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>


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

* Re: llvm build regression caused by [71cc9de357484c469cc3a46f013b11c84c924aa0] bitbake: Fix script location after mishandled merge
  2012-08-04 20:15 llvm build regression caused by [71cc9de357484c469cc3a46f013b11c84c924aa0] bitbake: Fix script location after mishandled merge Khem Raj
@ 2012-08-04 21:15 ` Khem Raj
  2012-08-06 13:11   ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2012-08-04 21:15 UTC (permalink / raw)
  To: poky

Actually I pasted wrong commit

Problem is due to


commit 9df0a20d9562322162676ed2606bf4b0a1bd6726
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Fri Aug 3 10:24:32 2012 +0100

    bitbake: data_smart: Fix unanchored regexp causing strange parsing issue

    If this regular expression is unanchored, it would accept strings like:

    do_install_append1
    do_install_appendsomelongstring

    and treat them like they were do_install_append. Clearly this
isn't desirable.
    Only one instance of this type of issue was found in OE-Core and
has been fixed
    so correcting the regexp should be safe to do.

    (Bitbake rev: 23bd5300b4a99218a15f4f6b0ab4091d63a602a5)

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>


On Sat, Aug 4, 2012 at 1:15 PM, Khem Raj <raj.khem@gmail.com> wrote:
> Hi Richard
>
> I am seeing compile failure in llvm
>
> | ../../lib/libLLVMTransformUtils.so: undefined reference to
> `llvm::CallGraphNode::removeCallEdgeFor(llvm::CallSite)'
> | ../../lib/libLLVMTransformUtils.so: undefined reference to
> `llvm::CallGraph::getOrInsertFunction(llvm::Function const*)'
> | ../../lib/libLLVMTransformUtils.so: undefined reference to
> `llvm::CallGraphLinkVar'
> | ../../lib/libLLVMScalarOpts.so: undefined reference to
> `llvm::createInstructionCombiningPass()'
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [bin/llc] Error 1
> | make[2]: Leaving directory
> `/work/yocto/poky/build/tmp/work/x86_64-poky-linux/llvm2.8-2.8-r2.1/llvm-2.8/build'
> | make[1]: *** [tools/llc/CMakeFiles/llc.dir/all] Error 2
> | make[1]: *** Waiting for unfinished jobs....
>
>
> which is actually weird since nothing changed there and it wasnt
> making much sense so I decided to bisect poky and it turns out to be
> this commit
>
>
>
> commit 71cc9de357484c469cc3a46f013b11c84c924aa0
> Author: Richard Purdie <richard.purdie@linuxfoundation.org>
> Date:   Fri Aug 3 09:04:07 2012 +0100
>
>     bitbake: Fix script location after mishandled merge
>
>     (Bitbake rev: 0f3293c2196a30bc52bf1eebfae87d8477880572)
>
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>


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

* Re: llvm build regression caused by [71cc9de357484c469cc3a46f013b11c84c924aa0] bitbake: Fix script location after mishandled merge
  2012-08-04 21:15 ` Khem Raj
@ 2012-08-06 13:11   ` Richard Purdie
  2012-08-06 17:16     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2012-08-06 13:11 UTC (permalink / raw)
  To: Khem Raj; +Cc: poky

On Sat, 2012-08-04 at 14:15 -0700, Khem Raj wrote:
> Actually I pasted wrong commit
> 
> Problem is due to
> 
> 
> commit 9df0a20d9562322162676ed2606bf4b0a1bd6726
> Author: Richard Purdie <richard.purdie@linuxfoundation.org>
> Date:   Fri Aug 3 10:24:32 2012 +0100
> 
>     bitbake: data_smart: Fix unanchored regexp causing strange parsing issue
> 
>     If this regular expression is unanchored, it would accept strings like:
> 
>     do_install_append1
>     do_install_appendsomelongstring
> 
>     and treat them like they were do_install_append. Clearly this
> isn't desirable.
>     Only one instance of this type of issue was found in OE-Core and
> has been fixed
>     so correcting the regexp should be safe to do.
> 
>     (Bitbake rev: 23bd5300b4a99218a15f4f6b0ab4091d63a602a5)
> 
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> 

Have a look through the recipes and see if there is anything doing:

xxxx_append<something here>

and remove the <something here>.

Cheers,

Richard



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

* Re: llvm build regression caused by [71cc9de357484c469cc3a46f013b11c84c924aa0] bitbake: Fix script location after mishandled merge
  2012-08-06 13:11   ` Richard Purdie
@ 2012-08-06 17:16     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2012-08-06 17:16 UTC (permalink / raw)
  To: Richard Purdie; +Cc: poky

On Mon, Aug 6, 2012 at 6:11 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> Have a look through the recipes and see if there is anything doing:
>
> xxxx_append<something here>
>
> and remove the <something here>.

yes I figured it out yesterday. It was an issue like that in llvm recipes.


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

end of thread, other threads:[~2012-08-06 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-04 20:15 llvm build regression caused by [71cc9de357484c469cc3a46f013b11c84c924aa0] bitbake: Fix script location after mishandled merge Khem Raj
2012-08-04 21:15 ` Khem Raj
2012-08-06 13:11   ` Richard Purdie
2012-08-06 17:16     ` Khem Raj

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.