8 Replies
      Latest reply on Oct 21, 2019 4:59 AM by @xindong
      @xindong Level 1 Level 1 (0 points)

        when set the Order file in linking on Xcode, link failed

        Xcode 10.3,order file is right

        0  0x106beb748  __assert_rtn + 129 
        1  0x106cce8bc  ld::passes::order::Layout::buildFollowOnTables() + 2298
        2  0x106ccf2bf  ld::passes::order::Layout::doPass() + 23
        3  0x106ccf3c7  ld::passes::order::doPass(Options const&, ld::Internal&) + 151
        4  0x106bec63c  main + 986 
        A linker snapshot was created at: /tmp/KB-2019-07-12-201917.ld-snapshot ld: Assertion failed: (_followOnNexts.count(atom) == 0), function buildFollowOnTables, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-450.3/src/ld/passes/order.cpp, line 405. 
        clang: error: linker command failed with exit code 1 (use -v to see invocation)