Skip to content

cmd/link: order of files in archives matters on Windows #2601

@rsc

Description

@rsc
If you take out the special cases in src/cmd/go/build.go
that are careful to put gcc-compiled objects into the 
archive last, the misc/cgo/life example seg faults on Windows.
This suggests that something is not quite right or at least
order-dependent in the PE-processing code in src/cmd/ld.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions