https://bugzilla.novell.com/show_bug.cgi?id=875128 https://bugzilla.novell.com/show_bug.cgi?id=875128#c0 Summary: [devel:gcc] gccgo: hello world program requires explicit -pthread Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: rguenther@suse.com ReportedBy: crrodriguez@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- cat main.go package main import "fmt" func main() { fmt.Println("Hello World") } #gccgo-4.9 main.go /usr/lib64/gcc/x86_64-suse-linux/4.9/libgo.a(proc.o): In function `runtime_newosproc': /home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgo/../../../libgo/runtime/proc.c:198: undefined reference to `pthread_attr_setstacksize' /home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgo/../../../libgo/runtime/proc.c:211: undefined reference to `pthread_sigmask' /home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgo/../../../libgo/runtime/proc.c:213: undefined reference to `pthread_sigmask' /usr/lib64/gcc/x86_64-suse-linux/4.9/libgo.a(runtime.o): In function `runtime_minit': /home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgo/../../../libgo/runtime/runtime.c:254: undefined reference to `pthread_sigmask' /usr/lib64/gcc/x86_64-suse-linux/4.9/libgo.a(go-signal.o): In function `sig_panic_leadin': /home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgo/../../../libgo/runtime/go-signal.c:255: undefined reference to `pthread_sigmask' /usr/lib64/gcc/x86_64-suse-linux/4.9/libgcc.a(generic-morestack.o): In function `__morestack_block_signals': /home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgcc/../../../libgcc/generic-morestack.c:675: undefined reference to `pthread_sigmask' /usr/lib64/gcc/x86_64-suse-linux/4.9/libgcc.a(generic-morestack.o):/home/abuild/rpmbuild/BUILD/gcc-4.9.0-r209611/obj-x86_64-suse-linux/x86_64-suse-linux/libgcc/../../../libgcc/generic-morestack.c:690: more undefined references to `pthread_sigmask' follow The http://golang.org compiler however has no such requirement.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.