8000 [Bug]: compile error on macos · Issue #30 · alibaba/xquic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: compile error on macos #30
Closed
@dourgulf

Description

@dourgulf

What happened?

execute cmake -j failed
ld: unknown option: --whole-archive
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libxquic.dylib] Error 1
make[1]: *** [CMakeFiles/xquic.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Steps To Reproduce

  1. MacSs12.1; cmake version 3.22.0
  2. follow readme compile with borningssl
  3. execute cmake -j failed
    ld: unknown option: --whole-archive
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [libxquic.dylib] Error 1
    make[1]: *** [CMakeFiles/xquic.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....

Relevant log output

ld: unknown option: --whole-archive
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libxquic.dylib] Error 1
make[1]: *** [CMakeFiles/xquic.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 90%] Built target xquic-static
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0