1
0

002-disable_symbol_checks.patch 825 B

1234567891011121314151617181920
  1. --- a/src/mklibs
  2. +++ b/src/mklibs
  3. @@ -524,7 +524,7 @@ while 1:
  4. # No progress in last pass. Verify all remaining symbols are weak.
  5. for name in unresolved:
  6. if not needed_symbols[name].weak:
  7. - raise Exception("Unresolvable symbol %s" % name)
  8. + print "WARNING: Unresolvable symbol %s" % name
  9. break
  10. previous_pass_unresolved = unresolved
  11. @@ -559,7 +559,7 @@ while 1:
  12. for name in needed_symbols:
  13. if not name in symbol_provider:
  14. if not needed_symbols[name].weak:
  15. - raise Exception("No library provides non-weak %s" % name)
  16. + print "WARNING: Unresolvable symbol %s" % name
  17. else:
  18. lib = symbol_provider[name]
  19. library_symbols_used[lib].add(library_symbols[lib][name])