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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 26 05:36:14 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170105

            Bug ID: 170105
           Summary: FreeBSD ar command doesn't support response files
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

When cmake is set to generate build files for ninja, Source/cmake/OptionsCommon.cmake automatically enables the use of response files by setting CMAKE_NINJA_FORCE_RESPONSE_FILE to 1. This causes linking failure on FreeBSD because its ar command doesn't understand the response file syntax, and all object files listed in response files are not added.

FreeBSD ar is implemented using libarchive and it is part of elftoolchain project (https://sourceforge.net/projects/elftoolchain/). We can detect it by checking the output of 'ar -V' command and disable the use of response files for it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170326/8fc2d797/attachment-0001.html>


More information about the webkit-unassigned mailing list