[Webkit-unassigned] [Bug 170105] FreeBSD ar command doesn't support response files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 7 08:05:15 PDT 2017


--- Comment #18 from Ting-Wei Lan <lantw44 at gmail.com> ---
(In reply to Loïc Yhuel from comment #17)
> CMake 3.6 added response file support for compile rules (which created
> https://bugs.webkit.org/show_bug.cgi?id=168770).
> FreeBSD probably wasn't affected by the original issue, but even without
> CMAKE_NINJA_FORCE_RESPONSE_FILE, CMake will use a response file if the
> command line is larger than sysconf(_SC_ARG_MAX) on FreeBSD.
> So if the linker (or ar) command line becomes too long, there would be an
> issue.

Yes, I know the problem can still happen if the command line is really too long, but I never see it on my machines. WebKitGTK+ in FreeBSD ports was only switched to ninja recently, so it may take some time to see bug reports on FreeBSD Bugzilla if it really happens on users' machines.

> Btw, this commit disabled the response files with FreeBSD ar, but only for
> CMake >= 3.6, so the issue would remain for older versions.

The 'latest' repository of FreeBSD uses CMake 3.8.0 and the 'quarterly' repository uses CMake 3.7.2, so I think it is unlikely to happen on FreeBSD.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170607/2fdee9c7/attachment.html>

More information about the webkit-unassigned mailing list