This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [go-nuts] Solaris gccgo http.Get error?


On Thu, Aug 8, 2013 at 11:22 PM, Jakob Borg <jakob@nym.se> wrote:
>
> But, adding a
>
>  hints.ai_socktype = SOCK_STREAM;
>
> gives me
>
> jb@zlogin2:~ $ ./test
> canonical name: www.google.com
> 26 2 6
> 26 2 6
> 26 2 6
> 26 2 6
> 26 2 6
> 26 2 6
>
> It seems we might need a tweak to support Solaris... :/

Looks like it.  I committed a patch to the master repository.  This
patch copies it over to gccgo.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline and 4.8 branch.

Note that I have not made the change on the 4.7 branch which is what
you are using.  The same patch should work for the 4.7 sources,
though, if you want to copy it over.

Ian

Attachment: foo.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]