Skip to content

ld: ELF binaries not compatible with strip #1242

Closed
@gopherbot

Description

@gopherbot

by slairf:

What steps will reproduce the problem?
1. compile a Go app (such as http://codepad.org/KFcgHcF6) in the usual manner
2. run 'strip' on the resulting binary: strip yourBinary
3. attempt to run the binary: ./yourBinary
4. experience a Segmentation fault

What is the expected output?
everything but a Segmentation fault


What do you see instead?
Segmentation fault

Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
Linux (Ubuntu 10.04)

Which revision are you using?  (hg identify)
4d5b08163921+ tip

Please provide any additional information below.
version of strip: 2.20.1-system.20100303

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions