Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strip on norm.a failed #3006

Closed
dlintw opened this issue Feb 13, 2012 · 1 comment
Closed

strip on norm.a failed #3006

dlintw opened this issue Feb 13, 2012 · 1 comment

Comments

@dlintw
Copy link

dlintw commented Feb 13, 2012

I try to build package for archlinux.(go-hg)
I want to reduce package size by 'strip' command.

What steps will reproduce the problem?
1. after make
2. strip /opt/go/pkg/linux_amd64/exp/norm.a


What is the expected output?

OK without message.

What do you see instead?

strip:./opt/go/pkg/linux_amd64/exp/norm.a: File format not recognized

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

6g 

Which operating system are you using?

ArchLinux x86_64

Which revision are you using?  (hg identify)

go-hg cbee2f341f10

Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented Feb 14, 2012

Comment 1:

Those .a files are not standard system .a files,
so the usual strip tool does not apply.  Everything
in those .a files is needed for linking.

Status changed to WorkingAsIntended.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants