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

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH 4/5] webkitgtk: fix compile error when len(TMPDIR) == 410
From:       Alexander Kanavin <alexander.kanavin () linux ! intel ! com>
Date:       2017-11-30 11:34:47
Message-ID: bddd691d-b200-a99a-9909-99ab33da7adb () linux ! intel ! com
[Download RAW message or body]

On 11/30/2017 03:45 AM, Robert Yang wrote:
> One of the gcc command line was too long (longer than 160,000 characters) when
> len(TMPDIR) == 410, so there was an "Argument list too long" error:
> $ bitbake webkitgtk
> i586-poky-linux-g++: error trying to exec [snip] execv: Argument list too long
> 
> The cmake doesn't support relative path, so we have to edit flags.make to fix
> the problem:
> - Replace -I${RECIPE_SYSROOT} with -I=
> - Replace "-I${S}/path1/in/S -I ${S}/path2/in/S" with
>    "-iprefix ${S} -iwithprefixbefore /path1/in/S -iwithprefixbefore /path2/in/S"

Where does flags.make come from? Can you fix the problem at the source, 
rather than patch the file with a custom, unwieldy function after the fact?

Alex
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread] 

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