Re: [go-nuts] Build fails when using gollvm toolchain instead of go

2020-05-26 Thread 'Martins Eglitis' via golang-nuts
Hi, Thank you for the kind answer. I can not see the asm tool in the gollvm toolchain. Or should I use something else? This is the go snippet: package asm // RteCompilerRmb is lfence func RteCompilerRmb() // RteCompilerWmb is sfence func RteCompilerWmb() // Prefetcht0 is prefetch func

Re: [go-nuts] Build fails when following build instructions

2020-05-04 Thread 'Martins Eglitis' via golang-nuts
Hi, I am getting output like this: /tmp/CheckSymbolExists.c: In function 'main': /tmp/CheckSymbolExists.c:7:11: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 7 | return ((int*)())[argc]; | ^ Using built-in specs.

Re: [go-nuts] Build fails when following build instructions

2020-04-30 Thread 'Martins Eglitis' via golang-nuts
Hi, There was something related in "CMakeError.log": Determining if the mmap exist failed with the following output: Change Dir: /home/gopher/workarea/build-debug/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_81c99 && [1/2] Building C object

Re: [go-nuts] Build fails when following build instructions

2020-04-30 Thread 'Martins Eglitis' via golang-nuts
Sorry, I should have mentioned that I am running a docker container based on the latest Ubuntu, and Ubuntu 18.04 as the host. On April 30, 2020 11:37:15 PM GMT+03:00, Martins Eglitis wrote: >Yes, > >cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 > > >On April 30, 2020 11:29:07 PM GMT+03:00, Than

Re: [go-nuts] Build fails when following build instructions

2020-04-30 Thread 'Martins Eglitis' via golang-nuts
Yes, cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 On April 30, 2020 11:29:07 PM GMT+03:00, Than McIntosh wrote: >>>/usr/bin/ld.gold: error: >CMakeFiles/cmTC_81c99.dir/CheckSymbolExists.c.o: >failed to match split-stack sequence at section 4 offset 0 > >OK, now I think we're getting somewhere, this