[uclibc-ng-devel] Re: [PATCH] Makerules: fix out-of-tree build error "Argument list too long"

2024-04-24 Thread Waldemar Brodkorb
Hi Max, Max Filippov wrote, > Make rule that announces and makes static libc archive can generate > command line that is too long when a full path O= option is used. That > breaks the build with the following message: > > make: /bin/sh: Argument list too long > > Use make $(file) construct to

[uclibc-ng-devel] Re: [PATCH] fix out-of-tree build with UCLIBC_HAS_CONTEXT_FUNCS

2024-04-24 Thread Waldemar Brodkorb
Hi Max, Max Filippov wrote, > When building libc out-of-tree *context functions cannot find generated > header ucontext_i.h: > > libc/sysdeps/linux/xtensa/setcontext.S:19:10: > fatal error: ucontext_i.h: No such file or directory > > Fix that by adding include path to the build directory w

[uclibc-ng-devel] [PATCH] Makerules: fix out-of-tree build error "Argument list too long"

2024-04-24 Thread Max Filippov
Make rule that announces and makes static libc archive can generate command line that is too long when a full path O= option is used. That breaks the build with the following message: make: /bin/sh: Argument list too long Use make $(file) construct to generate file list file and use that file a

[uclibc-ng-devel] [PATCH] fix out-of-tree build with UCLIBC_HAS_CONTEXT_FUNCS

2024-04-24 Thread Max Filippov
When building libc out-of-tree *context functions cannot find generated header ucontext_i.h: libc/sysdeps/linux/xtensa/setcontext.S:19:10: fatal error: ucontext_i.h: No such file or directory Fix that by adding include path to the build directory with that file to the compiler flags. Signe