Skip to content

Instantly share code, notes, and snippets.

@kiko
Created May 24, 2010 13:28
Show Gist options
  • Save kiko/d8caca9583ad843a78d9 to your computer and use it in GitHub Desktop.
Save kiko/d8caca9583ad843a78d9 to your computer and use it in GitHub Desktop.
architecture: i686
go-lang-hg: 5519
GLEW: 1.5.2
freeglut: 2.6.0
mesa: 7.7.1
Go-OpenGL: e07348399aabaa34ab85e21bea30fafe43036a58
> make
make -C gl10 install
make[1]: Entering directory `/home/kiko/github/non-ruby/Go-OpenGL/gl10'
CGOPKGPATH= /usr/bin/cgo -D__Linux gl.go
/usr/bin/8g -o _go_.8 gl_defs.go gl.cgo1.go _cgo_gotypes.go
/usr/bin/8c -FVw -I"/usr/lib/go/src/pkg/runtime" _cgo_defun.c
rm -f _obj/gl.a
/usr/bin/gopack grc _obj/gl.a _go_.8 _cgo_defun.8
cp _obj/gl.a "/usr/lib/go/pkg/linux_386/gl.a"
gcc -m32 -fPIC -O2 -o gl.cgo2.o -c -D__Linux gl.cgo2.c
gl.cgo2.c: In function ‘_cgo_glGetString’:
gl.cgo2.c:106:7: warning: assignment discards qualifiers from pointer target type
gcc -m32 -o _cgo_.so gl.cgo2.o -lGLEW -shared -lpthread -lm
cp _cgo_.so "/usr/lib/go/pkg/linux_386/gl.so"
rm gl.cgo2.c
make[1]: Leaving directory `/home/kiko/github/non-ruby/Go-OpenGL/gl10'
8g test-gl.go
registers allocated at
AX 0
CX 0
DX 0
BX 0x8054ab7
SP 0
BP 0x8054ab7
SI 0x8054ab7
DI 0x8053c21
test-gl.go:19: out of fixed registers
test-gl.go:19: internal compiler error: regfree: reg not allocated
make: *** [test-gl] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment