On Sun, Nov 15, 2020 at 7:25 AM Ivan Serdyuk
<local.tourist.k...@gmail.com> wrote:
>
> I was trying to check what is required to build gollvm on Alpine linux (it 
> has musl instead of glibc).
>
> Look like recently revealed set of minimal requirements allowed to build the 
> configuration file (for Ninja).
>
> heading to check whether Ninja would compile.
> I wasn't able to find a pre-compiled Clang 11, for Alpine - but Clang 10 was 
> available, which was pre-compiled against musl (C++ standard library has to 
> rely on musl, instead of glibc - as I suppose).
>
> Maybe I would recompile Clang 11, for Alpine distro - but not today.
>
> Must admit that CMake worked much faster, compared to Ubuntu.
>
> Comments would be much appreciated.
>
> So, I am stuck:
>
> [1/1084] Building sysinfo.o
> FAILED: tools/gollvm/libgo/sysinfo.o
> cd /home/oceanfish81/workarea/build_release/tools/gollvm/libgo && 
> /usr/bin/clang -g3 -c -fno-eliminate-unused-debug-types 
> /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/sysinfo.c
>  -o /home/oceanfish81/workarea/build_release/tools/gollvm/libgo/sysinfo.o 
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/home/oceanfish81/workarea/build_release/tools/gollvm/libgo 
> -I/home/oceanfish81/workarea/build_release/tools/gollvm/libgo/runtime
> /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/sysinfo.c:462:1:
>  error: tentative definition has type 'struct sigstack' that is never 
> completed
> SREF(sigstack);
> ^

I don't know why sysinfo.c has the line "SREF(sigstack)".  What
happens if you just remove it?

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcX3XtC4mr_atXaj8%2BBeicqsbOKZmw8kzKU9DYXaXAP9mw%40mail.gmail.com.

Reply via email to