Hi Khem,
We backported this patch due to a specific use case on our end. We set the TMPDIR
path length to 399 characters (just under the 400-character limit) and attempted
to build lib32-gcc. While this works fine on the master branch, we encountered the
following error on the walnascar branch:
make: /bin/bash: Argument list too long
make: *** [Makefile:4701: all-gcc] Error 127
ERROR: oe_runmake failed
Upon comparing the logs between the master and walnascar branches, we noticed that
in walnascar, the following flags were passed multiple times:
-fmacro-prefix-map
-fdebug-prefix-map
-fcanon-prefix-map
Since our TMPDIR path is quite long, passing it repeatedly via these flags seems
to be the root cause of the issue.
In the master branch, these were replaced with the more concise "-ffile-prefix-map"
flag, significantly reducing the number of times the long TMPDIR path is passed to
the compiler. This change resolved the error, which is why we backported the patch
to walnascar.
So, can we backport this for walnascar branch in future or do you suggest us to wait for
october release.
Regards,
Deepesh