B2 Version 4.6. OS=LINUX.
Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
Copyright 2001 David Turner.
Copyright 2001-2004 David Abrahams.
Copyright 2002-2019 Rene Rivera.
Copyright 2003-2015 Vladimir Prus.
DEFAULTS: jobs = 56
B2 4.6-git
Brief problem description
ar binary in linux cannot run when archiving multiple targets with long paths due the MAXLINE define limit.
Steps to reproduce the issue
Create a library to be linked statically on a long-nested path with multiple targets.
Environment and version details
B2 Version: Output of
b2 -v
andb2 --version
Brief problem description
ar
binary in linux cannot run when archiving multiple targets with long paths due the MAXLINE define limit.Steps to reproduce the issue
Create a library to be linked statically on a long-nested path with multiple targets.
Actual behavior summary
Failure on linux, unless the project is relocated or the
out
folder is moved to a short path.Expected behavior summary
ar
command should work in unix. We recommend to double the size from 102400 to 204800https://github.com/bfgroup/b2/blob/ddecd777bd39ff180d214193871a93ddb47c03ca/src/engine/jam.h#L454