3 @@ -500,7 +500,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 "Unresolvable symbol %s" % name
8 + print "WARNING: Unresolvable symbol %s" % name
11 previous_pass_unresolved = unresolved
12 @@ -533,10 +533,7 @@ while 1:
14 # which symbols are actually used from each lib
15 for name in needed_symbols:
16 - if not name in symbol_provider:
17 - if not needed_symbols[name].weak:
18 - raise "No library provides non-weak %s" % name
20 + if name in symbol_provider:
21 lib = symbol_provider[name]
22 library_symbols_used[lib].add(library_symbols[lib][name])