libbsd: Argument list too long
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jun 16 06:14:02 UTC 2016
The attached patch is necessary for msys2.
I still get the following error:
Waf: Entering directory
`/c/rtems-setup-gd/home/rtems-libbsd/build/powerpc-rtems4.12-qoriq_t4240rdb'
[885/955] Linking build/powerpc-rtems4.12-qoriq_t4240rdb/libbsd.a
07:47:25 runner ['/opt/rtems-4.12/bin/powerpc-rtems4.12-ar', 'rcs',
'libbsd.a', 'freebsd/sys/arm/xilinx/zy7_slcr.c.16.o', ... ,
'freebsd/contrib/tcpdump/util.c.15.o']
Waf: Leaving directory
`/c/rtems-setup-gd/home/rtems-libbsd/build/powerpc-rtems4.12-qoriq_t4240rdb'
Build failed
Traceback (most recent call last):
File
"/opt/rtems-4.12/bin/.waf3-1.8.21-e3612d52d5ab0c9954153af91d796340/waflib/Context.py",
line 170, in exec_command
p=subprocess.Popen(cmd,**kw)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 7] Argument list too long
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/opt/rtems-4.12/bin/.waf3-1.8.21-e3612d52d5ab0c9954153af91d796340/waflib/Task.py",
line 110, in process
ret=self.run()
File
"/opt/rtems-4.12/bin/.waf3-1.8.21-e3612d52d5ab0c9954153af91d796340/waflib/Tools/ccroot.py",
line 95, in wrap
return old(self)
File "<string>", line 19, in f
File
"/opt/rtems-4.12/bin/.waf3-1.8.21-e3612d52d5ab0c9954153af91d796340/waflib/Task.py",
line 95, in exec_command
return bld.exec_command(cmd,**kw)
File
"/opt/rtems-4.12/bin/.waf3-1.8.21-e3612d52d5ab0c9954153af91d796340/waflib/Context.py",
line 177, in exec_command
raise Errors.WafError('Execution failure: %s'%str(e),ex=e)
waflib.Errors.WafError: Execution failure: [Errno 7] Argument list too long
The command line workaround is not applied.
We should see something like this:
Waf: Entering directory
`/c/rtems-setup-gd/home/rtems-libbsd/build/powerpc-rtems4.12-qoriq_t4240rdb'
[885/955] Linking build/powerpc-rtems4.12-qoriq_t4240rdb/libbsd.a
08:13:25 runner ['/opt/rtems-4.12/bin/powerpc-rtems4.12-ar',
'@/c/rtems-setup-gd/home/rtems-libbsd/build/powerpc-rtems4.12-qoriq_t4240rdb/tmp1mijj1ff']
Waf: Leaving directory
`/c/rtems-setup-gd/home/rtems-libbsd/build/powerpc-rtems4.12-qoriq_t4240rdb'
'build-powerpc-rtems4.12-qoriq_t4240rdb' finished successfully (2.922s)
On 16/06/16 05:36, Chris Johns wrote:
> On 15/06/2016 18:17, Chris Johns wrote:
>> My understand is we get to decide. I am happy to see if adding this to
>> the rtems_waf support can work and so it becomes a configuration
>> parameter for libbsd to rtems_waf. If RTEMS supports clang in the future
>> then rtems_waf can be taught to handle that case as well.
>
> I have added long command support to rtems_waf and updated libbsd so
> it builds cleanly on MSYS2 on Windows10.
>
> Please make sure you 'git submodule update rtems_waf'.
>
> Chris
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-TabError.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160616/dfd6d493/attachment-0002.bin>
More information about the devel
mailing list