• Ian Lance Taylor's avatar
    cmd/go: make gccgo -buildmode=shared and -linkshared work again · 9745eed4
    Ian Lance Taylor authored
    After CL 69831, addTransitiveLinkDeps ensures that all dependencies of
    a link appear in Deps. We no longer need to traverse through all
    actions to find them. And the old scheme of looking through all the
    actions and assuming we would see shared library actions before
    libraries they depend on no longer works.
    
    Now that we have complete deps, change to a simpler scheme in which we
    find the shared libraries in the deps, and then use that to sort the
    deps into archives and shared libraries.
    
    Fixes #22224
    
    Change-Id: I14fcc773ac59b6f5c2965cc04d4ed962442cc89e
    Reviewed-on: https://go-review.googlesource.com/87497
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    9745eed4
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...