http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59452
Bug ID: 59452 Summary: net FAILs on Solaris 9 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: ro at gcc dot gnu.org Host: *-*-solaris2.9 Target: *-*-solaris2.9 Build: *-*-solaris2.9 The libgo net test FAILs on Solaris 9: --- FAIL: TestDialDualStackLocalhost (0.00 seconds) dial_test.go:518: LookupIP failed: lookup localhost: invalid ai_flags FAIL FAIL: net Checking the Solaris 9 sources, I found that getaddrinfo sets EAI_BADFLAGS if ai_flags contains anything but AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST| AI_ADDRCONFIG, thus AI_V4MAPPED | AI_ALL break the test. This changed in Solaris 10/11, so it's unclear how best to solve it, or just ignore the failure given that Solaris 9 support will be removed after GCC 4.9. Rainer