2013/8/31 Sedat Dilek <[email protected]>:
> On Sat, Aug 31, 2013 at 12:35 PM, Florian Fainelli <[email protected]> 
> wrote:
>> 2013/8/31 Dirk Neukirchen <[email protected]>:
>>> On 31.08.2013 01:28, Philip A. Prindeville wrote:
>>>> make --jobserver-fds=3,4 -j subdir=csu -C csu ..=../ subdir_lib
>>>> make[6]: Entering directory 
>>>> `/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-4.6-linaro_eglibc-2.15/eglibc-2.15-r18909/libc/csu'
>>>> make[6]: warning: jobserver unavailable: using -j1.  Add `+' to parent 
>>>> make rule.
>>>> make[6]: *** INTERNAL: readdir: Bad file descriptor
>>>> .  Stop.
>>>>
>>>>
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=885474
>>>>
>>>> Anyone have a workaround for it?  This is make-3.82-15.fc18.x86_64 ...
>>>>
>>>> -Philip
>>>
>>> What about - taken from bug report:
>>> "This problem can be avoided by omitting "-j 2"."
>>> and disabling concurrent building  ?
>>>
>>> "If this produces random build errors try compiling again without the 
>>> -j-option"
>>> from: http://wiki.openwrt.org/doc/howto/build
>>
>> The eglibc build system has several issues with parallel building, one
>> that I have tried to fix is also reported here:
>> https://dev.openwrt.org/ticket/12403
>>
>> Unfortunately disabling parallel build considerably slows down the
>> build. Maybe we could disable it on a per-directory basis until this
>> properly gets fixed.
>
> How do you disable parallel-build on "per-directory basis" or in
> general in OpenWrt?
> ( Just curious. )

Just by explicitely building the directories manually, instead of doing, e.g:

$(MAKE) -C build
do
$(MAKE) -C build/foo build/bar

etc..

>
> For example GNU/make has ".NOTPARALLEL" (note the "." dot) as
> so-called "special built-in target-name".

The problem in eglibc's case seems to be with the use of vpath, and
does not seem trivial to fix.
-- 
Florian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to