Uros Bizjak <ubiz...@gmail.com> writes:

>> I have committed a large patch to update the Go frontend and libgo to
>> the recent changes in the gofrontend repository.  I had postponed
>> merging changes during the GCC 7 release process.  I am now merging
>> all the changes that were pending during that period.  Although this
>> is a merged patch, the changes can be seen individually in the
>> gofrontend repo (https://go.googlesource.com/gofrontend).  They are
>> also listed below.
>
> Fails to build on !USING_SPLIT_STACK targets with:
>
> /space/homedirs/uros/gcc-svn/trunk/libgo/runtime/proc.c: In function
> ‘runtime_malg’:
> /space/homedirs/uros/gcc-svn/trunk/libgo/runtime/proc.c:729:43: error:
> implicit declaration of function ‘mstats’; did you mean ‘mstart1’?
> [-Werror=implicit-function-declaration]
>     void *p = runtime_sysAlloc(stacksize, &mstats()->other_sys);
>                                            ^~~~~~
>                                            mstart1
> /space/homedirs/uros/gcc-svn/trunk/libgo/runtime/proc.c:729:51: error:
> invalid type argument of ‘->’ (have ‘int’)
>     void *p = runtime_sysAlloc(stacksize, &mstats()->other_sys);
>                                                    ^~
>
> mstats function doesn't exist anymore.

besides, I see

/vol/gcc/src/hg/trunk/local/libgo/runtime/stack.c: In function "doscanstack1":
/vol/gcc/src/hg/trunk/local/libgo/runtime/stack.c:83:5: error: unused variable "
mp" [-Werror=unused-variable]
  M *mp;
     ^~

on Solaris (another non-split-stack target).

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to