Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

does not compile under gccgo #11

Closed
rrh opened this issue Jan 11, 2016 · 3 comments
Closed

does not compile under gccgo #11

rrh opened this issue Jan 11, 2016 · 3 comments

Comments

@rrh
Copy link

rrh commented Jan 11, 2016

I installed gccgo (from gcc 5, on ubuntu). The crc32_amd64.s source file doesn't compile, since that's cgo specific asm language:
Godeps/_workspace/src/github.com/klauspost/crc32/crc32_amd64.s:9: Error: no such instruction: `text ·castagnoliSSE42(SB),NOSPLIT,$0'
....

There should be some kind of guard on the .s files (and/or the alternative pure go files) that detect when gccgo is in use and not compile the .s file(s).

@klauspost
Copy link
Owner

Thanks for the report.

Is it possible for you to test #12 ?

@rrh
Copy link
Author

rrh commented Jan 12, 2016

See my comment in #12
I'd fix it myself, but the overhead of forking, changing this PR, is too high
Thanks for your very rapid response!

@klauspost
Copy link
Owner

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants