On Wed, Jul 24, 2013 at 4:49 AM, Rainer Orth
<r...@cebitec.uni-bielefeld.de> wrote:
> Ian Lance Taylor <i...@google.com> writes:
>
>> On Thu, Jul 18, 2013 at 6:59 AM, Rainer Orth
>> <r...@cebitec.uni-bielefeld.de> wrote:
>>> Ian Lance Taylor <i...@google.com> writes:
>>>
>>>> I have committed a large patch to update libgo to the library that was
>>>> part of the Go 1.1.1 release.  As usual, I'm not including the entire
>>>> patch in this e-mail message, because it is too large.  I'm only
>>>> including the changes to the files that are partially gccgo-specific.
>>>> Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
>>>> Committed to mainline and 4.8 branch.
>>>
>>> This broke the Solaris build:
>>>
>>> /vol/gcc/src/hg/trunk/local/libgo/go/log/syslog/syslog_libc.go:18:25: 
>>> error: use of undefined type 'serverConn'
>>>  func unixSyslog() (conn serverConn, err error) {
>>>                          ^
>>> make[6]: *** [log/syslog.lo] Error 1
>>>
>>> Didn't make much progress on this one.
>>
>> The interface I put in a while back for Solaris support got taken out
>> from the master library, and I missed it.  This patch restores it.
>> Committed to mainline and 4.8 branch.  I've also sent a patch to the
>> master library to restore the interface.
>
> The new failures are:
>
> 32-bit runtime:
>
> runtime: memory allocated by OS (0xbd600000) not in usable range 
> [0xdde00000,0x5de00000)
> runtime: out of memory: cannot allocate 2097152-byte block (536870912 in use)
> fatal error: out of memory

This patch fixes it.  Looks like the Solaris linker does not define
the symbol "end", and the value was being picked up from some shared
library.  Committed to mainline and 4.8 branch.

Ian

Attachment: foo.patch
Description: Binary data

Reply via email to