Descriptioncgo: Linux/ARM support *PREVIEW*
This is an unfinished preview for testers. Not for merging.
Current status:
1. all pkg tests and tests in test/ directory are passed.
2. all but one tests in misc/cgo are passed.
misc/cgo/test used to fail when GOMAXPROCS>1 on SMP ARM machines, but I believe this is fixed now.
3. cmd/go can handle cgo programs now.
Known issues:
1. No thumb library support, you have to make sure your external library is compiled using '-marm'.
2. The ELF Dynamic linker is hard coded to be /lib/ld-linux.so.3, so on some
distributions, like recent Ubuntu and Android, you might need to adjust
src/cmd/5l/asm.c. I plan to add auto detection for this.
Note:
1. You have to export CGO_ENABLED=1 by yourself. (Update: enabled in Patch
Set 5)
2. At this time, it will take some time to set up enviroment to do the tests in misc/cgo. Mainly because the recent removal/rename of some scripts/commands (e.g. quietgcc, gotest; gopack -> pack)
(Update: the restriction is removed in Patch Set 6)
Patch Set 1 #Patch Set 2 : diff -r 5415659b0b42 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r da15310087d6 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r eb997f446b2e https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 9dd9374109a9 https://code.google.com/p/go/ #Patch Set 6 : diff -r abf39116ffac https://code.google.com/p/go/ #Patch Set 7 : diff -r 91a86970157c https://code.google.com/p/go/ #Patch Set 8 : diff -r ee5c7588cb7f https://code.google.com/p/go/ #Patch Set 9 : diff -r 016c4fefed77 https://code.google.com/p/go/ #
MessagesTotal messages: 12
|