[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core][kirkstone][PATCH] perf: fix argument list too long during compile
From:       "Bruce Ashfield" <bruce.ashfield () gmail ! com>
Date:       2023-05-31 12:23:15
Message-ID: CADkTA4P0mMXrDowrqi2NryRhJwRyQ9xO9A9P5zWwMG9rMgUf0w () mail ! gmail ! com
[Download RAW message or body]

On Wed, May 31, 2023 at 1:14 AM Xiangyu Chen
<xiangyu.chen@eng.windriver.com> wrote:
>
> From: Xiangyu Chen <xiangyu.chen@windriver.com>
>
> The perf would fail to build when BUILDDIR is longer than 190, The "O = ${B}"
> makes it use absolute path which makes the argument list too long, remove
> "O = ${B}" will make it use relative path to build will fix the problem.
>

Can you elaborate on how the relative path use is happening when an
explicit output directory isn't passed ?

I haven't checked the source, but I'd assume that it will simply build
directly in the source directory if we don't pass O to the build.

Also, is this fixed in a different way in master ?

Bruce

> Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
> ---
>  meta/recipes-kernel/perf/perf.bb | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
> index a4ce3169d3..e213c3632e 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -72,7 +72,6 @@ LDFLAGS="-ldl -lutil"
>  EXTRA_OEMAKE = '\
>      V=1 \
>      -C ${S}/tools/perf \
> -    O=${B} \
>      CROSS_COMPILE=${TARGET_PREFIX} \
>      ARCH=${ARCH} \
>      CC="${CC}" \
> --
> 2.34.1
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182008): https://lists.openembedded.org/g/openembedded-core/message/182008
Mute This Topic: https://lists.openembedded.org/mt/99236216/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic