when resolving symbols with only weak defs, use first def, not last def
when resolving symbols with only weak defs, use first def, not last def

davidlazar/musl,davidlazar/musl,chardi/musl,chardi/musl,chardi/musl