profile
viewpoint
Ivan advancedwebdeveloper Kiev, Ukraine

advancedwebdeveloper/gollvm_1.15.2_ubuntu20_release 1

My tryout to build the current version of gollvm, using Clang 11 RC2 and CMake 3.18 (libc++)

advancedwebdeveloper/accumulo-cpp 0

A C++ Implementation of the Accumulo Thrift Proxy

advancedwebdeveloper/afero 0

A FileSystem Abstraction System for Go

advancedwebdeveloper/bootstrap 0

Bootstrap Go bindings for Clang's C API

advancedwebdeveloper/circuit 0

Circuit: Dynamic cloud orchestration http://gocircuit.org

advancedwebdeveloper/clojure-clr 0

A port of Clojure to the CLR, part of the Clojure project

advancedwebdeveloper/cluster 0

Arm and Packet have partnered to make powerful Neoverse based Armv8 bare metal infrastructure including latest generation Ampere and Marvell systems — available for open source software developers to build, test and optimize for Arm64 architecture.

advancedwebdeveloper/cmake_trace_expand 0

Tracing CMake and doing other stuff, to resolve https://github.com/golang/go/issues/42049

startedbicomsystems/go-libzfs

started time in 6 hours

startedmistifyio/go-zfs

started time in 6 hours

startedbmah888/gotesla

started time in 8 hours

startedtuexen/syzkaller

started time in 8 hours

issue commentgolang/go

gollvm: build failed, on FreeBSD 13.0 x86_64

Prepare for what ? Provide in what sense ? CMake dows not know where to find the headers. How should I ensure of their presence (specific packages installed)? Are those provided with the rest of FreeBSD's kernel implementation - or it is OK just to have the headers themselves? We are dealing with some userspace stuff...

advancedwebdeveloper

comment created time in 11 hours

issue commentgolang/go

gollvm: build failed, on FreeBSD 13.0 x86_64

It looks as though cmake is trying to detect whether "mmap" is present/usable, however when it tries to link a small program that uses mmap, it gets:

/usr/local/bin/ld.gold: error: CMakeFiles/cmTC_c70af.dir/CheckSymbolExists.c.o: could not convert call to '__morestack' to '__morestack_non_split'
CMakeFiles/cmTC_c70af.dir/CheckSymbolExists.c.o:CheckSymbolExists.c:function main: error: undefined reference to '__morestack'

Looks as though the compiler on this system accepts "-fsplit-stack", but the runtime library support is not there... this is not something currently handled in the cmake config setup.

@mneumann, do you have any experience with this. I saw that you are rather a Rust developer - however you seam to investigate LLVM related issues. Would you add your 50 cents to this discussion?

advancedwebdeveloper

comment created time in 17 hours

issue commentgolang/go

gollvm: build failed, on FreeBSD 13.0 x86_64

@kostikbel , what is the best way to prepare/provide FreeBSD's headers?

advancedwebdeveloper

comment created time in 18 hours

issue commentgolang/go

gollvm: build failed, on FreeBSD 13.0 x86_64

@kostikbel , thanks: appreciating your involvement. Sure thing, I will collect all the log and arrange those in some easily readable form (to be able to analyze the summary of all issues, to track down related systematics).

@ianlancetaylor , where there any attempts to port libgo natively (on/to FreeBSD)?

advancedwebdeveloper

comment created time in 18 hours

issue openedgolang/go

gollvm: build failed, on FreeBSD 13.0 x86_64

Hi. I was investigating current blocking issues, on FreeBSD 13.0.

$cmake -DCMAKE_CXX_FLAGS=' -I~/workarea/freebsd_src/include ' -DCMAKE_C_FLAGS=' -I~/workarea/freebsd_src/include ' ../

-- The C compiler identification is Clang 11.0.0 -- The CXX compiler identification is Clang 11.0.0 -- The ASM compiler identification is Clang -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- No build type selected, default to Debug -- Performing Test LLVM_LIBSTDCXX_MIN -- Performing Test LLVM_LIBSTDCXX_MIN - Success -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sysexits.h -- Looking for sysexits.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for histedit.h -- Looking for histedit.h - found -- Looking for CrashReporterClient.h -- Looking for CrashReporterClient.h - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for pfm_initialize in pfm -- Looking for pfm_initialize in pfm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Looking for compress2 -- Looking for compress2 - found -- Found LibXml2: /usr/local/lib/libxml2.so (found version "2.9.10") -- Looking for xmlReadMemory -- Looking for xmlReadMemory - found -- Looking for el_init in edit -- Looking for el_init in edit - found -- Looking for xar_open in xar -- Looking for xar_open in xar - not found -- Looking for arc4random -- Looking for arc4random - found -- Looking for backtrace -- Looking for backtrace - not found -- Found Backtrace: /usr/lib/libexecinfo.so
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - not found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for lseek64 -- Looking for lseek64 - not found -- Looking for mallctl -- Looking for mallctl - found -- Looking for mallinfo -- Looking for mallinfo - not found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - found -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Success -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for GLIBC -- Looking for GLIBC - not found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success -- Native target architecture is X86 -- Threads enabled. -- Doxygen disabled. -- Go bindings disabled. -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- OCaml bindings disabled. -- Could NOT find Python module pygments -- Could NOT find Python module pygments.lexers.c_cpp -- Could NOT find Python module yaml -- LLVM host triple: x86_64-unknown-freebsd13.0 -- LLVM default target triple: x86_64-unknown-freebsd13.0 -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Found Python3: /usr/local/bin/python3.7 (found version "3.7.9") found components: Interpreter -- Constructing LLVMBuild project information -- Linker detection: LLD -- Found Git: /usr/local/bin/git (found version "2.28.0") -- Targeting AArch64 -- Targeting AMDGPU -- Targeting ARM -- Targeting AVR -- Targeting BPF -- Targeting Hexagon -- Targeting Lanai -- Targeting Mips -- Targeting MSP430 -- Targeting NVPTX -- Targeting PowerPC -- Targeting RISCV -- Targeting Sparc -- Targeting SystemZ -- Targeting WebAssembly -- Targeting X86 -- Targeting XCore -- default linker set to "gold" -- Performing Test C_SUPPORTS_CF_PROTECTION_BRANCH -- Performing Test C_SUPPORTS_CF_PROTECTION_BRANCH - Success -- Performing Test SPLIT_STACK_FUNCTIONAL -- Performing Test SPLIT_STACK_FUNCTIONAL - Failed -- trying -fcf-protection=none workaround -- Performing Test SPLIT_STACK_WORKAROUND -- Performing Test SPLIT_STACK_WORKAROUND - Failed CMake Error at tools/gollvm/cmake/modules/AddGollvm.cmake:68 (message): C compiler does not support -fsplit-stack Call Stack (most recent call first): tools/gollvm/CMakeLists.txt:22 (include)

-- starting libgo configuration. -- Performing Test HAVE_ATOMIC_FUNCTIONS -- Performing Test HAVE_ATOMIC_FUNCTIONS - Failed -- Looking for clock_gettime -- Looking for clock_gettime - not found -- Looking for strnlen -- Looking for strnlen - not found -- Looking for dl_iterate_phdr -- Looking for dl_iterate_phdr - not found -- Looking for fcntl -- Looking for fcntl - not found -- Looking for getexecname -- Looking for getexecname - not found -- Looking for lstat -- Looking for lstat - not found -- Looking for readlink -- Looking for readlink - not found -- Looking for mmap -- Looking for mmap - not found -- Looking for accept4 -- Looking for accept4 - not found -- Looking for dup3 -- Looking for dup3 - not found -- Looking for epoll_create1 -- Looking for epoll_create1 - not found -- Looking for faccessat -- Looking for faccessat - not found -- Looking for fallocate -- Looking for fallocate - not found -- Looking for fchmodat -- Looking for fchmodat - not found -- Looking for fchownat -- Looking for fchownat - not found -- Looking for futimesat -- Looking for futimesat - not found -- Looking for inotify_add_watch -- Looking for inotify_add_watch - not found -- Looking for inotify_init -- Looking for inotify_init - not found -- Looking for inotify_init1 -- Looking for inotify_init1 - not found -- Looking for inotify_rm_watch -- Looking for inotify_rm_watch - not found -- Looking for listxattr -- Looking for listxattr - not found -- Looking for mincore -- Looking for mincore - not found -- Looking for mkdirat -- Looking for mkdirat - not found -- Looking for openat -- Looking for openat - not found -- Looking for removexattr -- Looking for removexattr - not found -- Looking for renameat -- Looking for renameat - not found -- Looking for setxattr -- Looking for setxattr - not found -- Looking for splice -- Looking for splice - not found -- Looking for sync_file_range -- Looking for sync_file_range - not found -- Looking for syscall -- Looking for syscall - not found -- Looking for tee -- Looking for tee - not found -- Looking for unlinkat -- Looking for unlinkat - not found -- Looking for unsetenv -- Looking for unsetenv - not found -- Looking for unshare -- Looking for unshare - not found -- Looking for utimensat -- Looking for utimensat - not found -- Looking for wait4 -- Looking for wait4 - not found -- Looking for open64 -- Looking for open64 - not found -- Looking for mknodat -- Looking for mknodat - not found -- Looking for pipe2 -- Looking for pipe2 - not found -- Looking for memmem -- Looking for memmem - not found -- Looking for inttypes.h -- Looking for inttypes.h - not found -- Looking for linux/ether.h -- Looking for linux/ether.h - not found -- Looking for linux/filter.h -- Looking for linux/filter.h - not found -- Looking for linux/fs.h -- Looking for linux/fs.h - not found -- Looking for linux/if_addr.h -- Looking for linux/if_addr.h - not found -- Looking for linux/if_ether.h -- Looking for linux/if_ether.h - not found -- Looking for linux/if_tun.h -- Looking for linux/if_tun.h - not found -- Looking for linux/netlink.h -- Looking for linux/netlink.h - not found -- Looking for linux/ptrace.h -- Looking for linux/ptrace.h - not found -- Looking for linux/reboot.h -- Looking for linux/reboot.h - not found -- Looking for linux/rtnetlink.h -- Looking for linux/rtnetlink.h - not found -- Looking for memory.h -- Looking for memory.h - not found -- Looking for net/if.h -- Looking for net/if.h - not found -- Looking for net/if_arp.h -- Looking for net/if_arp.h - not found -- Looking for net/route.h -- Looking for net/route.h - not found -- Looking for netinet/icmp6.h -- Looking for netinet/icmp6.h - not found -- Looking for netinet/if_ether.h -- Looking for netinet/if_ether.h - not found -- Looking for netinet/in_systm.h -- Looking for netinet/in_systm.h - not found -- Looking for netinet/ip.h -- Looking for netinet/ip.h - not found -- Looking for netinet/ip_mroute.h -- Looking for netinet/ip_mroute.h - not found -- Looking for netpacket/packet.h -- Looking for netpacket/packet.h - not found -- Looking for port.h -- Looking for port.h - not found -- Looking for sched.h -- Looking for sched.h - not found -- Looking for semaphore.h -- Looking for semaphore.h - not found -- Looking for stdint.h -- Looking for stdint.h - not found -- Looking for stdlib.h -- Looking for stdlib.h - not found -- Looking for strings.h -- Looking for strings.h - not found -- Looking for sys/epoll.h -- Looking for sys/epoll.h - not found -- Looking for sys/file.h -- Looking for sys/file.h - not found -- Looking for sys/inotify.h -- Looking for sys/inotify.h - not found -- Looking for sys/mount.h -- Looking for sys/mount.h - not found -- Looking for sys/prctl.h -- Looking for sys/prctl.h - not found -- Looking for sys/ptrace.h -- Looking for sys/ptrace.h - not found -- Looking for sys/select.h -- Looking for sys/select.h - not found -- Looking for sys/statfs.h -- Looking for sys/statfs.h - not found -- Looking for sys/syscall.h -- Looking for sys/syscall.h - not found -- Looking for sys/sysinfo.h -- Looking for sys/sysinfo.h - not found -- Looking for sys/timex.h -- Looking for sys/timex.h - not found -- Looking for sys/user.h -- Looking for sys/user.h - not found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - not found -- Looking for sys/vfs.h -- Looking for sys/vfs.h - not found -- Looking for syscall.h -- Looking for syscall.h - not found -- Looking for utime.h -- Looking for utime.h - not found -- Looking for compress in z -- Looking for compress in z - not found -- Looking for stddef.h -- Looking for stddef.h - not found -- Check size of double -- Check size of double - failed -- Check size of long double -- Check size of long double - failed -- Check size of long double -- Check size of long double - failed -- Check size of void* -- Check size of void* - failed -- Looking for alloca.h -- Looking for alloca.h - not found -- Looking for alloca -- Looking for alloca - not found -- Looking for memcpy -- Looking for memcpy - not found -- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 -- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 - Failed -- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 -- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 - Failed -- Performing Test HAVE_AS_X86_AES -- Performing Test HAVE_AS_X86_AES - Failed CMake Error at tools/gollvm/cmake/modules/LibbacktraceUtils.cmake:19 (message): Support for mmap() is required -- setup failed. Call Stack (most recent call first): tools/gollvm/libgo/CMakeLists.txt:45 (setup_libbacktrace)

CMake Error at tools/gollvm/cmake/modules/LibffiUtils.cmake:27 (message): Support for mmap() is required -- setup failed. Call Stack (most recent call first): tools/gollvm/libgo/CMakeLists.txt:49 (setup_libffi)

CMake Error at tools/gollvm/cmake/modules/AutoGenGo.cmake:389 (message): *** struct epoll_event data.fd offset unknown Call Stack (most recent call first): tools/gollvm/libgo/CMakeLists.txt:323 (mkepoll)

-- Libgo: creating stdlib package targets -- Libgo: generating check targets -- libgo configuration complete. -- starting gotools configuration. -- gotools: generating check targets -- gotools configuration complete. -- Registering Bye as a pass plugin (static build: OFF) -- Version: 0.0.0 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success -- Performing Test HAVE_CXX_FLAG_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_FLAG_WNO_SUGGEST_OVERRIDE - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- success -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Configuring incomplete, errors occurred! See also "/home/oceanfish81/workarea/build_release/CMakeFiles/CMakeOutput.log". See also "/home/oceanfish81/workarea/build_release/CMakeFiles/CMakeError.log".

Here is the link to this log, in case you would wish to reference it, among any other people.

My compressed build folder could be downloaded here .

created time in a day

issue commentgolang/go

math/big: Implement fft algorithm

@dcmartin , could give an advice here?

SparrowLii

comment created time in a day

issue commentdeislabs/krustlet

All tests are failing, on Windows 10

I will reply later - was focusing on another project. Expect more reported bugs

advancedwebdeveloper

comment created time in 2 days

startedlinuxboot/fiano

started time in 3 days

fork advancedwebdeveloper/cluster

Arm and Packet have partnered to make powerful Neoverse based Armv8 bare metal infrastructure including latest generation Ampere and Marvell systems — available for open source software developers to build, test and optimize for Arm64 architecture.

http://worksonarm.com

fork in 3 days

issue openedgolang/go

gollvm: updating CMakeLists.txt, to allow targeting the bleeding edge versions of gmp/mpfr/mpc

It makes sense to migrate dependencies, mentioned in CMakeLists.txt config. , to the following versions:

https://gmplib.org/download/gmp/gmp-6.2.0.tar.bz2 https://www.mpfr.org/mpfr-current/mpfr-4.1.0.tar.bz2 https://ftp.gnu.org/gnu/mpc/mpc-1.2.0.tar.gz .

Those are proven to compile well, for x86_64 "release" build of gollvm. Here is my proof:

my binary build ; my compressed build folder .

CC @thanm @cherrymui @ianlancetaylor

Related to this commit.

created time in 5 days

fork advancedwebdeveloper/llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.

http://llvm.org

fork in 5 days

issue openedhpcloud/tail

error: reference to undefined identifier 'syscall.SizeofInotifyEvent' (gollvm; 1.15.2)

Hi. I caught such a bug, while building your package:

github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1 ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:161:18: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:206:18: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:229:34: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:231:21: error: reference to undefined identifier 'syscall.InotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:244:74: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:261:22: error: reference to undefined identifier 'syscall.SizeofInotifyEvent'

I have opened a related issue here

created time in 6 days

issue openedfsnotify/fsnotify

Error: reference to undefined identifier 'syscall.SizeofInotifyEvent'

Hi. I can't build your package.

Before reporting an issue, please ensure you are using the latest release of fsnotify.

Which operating system (GOOS) and version are you using?

Ubuntu 20.04.1 x86_64

github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1 ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:161:18: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:206:18: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:229:34: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:231:21: error: reference to undefined identifier 'syscall.InotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:244:74: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:261:22: error: reference to undefined identifier 'syscall.SizeofInotifyEvent'

I am using

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

and my environment is described below:

$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build499307086=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

You can reproduce this yourself by taking my "release" build of gollvm out here

created time in 6 days

issue openedcreack/pty

reference to undefined identifier 'syscall.TIOCGPTN', 'syscall.TIOCSPTLCK'

Hello. I couldn't build your package.

$ go get github.com/creack/pty go: downloading github.com/creack/pty v1.1.11 go: github.com/creack/pty upgrade => v1.1.11 # github.com/creack/pty ../go/pkg/mod/github.com/creack/pty@v1.1.11/pty_linux.go:40:31: error: reference to undefined identifier 'syscall.TIOCGPTN' ../go/pkg/mod/github.com/creack/pty@v1.1.11/pty_linux.go:50:31: error: reference to undefined identifier 'syscall.TIOCSPTLCK'

I am using

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64 and here is my environment:

$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="/home/oceanfish81/survey/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build857733618=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

created time in 6 days

issue openedtravis-ci/vsphere-images

Compilation bugs with gollvm (Go 1.15.2)

Hi there.

Go some bugs, while trying to build this package.

../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkin-host.go:22:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkin-host.go:27:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkout-host.go:23:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkout-host.go:28:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/configure-image.go:22:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/configure-image.go:27:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:22:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:27:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:32:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:37:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:42:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:47:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:52:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:57:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/copy-image.go:62:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/datastore-move.go:21:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/datastore-move.go:26:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/main.go:14:5: error: reference to undefined field or method 'Author' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/main.go:15:5: error: reference to undefined field or method 'Email' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/move-image.go:22:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/move-image.go:27:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/migrate-image.go:21:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/migrate-image.go:26:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/resnapshot.go:21:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/resnapshot.go:26:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/restore-backup.go:21:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/restore-backup.go:26:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/restore-backup.go:31:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/restore-backup.go:36:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkin-host.go:29:7: error: incompatible type for element 3 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkout-host.go:30:7: error: incompatible type for element 3 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/checkout-host.go:34:7: error: incompatible type for element 4 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/configure-image.go:29:7: error: incompatible type for element 3 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/configure-image.go:33:7: error: incompatible type for element 4 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/configure-image.go:37:7: error: incompatible type for element 5 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/configure-image.go:41:7: error: incompatible type for element 6 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/main.go:17:15: error: incompatible types in assignment ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/migrate-image.go:28:7: error: incompatible type for element 3 in composite literal ../go/src/github.com/travis-ci/vsphere-images/cmd/vsphere-images/restore-backup.go:38:7: error: incompatible type for element 5 in composite literal

I am using

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

and my environment looks like this:

$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build426070500=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

created time in 6 days

issue openedtravis-ci/vsphere-monitor

unknown field 'EnvVar' in 'cli.StringFlag' , in'cli.StringSliceFlag' ; reference to undefined field or method 'Author', 'Email'

I was trying to build your package, using gollvm:

$ go get -u github.com/FiloSottile/gvt $ go get -u github.com/FiloSottile/gvt $ make deps gvt rebuild 2020/10/25 12:03:55 fetching github.com/sony/gobreaker 2020/10/25 12:03:55 fetching github.com/certifi/gocertifi 2020/10/25 12:03:55 fetching github.com/travis-ci/jupiter-brain/pkg/vsphereutil 2020/10/25 12:03:55 fetching github.com/BurntSushi/toml 2020/10/25 12:03:55 fetching github.com/Sirupsen/logrus 2020/10/25 12:03:55 fetching github.com/pkg/errors 2020/10/25 12:03:55 fetching github.com/getsentry/raven-go 2020/10/25 12:03:55 fetching github.com/sirupsen/logrus 2020/10/25 12:04:00 fetching github.com/urfave/cli 2020/10/25 12:04:01 fetching github.com/vmware/govmomi 2020/10/25 12:04:01 fetching golang.org/x/sys/unix 2020/10/25 12:04:01 fetching gopkg.in/airbrake/gobrake.v2 2020/10/25 12:04:02 fetching gopkg.in/gemnasium/logrus-airbrake-hook.v2 2020/10/25 12:04:02 fetching gopkg.in/urfave/cli.v1 2020/10/25 12:04:02 fetching gopkg.in/yaml.v2 touch vendor/.deps-fetched $ make build go install -ldflags "-X 'main.VersionString=v1.0.0' -X 'main.RevisionString=c9bd5429107073eca2f42abb88fe211fb2d56662' -X 'main.RevisionURLString=https://github.com/travis-ci/vsphere-monitor/tree/c9bd5429107073eca2f42abb88fe211fb2d56662' -X 'main.GeneratedString=2020-10-25T10:04:37+0000' -X 'main.CopyrightString=© 2017 Travis CI GmbH'" github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor

github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor

../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:10:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:15:4: error: unknown field 'EnvVar' in 'cli.BoolFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:20:4: error: unknown field 'EnvVar' in 'cli.StringSliceFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:25:4: error: unknown field 'EnvVar' in 'cli.StringSliceFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:30:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:35:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:40:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:45:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/flags.go:50:4: error: unknown field 'EnvVar' in 'cli.StringFlag' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/main.go:39:5: error: reference to undefined field or method 'Author' ../go/src/github.com/travis-ci/vsphere-monitor/cmd/vsphere-monitor/main.go:40:5: error: reference to undefined field or method 'Email' make: *** [Makefile:36: build] Error 2

So I got these errors.

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

$ go env gio GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build755540264=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

created time in 6 days

issue commentgolangci/golangci-lint

plugin: package plugin is not in GOROOT (gollvm)

Ah so you mean this package ? Sorry, was inattentive

advancedwebdeveloper

comment created time in 6 days

issue openedoperator-framework/operator-sdk

Experiencing panic/crash while obtaining yaml package dependency

Hi there.

I have an issue/bug here .

I am using gollvm - you can reproduce the bug, by installing my "release" build from here. If someone curious about gollvm("llvm-goc") itself - you can find my build folder, compressed, out here.

created time in 6 days

issue openedkubernetes-sigs/yaml

panic: runtime error: invalid memory address or nil pointer dereference

Hi.

Got such an issue:

~/operator-sdk$ make build go build -i -v -x -gcflags "all=-trimpath=/home/oceanfish81" -asmflags "all=-trimpath=/home/oceanfish81" -ldflags " -X 'github.com/operator-framework/operator-sdk/internal/version.Version=v1.1.0+git' -X 'github.com/operator-framework/operator-sdk/internal/version.GitVersion=v1.1.0-16-g33e37efc-dirty' -X 'github.com/operator-framework/operator-sdk/internal/version.GitCommit=33e37efc921bab5cd6b5c84eb68a604d733e06ff' -X 'github.com/operator-framework/operator-sdk/internal/version.KubernetesVersion=v1.18.8' " -o build ./cmd/{operator-sdk,ansible-operator,helm-operator} WORK=/tmp/go-build342156229 go: downloading sigs.k8s.io/controller-runtime v0.6.3

get https://proxy.golang.org/sigs.k8s.io/controller-runtime/@v/v0.6.3.zip

go: downloading k8s.io/apimachinery v0.18.8

get https://proxy.golang.org/k8s.io/apimachinery/@v/v0.18.8.zip

go: downloading github.com/operator-framework/operator-lib v0.1.0

get https://proxy.golang.org/github.com/operator-framework/operator-lib/@v/v0.1.0.zip

go: downloading k8s.io/client-go v0.18.8

get https://proxy.golang.org/k8s.io/client-go/@v/v0.18.8.zip

go: downloading sigs.k8s.io/yaml v1.2.0

get https://proxy.golang.org/sigs.k8s.io/yaml/@v/v1.2.0.zip

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7fbb1c2f86b6]

goroutine 50 [running]: x509.loadSystemRoots /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/x509/root_unix.go:81 x509.initSystemRoots /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/x509/root.go:23 sync.Once.doSlow /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/sync/once.go:66 sync.Once.Do /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/sync/once.go:57 x509.systemRootsPool /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/x509/root.go:18 crypto..z2fx509.Certificate.Verify /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/x509/verify.go:776 crypto..z2ftls.Conn.verifyServerCertificate /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/tls/handshake_client.go:846 crypto..z2ftls.clientHandshakeStateTLS13.readServerCertificate /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/tls/handshake_client_tls13.go:455 crypto..z2ftls.clientHandshakeStateTLS13.handshake /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/tls/handshake_client_tls13.go:85 crypto..z2ftls.Conn.clientHandshake /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/tls/handshake_client.go:209 crypto..z2ftls.Conn.Handshake /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/crypto/tls/conn.go:1362 http.func2 /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/net/http/transport.go:1509 created by net..z2fhttp.persistConn.addTLS /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/net/http/transport.go:1505 +0x290 make: *** [Makefile:60: build] Error 2

Here is my environment:

$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="/home/oceanfish81/operator-sdk/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build573184114=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

Here is what I am using:

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

Could be obtained here

CC @ianlancetaylor @cherrymui @thanm

created time in 6 days

fork advancedwebdeveloper/cmd

Handmade tools for day-to-day plumbing.

fork in 6 days

startedrjeczalik/cmd

started time in 6 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

OK, that means that there is no issue. Probably I would share the "release" build (as also as the "debug" build and other types), during the next two days. @ianlancetaylor , it would to have a summary of those not-yet-implemented features.

advancedwebdeveloper

comment created time in 6 days

issue commentrgonomic/rgo

Tests are failing, under Ubuntu 20.04.1 (gollvm)

Could pkgconfig be of help here? CC @rjeczalik, @chriskillpack

advancedwebdeveloper

comment created time in 6 days

issue commentjson-iterator/go

Getting rid of reflect2 dependency/package

@goccy, please explain your motivation (why did you decided to create an alternative reflection package; which issues where you facing, for the standard reflection package)

advancedwebdeveloper

comment created time in 6 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

* LLVM's version equals [11.0.0](https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0)

@lattner , could you elaborate regarding this?

advancedwebdeveloper

comment created time in 7 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

But what released then?

advancedwebdeveloper

comment created time in 7 days

issue commentgolangci/golangci-lint

plugin: package plugin is not in GOROOT (gollvm)

And I have upgrade to the version of gollvm, which corresponds to Go 1.15.3

advancedwebdeveloper

comment created time in 7 days

issue commentgolangci/golangci-lint

plugin: package plugin is not in GOROOT (gollvm)

It didn't help.

advancedwebdeveloper

comment created time in 7 days

issue closedgolang/go

gollvm: libffi and GNU as bugs

While building gollvm, using the latest version of Clang and libc++, I got such a problem:

428/1925] Building CXX object tools/gollvm/passes/CMakeFiles/LLVMCppGoPasses.dir/GoStatepoints.cpp.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp:2160:11: warning: 'insertEdge' is deprecated: Use applyUpdates() instead. [-Wdeprecated-declarations] DTU.insertEdge(Old, PadBB); ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/Analysis/DomTreeUpdater.h:159:3: note: 'insertEdge' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(void insertEdge(BasicBlock From, BasicBlock To), ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/Support/Compiler.h:319:23: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' decl attribute((deprecated(message))) ^ 1 warning generated. [438/1925] Building CXX object tools/gollvm/passes/CMakeFiles/LLVMCppGoPasses.dir/Util.cpp.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/passes/Util.cpp:74:34: warning: 'getNumElements' is deprecated: Calling this function via a base VectorType is deprecated. Either call getElementCount() and handle the case where Scalable is true or cast to FixedVectorType. [-Wdeprecated-declarations] for (unsigned i = 0, n = VT->getNumElements(); i < n; ++i) { ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:426:3: note: 'getNumElements' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED( ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/Support/Compiler.h:319:23: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' decl attribute((deprecated(message))) ^ 1 warning generated. [442/1925] Building C object tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/ffiw64.c.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:79:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case FFI_TYPE_STRUCT: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:79:5: note: insert 'attribute((fallthrough));' to silence this warning case FFI_TYPE_STRUCT: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:79:5: note: insert 'break;' to avoid fall-through case FFI_TYPE_STRUCT: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:243:18: warning: assigning to 'void *' from 'void (void)' converts between void pointer and function pointer [-Wpedantic] closure->tramp = ffi_go_closure_win64; ^ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. [444/1925] Building C object tools/gollvm/libgo/CMakeFiles/libbacktrace_piclib.dir/libbacktrace/elf.c.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2085:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 5: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2085:4: note: insert 'attribute((fallthrough));' to silence this warning case 5: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2085:4: note: insert 'break;' to avoid fall-through case 5: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2088:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 4: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2088:4: note: insert 'attribute((fallthrough));' to silence this warning case 4: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2088:4: note: insert 'break;' to avoid fall-through case 4: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2119:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 9: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2119:4: note: insert 'attribute((fallthrough));' to silence this warning case 9: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2119:4: note: insert 'break;' to avoid fall-through case 9: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2122:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 8: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2122:4: note: insert 'attribute((fallthrough));' to silence this warning case 8: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2122:4: note: insert 'break;' to avoid fall-through case 8: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2125:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 7: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2125:4: note: insert 'attribute((fallthrough));' to silence this warning case 7: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2125:4: note: insert 'break;' to avoid fall-through case 7: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2128:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 6: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2128:4: note: insert 'attribute((fallthrough));' to silence this warning case 6: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2128:4: note: insert 'break;' to avoid fall-through case 6: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2131:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 5: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2131:4: note: insert 'attribute((fallthrough));' to silence this warning case 5: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2131:4: note: insert 'break;' to avoid fall-through case 5: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2134:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 4: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2134:4: note: insert 'attribute((fallthrough));' to silence this warning case 4: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2134:4: note: insert 'break;' to avoid fall-through case 4: ^ break; 8 warnings generated. [445/1925] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/java_raw_api.c.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/java_raw_api.c:328:46: warning: 'ffi_java_raw_size' is deprecated [-Wdeprecated-declarations] ffi_java_raw raw = (ffi_java_raw)alloca (ffi_java_raw_size (cif)); ^ tools/gollvm/libgo/ffi.h:299:56: note: 'ffi_java_raw_size' has been explicitly marked deprecated here size_t ffi_java_raw_size (ffi_cif cif) attribute((deprecated)); ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/java_raw_api.c:331:3: warning: 'ffi_java_ptrarray_to_raw' is deprecated [-Wdeprecated-declarations] ffi_java_ptrarray_to_raw (cif, avalue, raw); ^ tools/gollvm/libgo/ffi.h:295:93: note: 'ffi_java_ptrarray_to_raw' has been explicitly marked deprecated here void ffi_java_ptrarray_to_raw (ffi_cif cif, void args, ffi_java_raw raw) attribute((deprecated)); ^ 2 warnings generated. [446/1925] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/ffiw64.c.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:79:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case FFI_TYPE_STRUCT: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:79:5: note: insert 'attribute((fallthrough));' to silence this warning case FFI_TYPE_STRUCT: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:79:5: note: insert 'break;' to avoid fall-through case FFI_TYPE_STRUCT: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffiw64.c:243:18: warning: assigning to 'void *' from 'void (void)' converts between void pointer and function pointer [-Wpedantic] closure->tramp = ffi_go_closure_win64; ^ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. [448/1925] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/closures.c.o In file included from /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/closures.c:530: /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2937:33: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] used = fp - (m->topsize + TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void)((char)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2937:33: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] used = fp - (m->topsize + TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void
)((char
)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3294:39: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void
)((char
)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3294:39: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void
)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3388:41: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3388:41: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3466:40: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3466:40: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3480:51: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3480:51: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3492:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize < nb + TOP_FOOT_SIZE + SIZE_T_ONE) { ^
/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3492:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize < nb + TOP_FOOT_SIZE + SIZE_T_ONE) { ^
~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3493:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t esize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE - asize); ~^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3493:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t esize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE - asize); ~^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3517:23: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t req = nb + TOP_FOOT_SIZE + SIZE_T_ONE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3517:23: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t req = nb + TOP_FOOT_SIZE + SIZE_T_ONE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3530:43: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3530:43: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3540:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (ssize > nb + TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3540:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (ssize > nb + TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3560:47: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3560:47: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3564:64: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3564:64: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3632:59: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (!cinuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3632:59: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (!cinuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3663:12: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] pad += TOP_FOOT_SIZE; /* ensure enough room for segment overhead */ ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3663:12: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] pad += TOP_FOOT_SIZE; /* ensure enough room for segment overhead */ ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/closures.c:754:29: warning: comparison of integers of different signs: 'off_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] off_t to_write = (len < page_size) ? len : page_size; ~~~ ^ ~~~~~~~~~ 29 warnings generated. [449/1925] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o FAILED: tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o /usr/bin/clang -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/libgo -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo -Iinclude -I/home/oceanfish81/workarea/llvm-project/llvm/include -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/include -x c -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -g -fPIC -g -fsplit-stack -MD -MT tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -MF tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o.d -o tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -c /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:36:2: error: expected identifier or '(' .text ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:120:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %cl ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:208:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:214:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:238:1: error: expected identifier or '(' ENDF(C(ffi_call_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:257:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:272:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:281:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:308:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] addq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:313:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %al ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:402:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:411:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:426:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:435:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:458:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

9 warnings and 6 errors generated. [451/1925] Performing configure step for 'libgmp' FAILED: tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure cd /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/gmp-build && /usr/bin/cmake -P /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-Debug.cmake && /usr/bin/cmake -E touch /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure CMake Error at /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-Debug.cmake:49 (message): Command failed: 1

'/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/gmp/configure' '--prefix=/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/install' 'CFLAGS=-I/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/install/include -fPIC -DPIC' 'LDFLAGS=-L/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/install/lib' 'CC=/usr/bin/clang' 'CXX=/usr/bin/clang++'

See also

/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-*.log

[452/1925] Linking CXX shared library lib/libLTO.so.12git FAILED: lib/libLTO.so.12git : && /usr/bin/clang++ -fPIC -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -fdiagnostics-color -g -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/oceanfish81/workarea/gollvm_release_build/./lib -Wl,--version-script,"/home/oceanfish81/workarea/gollvm_release_build/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.12git -o lib/libLTO.so.12git tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"$ORIGIN/../lib" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMCFGuard.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMHelloNew.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMLinker.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMFrontendOpenMP.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMTextAPI.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMBinaryFormat.a lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a && : clang-11: error: unable to execute command: Killed clang-11: error: linker command failed due to signal (use -v to see invocation) ninja: build stopped: subcommand failed. oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 1 [1/1476] Linking CXX shared library lib/libLTO.so.12git FAILED: lib/libLTO.so.12git : && /usr/bin/clang++ -fPIC -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -fdiagnostics-color -g -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/oceanfish81/workarea/gollvm_release_build/./lib -Wl,--version-script,"/home/oceanfish81/workarea/gollvm_release_build/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.12git -o lib/libLTO.so.12git tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"$ORIGIN/../lib" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMCFGuard.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMHelloNew.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMLinker.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMFrontendOpenMP.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMTextAPI.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMBinaryFormat.a lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a && : clang-11: error: unable to execute command: Killed clang-11: error: linker command failed due to signal (use -v to see invocation) ninja: build stopped: subcommand failed. oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 1 [1/1476] Linking CXX shared library lib/libLTO.so.12git FAILED: lib/libLTO.so.12git : && /usr/bin/clang++ -fPIC -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -fdiagnostics-color -g -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/oceanfish81/workarea/gollvm_release_build/./lib -Wl,--version-script,"/home/oceanfish81/workarea/gollvm_release_build/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.12git -o lib/libLTO.so.12git tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"$ORIGIN/../lib" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMCFGuard.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMHelloNew.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMLinker.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMFrontendOpenMP.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMTextAPI.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMBinaryFormat.a lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a && : clang-11: error: unable to execute command: Killed clang-11: error: linker command failed due to signal (use -v to see invocation) ninja: build stopped: subcommand failed. oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ /usr/bin/clang++ -fPIC -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -fdiagnostics-color -g -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/oceanfish81/workarea/gollvm_release_build/./lib -Wl,--version-script,"/home/oceanfish81/workarea/gollvm_release_build/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.12git -o lib/libLTO.so.12git tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"$ORIGIN/../lib" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMCFGuard.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMHelloNew.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMLinker.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMFrontendOpenMP.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMTextAPI.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMBinaryFormat.a lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a ^C oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ /usr/bin/clang++ -fuse-ld=lld -fPIC -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -fdiagnostics-color -g -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/oceanfish81/workarea/gollvm_release_build/./lib -Wl,--version-script,"/home/oceanfish81/workarea/gollvm_release_build/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.12git -o lib/libLTO.so.12git tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"$ORIGIN/../lib" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMAsmPrinter.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMCFGuard.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMHelloNew.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMLinker.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMFrontendOpenMP.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMTextAPI.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMBinaryFormat.a lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 1 [0/1476] Linking CXX shared library lib/libLTO.so.12git^C ninja: build stopped: interrupted by user. Traceback (most recent call last): File "/usr/local/bin/ninja", line 8, in <module> sys.exit(ninja()) File "/usr/local/lib/python3.8/dist-packages/ninja/init.py", line 50, in ninja raise SystemExit(_program('ninja', sys.argv[1:])) File "/usr/local/lib/python3.8/dist-packages/ninja/init.py", line 46, in _program return subprocess.call([os.path.join(BIN_DIR, name)] + args) File "/usr/lib/python3.8/subprocess.py", line 342, in call return p.wait(timeout=timeout) File "/usr/lib/python3.8/subprocess.py", line 1079, in wait return self._wait(timeout=timeout) File "/usr/lib/python3.8/subprocess.py", line 1804, in _wait (pid, sts) = self._try_wait(0) File "/usr/lib/python3.8/subprocess.py", line 1762, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) KeyboardInterrupt

oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ gedit build.ninja & [1] 7063 oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 1 [2/1476] Performing configure step for 'libgmp'^CTraceback (most recent call last): File "/usr/local/bin/ninja", line 8, in <module> sys.exit(ninja()) File "/usr/local/lib/python3.8/dist-packages/ninja/init.py", line 50, in ninja raise SystemExit(_program('ninja', sys.argv[1:])) File "/usr/local/lib/python3.8/dist-packages/ninja/init.py", line 46, in _program return subprocess.call([os.path.join(BIN_DIR, name)] + args) File "/usr/lib/python3.8/subprocess.py", line 342, in call return p.wait(timeout=timeout) File "/usr/lib/python3.8/subprocess.py", line 1079, in wait return self._wait(timeout=timeout) File "/usr/lib/python3.8/subprocess.py", line 1804, in _wait (pid, sts) = self._try_wait(0) File "/usr/lib/python3.8/subprocess.py", line 1762, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) KeyboardInterrupt

[1]+ Done gedit build.ninja oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 4 [5/1474] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o FAILED: tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o /usr/bin/clang -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/libgo -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo -Iinclude -I/home/oceanfish81/workarea/llvm-project/llvm/include -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/include -x c -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -g -fPIC -g -fsplit-stack -MD -MT tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -MF tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o.d -o tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -c /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:36:2: error: expected identifier or '(' .text ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:120:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %cl ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:208:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:214:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:238:1: error: expected identifier or '(' ENDF(C(ffi_call_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:257:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:272:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:281:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:308:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] addq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:313:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %al ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:402:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:411:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:426:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:435:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:458:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

9 warnings and 6 errors generated. [6/1474] Building C object tools/gollvm/libgo/CMakeFiles/libbacktrace_nonpiclib.dir/libbacktrace/elf.c.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2085:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 5: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2085:4: note: insert 'attribute((fallthrough));' to silence this warning case 5: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2085:4: note: insert 'break;' to avoid fall-through case 5: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2088:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 4: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2088:4: note: insert 'attribute((fallthrough));' to silence this warning case 4: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2088:4: note: insert 'break;' to avoid fall-through case 4: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2119:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 9: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2119:4: note: insert 'attribute((fallthrough));' to silence this warning case 9: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2119:4: note: insert 'break;' to avoid fall-through case 9: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2122:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 8: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2122:4: note: insert 'attribute((fallthrough));' to silence this warning case 8: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2122:4: note: insert 'break;' to avoid fall-through case 8: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2125:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 7: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2125:4: note: insert 'attribute((fallthrough));' to silence this warning case 7: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2125:4: note: insert 'break;' to avoid fall-through case 7: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2128:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 6: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2128:4: note: insert 'attribute((fallthrough));' to silence this warning case 6: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2128:4: note: insert 'break;' to avoid fall-through case 6: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2131:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 5: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2131:4: note: insert 'attribute((fallthrough));' to silence this warning case 5: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2131:4: note: insert 'break;' to avoid fall-through case 5: ^ break; /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2134:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 4: ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2134:4: note: insert 'attribute((fallthrough));' to silence this warning case 4: ^ attribute((fallthrough)); /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libbacktrace/elf.c:2134:4: note: insert 'break;' to avoid fall-through case 4: ^ break; 8 warnings generated. [8/1474] Performing configure step for 'libgmp' FAILED: tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure cd /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/gmp-build && /usr/bin/cmake -P /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-Debug.cmake && /usr/bin/cmake -E touch /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure CMake Error at /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-Debug.cmake:49 (message): Command failed: 1

'/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/gmp/configure' '--prefix=/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/install' 'CFLAGS=-I/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/install/include -fPIC -DPIC' 'LDFLAGS=-L/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/install/lib' 'CC=/usr/bin/clang' 'CXX=/usr/bin/clang++'

See also

/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-*.log

ninja: build stopped: subcommand failed. oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ sudo apt install m4 [sudo] password for oceanfish81: Reading package lists... Done Building dependency tree
Reading state information... Done The following additional packages will be installed: libsigsegv2 Suggested packages: m4-doc The following NEW packages will be installed: libsigsegv2 m4 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 213 kB of archives. After this operation, 402 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13,9 kB] Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB] Fetched 213 kB in 1s (392 kB/s) Selecting previously unselected package libsigsegv2:amd64. (Reading database ... 165407 files and directories currently installed.) Preparing to unpack .../libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.18-4_amd64.deb ... Unpacking m4 (1.4.18-4) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up m4 (1.4.18-4) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for libc-bin (2.31-0ubuntu9.1) ... Processing triggers for man-db (2.9.1-1) ... oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 4 [1/1468] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o FAILED: tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o /usr/bin/clang -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/libgo -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo -Iinclude -I/home/oceanfish81/workarea/llvm-project/llvm/include -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/include -x c -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -g -fPIC -g -fsplit-stack -MD -MT tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -MF tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o.d -o tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -c /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:36:2: error: expected identifier or '(' .text ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:120:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %cl ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:208:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:214:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:238:1: error: expected identifier or '(' ENDF(C(ffi_call_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:257:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:272:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:281:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:308:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] addq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:313:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %al ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:402:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:411:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:426:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:435:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:458:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

9 warnings and 6 errors generated. [4/1468] Performing configure step for 'libgmp' -- libgmp configure command succeeded. See also /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-*.log ninja: build stopped: subcommand failed. oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja clean [1/1] Cleaning all built files... Cleaning... 1666 files. oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 4 [32/3091] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o^C ninja: build stopped: interrupted by user. Traceback (most recent call last): File "/usr/local/bin/ninja", line 8, in <module> sys.exit(ninja()) File "/usr/local/lib/python3.8/dist-packages/ninja/init.py", line 50, in ninja raise SystemExit(_program('ninja', sys.argv[1:])) File "/usr/local/lib/python3.8/dist-packages/ninja/init.py", line 46, in _program return subprocess.call([os.path.join(BIN_DIR, name)] + args) File "/usr/lib/python3.8/subprocess.py", line 342, in call return p.wait(timeout=timeout) File "/usr/lib/python3.8/subprocess.py", line 1079, in wait return self._wait(timeout=timeout) File "/usr/lib/python3.8/subprocess.py", line 1804, in _wait (pid, sts) = self._try_wait(0) File "/usr/lib/python3.8/subprocess.py", line 1762, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) KeyboardInterrupt

oceanfish81@oceanfish81-VirtualBox:~/workarea/gollvm_release_build$ ninja -j 8 [1448/3059] Performing download step (download, verify and extract) for 'libgmp' -- verifying file... file='/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external-downloads/gmp-6.1.0.tar.bz2' -- File already exists and hash match (skip download): file='/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external-downloads/gmp-6.1.0.tar.bz2' MD5='86ee6e54ebfc4a90b643a65e402c4048' -- extracting... src='/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external-downloads/gmp-6.1.0.tar.bz2' dst='/home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/external/gmp' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [1458/3059] Building CXX object tools/gollvm/passes/CMakeFiles/LLVMCppGoPasses.dir/GoStatepoints.cpp.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/passes/GoStatepoints.cpp:2160:11: warning: 'insertEdge' is deprecated: Use applyUpdates() instead. [-Wdeprecated-declarations] DTU.insertEdge(Old, PadBB); ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/Analysis/DomTreeUpdater.h:159:3: note: 'insertEdge' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED(void insertEdge(BasicBlock From, BasicBlock To), ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/Support/Compiler.h:319:23: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' decl attribute((deprecated(message))) ^ 1 warning generated. [1543/3059] Performing configure step for 'libgmp' -- libgmp configure command succeeded. See also /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-configure-.log [1567/3059] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/closures.c.o In file included from /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/closures.c:530: /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2937:33: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] used = fp - (m->topsize + TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2937:33: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] used = fp - (m->topsize + TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3294:39: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3294:39: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3388:41: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3388:41: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3466:40: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3466:40: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3480:51: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3480:51: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3492:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize < nb + TOP_FOOT_SIZE + SIZE_T_ONE) { ^
/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3492:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] asize < nb + TOP_FOOT_SIZE + SIZE_T_ONE) { ^
~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3493:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t esize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE - asize); ~^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3493:49: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t esize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE - asize); ~^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3517:23: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t req = nb + TOP_FOOT_SIZE + SIZE_T_ONE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3517:23: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t req = nb + TOP_FOOT_SIZE + SIZE_T_ONE; ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3530:43: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3530:43: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] size_t asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); ~^~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2148:6: note: expanded from macro 'granularity_align' (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3540:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (ssize > nb + TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3540:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (ssize > nb + TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3560:47: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3560:47: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3564:64: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3564:64: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3632:59: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (!cinuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3632:59: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] if (!cinuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) { ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3663:12: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] pad += TOP_FOOT_SIZE; /* ensure enough room for segment overhead */ ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1280:14: note: expanded from macro 'align_offset' ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :
^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:3663:12: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] pad += TOP_FOOT_SIZE; /* ensure enough room for segment overhead */ ^~~~~~~~~~~~~ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:2193:17: note: expanded from macro 'TOP_FOOT_SIZE' (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE) ~^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1693:55: note: expanded from macro 'chunk2mem' #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/dlmalloc.c:1281:34: note: expanded from macro 'align_offset' ((MALLOC_ALIGNMENT - ((size_t)(A) & CHUNK_ALIGN_MASK)) & CHUNK_ALIGN_MASK)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/closures.c:754:29: warning: comparison of integers of different signs: 'off_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] off_t to_write = (len < page_size) ? len : page_size; ~~~ ^ ~~~~~~~~~ 29 warnings generated. [1572/3059] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o FAILED: tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o /usr/bin/clang -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/libgo -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo -Iinclude -I/home/oceanfish81/workarea/llvm-project/llvm/include -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/include -x c -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -g -fPIC -g -fsplit-stack -MD -MT tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -MF tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o.d -o tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/unix64.S.o -c /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:36:2: error: expected identifier or '(' .text ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:120:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %cl ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:208:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:214:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:238:1: error: expected identifier or '(' ENDF(C(ffi_call_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:257:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:272:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:281:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:308:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] addq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:313:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %al ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:402:1: error: expected identifier or '(' ENDF(C(ffi_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:411:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:426:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64_sse)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:435:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:458:1: error: expected identifier or '(' ENDF(C(ffi_go_closure_unix64)) ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h:25:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

9 warnings and 6 errors generated. [1575/3059] Building CXX object tools/gollvm/passes/CMakeFiles/LLVMCppGoPasses.dir/Util.cpp.o /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/passes/Util.cpp:74:34: warning: 'getNumElements' is deprecated: Calling this function via a base VectorType is deprecated. Either call getElementCount() and handle the case where Scalable is true or cast to FixedVectorType. [-Wdeprecated-declarations] for (unsigned i = 0, n = VT->getNumElements(); i < n; ++i) { ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:426:3: note: 'getNumElements' has been explicitly marked deprecated here LLVM_ATTRIBUTE_DEPRECATED( ^ /home/oceanfish81/workarea/llvm-project/llvm/include/llvm/Support/Compiler.h:319:23: note: expanded from macro 'LLVM_ATTRIBUTE_DEPRECATED' decl attribute((deprecated(message))) ^ 1 warning generated. [1579/3059] Performing build step for 'libgmp' -- libgmp build command succeeded. See also /home/oceanfish81/workarea/gollvm_release_build/tools/gollvm/libgmp-prefix/src/libgmp-stamp/libgmp-build-*.log ninja: build stopped: subcommand failed.

closed time in 7 days

advancedwebdeveloper

issue commentgolang/go

gollvm: libffi and GNU as bugs

I have compiled gollvm - so this issue could be closed.

But I have another issue, now: Despite

$ git -C gofrontend log --oneline -1 28f3df46 (HEAD -> master, origin/master, origin/HEAD) net/http/cgi: merge upstream changes to default env vars and the fact that Golang 1.15.3 was released - I am getting

$ ./go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64 . @ianlancetaylor , it looks like it is untrue cause of two reasons:

  • that's an up-to-date version the front-end (the last commit took place on Fri Oct 23 23:55:09 2020 - and it's Sun Oct 24 20:29:05 2020 now);

  • LLVM's version equals 11.0.0

advancedwebdeveloper

comment created time in 7 days

issue openedgoproxyio/goproxy

Providing long-term support for gollvm

Hi. Your project successfully compiles with gollvm (Go 1.15.2 - I am currently working on re-building the bleeding edge version of gollvm, to target Go 1.15.3) .

You could update your README and mark the project as the one which could be built with gollvm.

created time in 7 days

issue commentjson-iterator/go

Getting rid of reflect2 dependency/package

@ianlancetaylor , I am curious about your opinion on mentioned reflection libraries

advancedwebdeveloper

comment created time in 7 days

issue openedThomasRooney/gexpect

Can't compile with gollvm. Redefinition of 'main' , in ping.go

Hi.

$ go build -i -v -x WORK=/tmp/go-build260147053 /home/oceanfish81/gexpect/examples mkdir -p $WORK/b001/ cd $WORK /home/oceanfish81/gollvm_dist/bin/llvm-goc -fgo-importcfg=/dev/null -c -x c - -o /dev/null || true mkdir -p $WORK/b001/importcfgroot/github.com/ThomasRooney ln -s /home/oceanfish81/go/pkg/gccgo_linux_amd64/github.com/ThomasRooney/libgexpect.a $WORK/b001/importcfgroot/github.com/ThomasRooney/libgexpect.a cd /home/oceanfish81/gexpect/examples /home/oceanfish81/gollvm_dist/bin/llvm-goc -c -O2 -g -m64 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fgo-relative-import-path=/home/oceanfish81/gexpect/examples -o $WORK/b001/go.o -I $WORK/b001/importcfgroot ./ftp.go ./ping.go ./python.go ./screen.go

_/home/oceanfish81/gexpect/examples

./ping.go:6:1: error: redefinition of 'main' ./ftp.go:6:1: note: previous definition of 'main' was here ./python.go:6:1: error: redefinition of 'main' ./ftp.go:6:1: note: previous definition of 'main' was here ./screen.go:7:1: error: redefinition of 'main' ./ftp.go:6:1: note: previous definition of 'main' was here

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build393449434=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

created time in 7 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

@thanm, and what is the problem with upgrading ../llvm-project/llvm/tools/CMakeLists.txt ? So it would target the latest versions of gmp, mpfr and mpc libraries? That issue with MD5 becomes really annoying - my build crashes, cause of this. I had to replace those hashes by hand.

advancedwebdeveloper

comment created time in 7 days

issue commentrgonomic/rgo

Tests are failing, under Ubuntu 20.04.1 (gollvm)

Thanks. I would still expect it to work. But perhaps here is some bug with #cgo pkg-config and GoLLVM.

And how do you propose to track that down? Any specific logs, which I should collect?

advancedwebdeveloper

comment created time in 7 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

OK, I in inspected the cmake error log -- nothing there. That suggests that the bad behavior is being injected by cmake itself.

On that theory I found this commit:

Kitware/CMake@644d3b8

which looks very suspicious. What version of cmake are you runnning? Is it 3.18 or beyond by any chance?

I will try building a tip version of cmake to see if I can reproduce.

$ cmake --version cmake version 3.19.0-rc1

advancedwebdeveloper

comment created time in 7 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

What should be the next step?

advancedwebdeveloper

comment created time in 8 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

My log Compressed build folder

Log is too big for any gist or download threw Github's UI.

advancedwebdeveloper

comment created time in 8 days

created repositoryadvancedwebdeveloper/cmake_trace_expand

Tracing CMake and doing other stuff, to resolve https://github.com/golang/go/issues/42049

created time in 8 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

This corresponds to what I got with

$ cmake -DCMAKE_ASM_COMPILER=clang -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/gollvm_dist -G Ninja ../llvm-project/llvm

advancedwebdeveloper

comment created time in 8 days

issue openedgolangci/golangci-lint

plugin: package plugin is not in GOROOT (gollvm)

Hi. I am using Ubuntu 20.04.1 x86_64.

  • [ ] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • [ ] Yes, I've searched similar issues on GitHub and didn't find any.
  • [ X ] Yes, I've included all information below (version, config, etc).

Please include the following information:

<details><summary> v1.31.0</summary>

</details>

<details><summary>Absent</summary>

</details>

<details><summary>I am using gollvm</summary>

$ go version && go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/oceanfish81/.cache/go-build"
GOENV="/home/oceanfish81/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/oceanfish81/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/oceanfish81/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/oceanfish81/gollvm_dist"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools"
GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc"
AR="ar"
CC="/usr/bin/clang"
CXX="/usr/bin/clang++"
CGO_ENABLED="1"
GOMOD="/home/oceanfish81/go/src/github.com/golangci/golangci-lint/tools/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build950917684=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

</details>

<details><summary>Verbose output of running</summary>

~/go/src/github.com/golangci/golangci-lint/tools$ go mod vendor
go: downloading github.com/golangci/golangci-lint v1.23.7
go: downloading github.com/goreleaser/goreleaser v0.136.0
go: downloading github.com/goreleaser/godownloader v0.1.0
go: downloading github.com/client9/codegen v0.0.0-20180316044450-92480ce66a06
go: downloading github.com/apex/log v1.1.4
go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d
go: downloading github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
go: downloading github.com/mattn/go-colorable v0.1.4
go: downloading github.com/mattn/go-isatty v0.0.11
go: downloading golang.org/x/sys v0.0.0-20191026070338-33540a1f6037
go: downloading github.com/mattn/go-zglob v0.0.1
go: downloading golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: downloading gocloud.dev v0.19.0
go: downloading github.com/client9/misspell v0.3.4
go: downloading github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e
go: downloading github.com/goreleaser/nfpm v1.2.1
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/mattn/go-shellwords v1.0.10
go: downloading github.com/google/rpmpack v0.0.0-20191226140753-aa36bfddb3a0
go: downloading github.com/caarlos0/ctrlc v1.0.0
go: downloading github.com/xanzy/go-gitlab v0.31.0
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading golang.org/x/time v0.0.0-20191024005414-555d28b269f0
go: downloading github.com/google/go-github/v28 v28.1.1
go: downloading code.gitea.io/sdk/gitea v0.12.0
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/Masterminds/semver/v3 v3.1.0
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/hashicorp/go-retryablehttp v0.6.4
go: downloading github.com/spf13/viper v1.6.1
go: downloading github.com/go-lintpack/lintpack v0.5.2
go: downloading golang.org/x/tools v0.0.0-20200204192400-7124308813f3
go: downloading github.com/aws/aws-sdk-go v1.25.11
go: downloading cloud.google.com/go v0.44.3
go: downloading google.golang.org/api v0.9.0
go: downloading github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
go: downloading github.com/go-critic/go-critic v0.4.1
go: downloading github.com/gofrs/flock v0.0.0-20190320160742-5135e617513b
go: downloading go.opencensus.io v0.22.2
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/Azure/azure-storage-blob-go v0.8.0
go: downloading github.com/Azure/azure-sdk-for-go v30.1.0+incompatible
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/Azure/go-autorest v12.0.0+incompatible
go: downloading google.golang.org/grpc v1.21.1
go: downloading github.com/go-toolsmith/typep v1.0.0
go: downloading github.com/golang/protobuf v1.3.2
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/google/wire v0.3.0
go: downloading github.com/Azure/azure-pipeline-go v0.2.1
go: downloading github.com/stretchr/testify v1.5.1
go: downloading golang.org/x/net v0.0.0-20190923162816-aa69164e4478
go: downloading google.golang.org/appengine v1.6.5
go: downloading github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e
go: downloading github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149
go: downloading google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64
go: downloading contrib.go.opencensus.io/exporter/ocagent v0.5.0
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading github.com/dimchansky/utfbom v1.1.0
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading github.com/census-instrumentation/opencensus-proto v0.2.0
go: downloading golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898
go: downloading honnef.co/go/tools v0.0.1-2019.2.3
go: downloading github.com/ultraware/funlen v0.0.2
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.1
go: downloading github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
go: downloading github.com/stretchr/objx v0.2.0
go: downloading github.com/tommy-muehle/go-mnd v1.1.1
go: downloading github.com/bombsimon/wsl/v2 v2.0.0
go: downloading github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6
go: downloading github.com/sourcegraph/go-diff v0.5.1
go: downloading github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.9.2
go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: downloading sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: downloading github.com/securego/gosec v0.0.0-20200103095621-79fbf3af8d83
github.com/golangci/golangci-lint/tools imports
	github.com/goreleaser/goreleaser imports
	github.com/golangci/golangci-lint/cmd/golangci-lint imports
	github.com/golangci/golangci-lint/pkg/commands imports
	github.com/golangci/golangci-lint/pkg/lint/lintersdb imports
	plugin: package plugin is not in GOROOT (/home/oceanfish81/gollvm_dist/src/plugin)

</details>

created time in 8 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

Here is my compressed build folder

advancedwebdeveloper

comment created time in 8 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

@thanm , it didn't work.

$ make -j 4 gollvm [ 0%] Built target GoDumpSpecMacroParser [ 0%] Built target LLVMDemangle [ 0%] Built target llvm_vcsrevision_h [ 0%] Built target obj.llvm-tblgen [ 0%] Built target libgmp [ 0%] Built target GoDumpSpecMacroTokenizer [ 0%] Building C object tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/sysv.S.o [ 0%] Built target libbacktrace_piclib [ 0%] Built target libbacktrace_nonpiclib [ 0%] Building C object tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/sysv.S.o Scanning dependencies of target LLVMSupport Scanning dependencies of target libmpfr [ 0%] Creating directories for 'libmpfr' /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:1137:2: error: expected identifier or '(' .section .note.GNU-stack,"",@progbits ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:1137:2: error: 1 error generated. expected identifier or '(' .section .note.GNU-stack,"",@progbits ^ 1 error generated. make[3]: *** [tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/build.make:186: tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/sysv.S.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:31338: tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/build.make:186: tools/gollvm/libgo/CMakeFiles/libffi_piclib.dir/libffi/src/x86/sysv.S.o] Error 1 make[3]: *** Waiting for unfinished jobs....

for

$ cmake -DCMAKE_ASM_COMPILER=clang -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/gollvm_dist ../llvm-project/llvm

advancedwebdeveloper

comment created time in 8 days

issue openedactions/virtual-environments

Update/Add Clang-11, lld and libc++

  • Tool name: Clang-11
  • Tool license: Apache License v2.0
  • Add or update? Update
  • Desired version: 11.0
  • Approximate size: 400 MB
  • If this is an add request:

$clang --version $clang++ --version $lld version $ld -lc++

Area for Triage: C/C++

Question, Bug, or Feature?: Feature

Virtual environments affected

  • [X] macOS 10.15
  • [X] Ubuntu 16.04 LTS
  • [X] Ubuntu 18.04 LTS
  • [X] Ubuntu 20.04 LTS
  • [X] Windows Server 2016 R2
  • [X] Windows Server 2019

Can this tool be installed during the build? I tested

$sudo cp -R * /usr/ on Linux - I downloaded this file and extracted in a custom directory, before that. I tried https://apt.llvm.org/ , as a 3rd party .deb package repo - but installed libc++ package had some loader issues

Tool installation time in runtime Not more then 30 sec.

Are you willing to submit a PR? Maybe.

CC @zmodem CC @shadyysf @alepauly

created time in 8 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

I have pulled the source tarballs of all four dependencies - and configured/built/installed those, in external/separate folders. You can check the proof (compressed build folders here) .

It still does not explain how to avoid locking Ninja's (or make's) targets - I can't compile/link the rest, cause of this (and I can't re-use pre-installed decencies - headers and libs are available from system folders). Patching CMake's config. files would be required.

As for your question: I didn't experiment with libc++, this time - so I tried such configurations:

-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/gollvm_dist -G Ninja ../llvm-project/llvm

-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/gollvm_dist -DLLVM_TARGETS_TO_BUILD=X86 -G Ninja ../llvm-project/llvm

Maybe -DLLVM_TARGETS_TO_BUILD=X86 triggers something - but it was just to limit against non-desired back-ends.

Let me know what else should I check.

advancedwebdeveloper

comment created time in 9 days

issue commentfacebookincubator/fbender

Adding gollvm to CI pipeline (sub-branch)

There is a problem: since that's another Golang's installation distribution - it would raise a conflict with a pre-installed Go. How could I configure a "clean" environment setup?

advancedwebdeveloper

comment created time in 9 days

pull request commentactions/virtual-environments

Add `gcc`, `gfortran` and `clang` on Windows and Ubuntu images

Is it possible to provide https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0 ? Clang 11, lld and libc++ of the latest stable version, I mean.

ivan-nosar

comment created time in 9 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

@thanm , here are my compressed llmv-project + build_release folders

advancedwebdeveloper

comment created time in 9 days

issue commentfacebookincubator/fbender

Adding gollvm to CI pipeline (sub-branch)

Threw a modification of https://github.com/facebookincubator/fbender/blob/master/.circleci/config.yml ?

advancedwebdeveloper

comment created time in 9 days

issue commentactions/virtual-environments

Add C++ support (GCC and Clang) on all platforms

I am curious if there any plans to support Clang 11.0 9 (and corresponding version of lld) ?

kcgen

comment created time in 9 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

Here you go:

$ /usr/bin/clang -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/libgo -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo -Iinclude -I/home/oceanfish81/workarea/llvm-project/llvm/include -I/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/include -x c -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -g -fPIC -g -fsplit-stack -c /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S -E | head -100 /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:120:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %cl ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:208:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:214:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] shrl $UNIX64_SIZE_SHIFT, %ecx ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:257:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:281:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:308:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] addq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:313:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] cmpb $UNIX64_RET_LAST, %al ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:411:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^ /home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S:435:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subq $ffi_closure_FS, %rsp ^

1 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S"

1 "<built-in>" 1

1 "<built-in>" 3

343 "<built-in>" 3

1 "<command line>" 1

1 "<built-in>" 2

1 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S" 2

31 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S"

1 "tools/gollvm/libgo/fficonfig.h" 1

32 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S" 2

1 "tools/gollvm/libgo/ffi.h" 1

58 "tools/gollvm/libgo/ffi.h"

1 "tools/gollvm/libgo/ffitarget.h" 1

59 "tools/gollvm/libgo/ffi.h" 2

33 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S" 2

1 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/internal64.h" 1

34 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S" 2

1 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/asmnames.h" 1

35 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S" 2

.text

59 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S"

.balign 8 .globl ffi_call_unix64 .hidden ffi_call_unix64

ffi_call_unix64: .LUW0:

movq (%rsp), %r10 leaq (%rdi, %rsi), %rax movq %rdx, (%rax) movq %rcx, 8(%rax) movq %rbp, 16(%rax) movq %r10, 24(%rax) movq %rax, %rbp

81 "/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/unix64.S"

.LUW1:

movq %rdi, %r10 movq %r8, %r11 movl %r9d, %eax

movq (%r10), %rdi movq 0x08(%r10), %rsi movq 0x10(%r10), %rdx movq 0x18(%r10), %rcx movq 0x20(%r10), %r8 movq 0x28(%r10), %r9 movl 0xb0(%r10), %eax testl %eax, %eax jnz .Lload_sse .Lret_from_load_sse:

leaq 0xb8(%r10), %rsp popq %r10

call *%r11

leaq 24(%rbp), %rsp

movq 0(%rbp), %rcx movq 8(%rbp), %rdi movq 16(%rbp), %rbp .LUW2:

cmpb $UNIX64_RET_LAST, %cl movzbl %cl, %r10d leaq .Lstore_table(%rip), %r11 ja .Lsa

leaq (%r11, %r10, 8), %r10

leaq -20(%rsp), %rsi jmp *%r10

.balign 8 .Lstore_table: .balign 8

ret .balign 8

movzbl %al, %eax movq %rax, (%rdi)

advancedwebdeveloper

comment created time in 9 days

create barnchadvancedwebdeveloper/test121

branch : advancedwebdeveloper-patch-1

created branch time in 9 days

delete branch advancedwebdeveloper/test121

delete branch : advancedwebdeveloper-patch-1

delete time in 9 days

create barnchadvancedwebdeveloper/test121

branch : advancedwebdeveloper-patch-3

created branch time in 9 days

push eventadvancedwebdeveloper/test121

Ivan

commit sha ed8544b44ef0879f9ea1d60be66ef3bb4f9cd669

Create superlinter.yml

view details

Ivan

commit sha 5fc66c65413a30f1a8ea18d98c066c2c67119974

Merge pull request #1 from advancedwebdeveloper/advancedwebdeveloper-patch-1 Create superlinter.yml

view details

push time in 9 days

PR opened advancedwebdeveloper/test121

asd

3g3g3g53

+165571 -0

0 comment

293 changed files

pr created time in 9 days

push eventadvancedwebdeveloper/test121

Ivan Serdyuk

commit sha 3696dec363877e094f701fbe2986f4d80ad87d65

nxv,mxcnmvnxcmv

view details

push time in 9 days

push eventadvancedwebdeveloper/test121

Ivan Serdyuk

commit sha 14270e45ce80bb61e8afed2f117150bca5081056

asdsad

view details

push time in 9 days

create barnchadvancedwebdeveloper/test121

branch : advancedwebdeveloper-patch-2

created branch time in 9 days

create barnchadvancedwebdeveloper/test121

branch : advancedwebdeveloper-patch-1

created branch time in 9 days

create barnchadvancedwebdeveloper/test121

branch : main

created branch time in 9 days

created repositoryadvancedwebdeveloper/test121

created time in 9 days

push eventadvancedwebdeveloper/github_actions_testdrive

Ivan

commit sha 6d410b296437ea23d79b4c1cbf114264442277ba

Create superlinter.yml

view details

push time in 9 days

create barnchadvancedwebdeveloper/github_actions_testdrive

branch : main

created branch time in 9 days

created repositoryadvancedwebdeveloper/github_actions_testdrive

created time in 9 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

Here is what I see:

~/workarea/llvm-project/llvm/tools/gollvm$ git log --oneline -1 33d28e1 (HEAD -> master, origin/master, origin/HEAD) gollvm: support debug compression options for integ assembler

~/workarea/llvm-project/llvm/tools/gollvm$ git -C libgo/libffi log --oneline -1 407394c (HEAD -> master, origin/master, origin/HEAD) docs: fix simple typo, paramters -> parameters (#589)

~/workarea/llvm-project/llvm/tools/gollvm$ git -C gofrontend log --oneline -1 b2be9455 (HEAD -> master, origin/master, origin/HEAD) libgo: adjust NetBSD-specific types for stable syscall API

advancedwebdeveloper

comment created time in 9 days

issue commentlibffi/libffi

Invalid preprocessing directive in sysv.s, with Clang 11 (gollvm's project dependecy)

CC @PrzemekWirkus @ganeshgit @dagrh @bernds @davem330 @jicama @jakubjelinek @hjl-tools @alexcoplan @amodra @krytarowski

advancedwebdeveloper

comment created time in 9 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

I would suggest updating your git clients and redoing the build from a clean slate. And why did you decide that I have an outdated Git client?

$ git version git version 2.25.1

advancedwebdeveloper

comment created time in 9 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

@advancedwebdeveloper randomly mentioning folks as you did above is not helpful, just generates noise and confusion.

As of 33d28e1b8583e3e0455d80bc5bec05476257c39c gollvm is no longer invoking the external assembler by default, so the version of "as" should not be relevant. I would suggest updating your git clients and redoing the build from a clean slate.

What exactly are you proposing? The question was about libffi, probably - it is not compiling. And it is about building gollvm's dependency - and it is surely about invoking GNU as.

advancedwebdeveloper

comment created time in 9 days

issue openedWorksOnArm/cluster

Building gollvm's releases, on Aarch64

Hi. There is a demand in building gollvm with "release", "debug" configurations. VM oriented builds, container images.

Suggesting both compilation on Aarch64 for Aarch64 and cross-compiling Aarch64->X86_64 (to diversify the usage).

There where some plans to adopt Clang, the linker (lld? gold is used, currently) for heterogenous (CPU + GPU) computing. Concurrency doesn't have any wage here - but parallelism surely does, for the CI pipeline workloads (watch compilation, linkage).

created time in 9 days

issue commentgolang/go

gollvm: libffi and GNU as bugs

CC @atgreen @rth7680 @joshtriplett @zwaldowski @landonf @tromey @amodra @angerman

advancedwebdeveloper

comment created time in 9 days

issue openedlibffi/libffi

Invalid preprocessing directive in sysv.s, with Clang 11 (gollvm's project dependecy)

System Details

Hi. I am working with Linux serverless 4.15.0-122-generic (16.04.1-Ubuntu ) i686 GNU/Linux My CPU is Intel(R) Celeron(R) M440

I am building gollvm (libffi is a dependency).

$ cmake --version cmake version 3.19.0-rc1 $ as --version GNU assembler (GNU Binutils for Ubuntu) 2.26.1 $ clang --version Ubuntu clang version 11.0.0-++20200721055954+cebd637c886-1~exp1~20200721161335.13 Target: i686-pc-linux-gnu Thread model: posix

Looks like the cloned repo, from the master branch, didn't lad to any config. step crashes. However I can't compile:

[113/1450] Building C object tools/gol...i_nonpiclib.dir/libffi/src/x86/ffi.c.o /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:236:30: warning: missing field 'regs' initializer [-Wmissing-field-initializers] [FFI_SYSV] = { 1, R_ECX, 0 }, ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:239:33: warning: missing field 'regs' initializer [-Wmissing-field-initializers] [FFI_STDCALL] = { 1, R_ECX, 0 }, ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:240:33: warning: missing field 'regs' initializer [-Wmissing-field-initializers] [FFI_PASCAL] = { -1, R_ECX, 0 }, ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:243:34: warning: missing field 'regs' initializer [-Wmissing-field-initializers] [FFI_MS_CDECL] = { 1, R_ECX, 0 } ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:319:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case X86_RET_STRUCTPOP: ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:319:5: note: insert 'attribute((fallthrough));' to silence this warning case X86_RET_STRUCTPOP: ^ attribute((fallthrough)); /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:319:5: note: insert 'break;' to avoid fall-through case X86_RET_STRUCTPOP: ^ break; /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:452:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case X86_RET_STRUCTPOP: ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:452:5: note: insert 'attribute((fallthrough));' to silence this warning case X86_RET_STRUCTPOP: ^ attribute((fallthrough)); /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:452:5: note: insert 'break;' to avoid fall-through case X86_RET_STRUCTPOP: ^ break; /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:607:18: warning: assigning to 'void ' from 'void ()(void)' converts between void pointer and function pointer [-Wpedantic] closure->tramp = dest; ^ ~~~~ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:729:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case X86_RET_STRUCTPOP: ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:729:5: note: insert 'attribute((fallthrough));' to silence this warning case X86_RET_STRUCTPOP: ^ attribute((fallthrough)); /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/ffi.c:729:5: note: insert 'break;' to avoid fall-through case X86_RET_STRUCTPOP: ^ break; 8 warnings generated. [114/1450] Building C object tools/gol..._nonpiclib.dir/libffi/src/x86/sysv.S.o FAILED: tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/sysv.S.o /usr/bin/clang -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/gollvm/libgo -I/home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo -Iinclude -I/home/oceanfish81/Desktop/workarea/llvm-project/llvm/include -I/home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/include -x c -fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-PIC -g -fsplit-stack -MD -MT tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/sysv.S.o -MF tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/sysv.S.o.d -o tools/gollvm/libgo/CMakeFiles/libffi_nonpiclib.dir/libffi/src/x86/sysv.S.o -c /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:76:2: error: expected identifier or '(' .text ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:94:4: error: invalid preprocessing directive # cfi_startproc ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:113:4: error: invalid preprocessing directive # cfi_def_cfa(%ebp, 8) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:114:4: error: invalid preprocessing directive # cfi_rel_offset(%ebp, 0) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:126:4: error: invalid preprocessing directive # cfi_rel_offset(%ebx, 8) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:128:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] andl $X86_RET_TYPE_MASK, %ecx ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:178:4: error: invalid preprocessing directive # cfi_remember_state ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:179:4: error: invalid preprocessing directive # cfi_def_cfa(%esp, 4) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:180:4: error: invalid preprocessing directive # cfi_restore(%ebx) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:181:4: error: invalid preprocessing directive # cfi_restore(%ebp) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:184:4: error: invalid preprocessing directive # cfi_restore_state ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:204:4: error: invalid preprocessing directive # cfi_endproc ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:205:1: error: expected identifier or '(' ENDF(ffi_call_i386) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:52:38: note: expanded from macro 'ENDF'

define ENDF(X) .type X,@function; .size X, . - X

                                 ^

/home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:257:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] andl $X86_RET_TYPE_MASK, %eax;
^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:299:4: error: invalid preprocessing directive # cfi_startproc ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:301:7: warning: '$' in identifier [-Wdollar-in-identifier-extension] subl $closure_FS, %esp ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:303:4: error: invalid preprocessing directive # cfi_def_cfa_offset(closure_FS + 4) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:304:2: error: unknown type name 'movl' FFI_CLOSURE_SAVE_REGS ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:230:2: note: expanded from macro 'FFI_CLOSURE_SAVE_REGS' movl %edx, closure_CF+16+R_EDX4(%esp);
^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:304:2: error: expected identifier or '(' /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:230:7: note: expanded from macro 'FFI_CLOSURE_SAVE_REGS' movl %edx, closure_CF+16+R_EDX
4(%esp);
^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:304:2: error: unknown type name 'movl' /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:231:2: note: expanded from macro 'FFI_CLOSURE_SAVE_REGS' movl %ecx, closure_CF+16+R_ECX4(%esp) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:304:2: error: expected identifier or '(' /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:231:7: note: expanded from macro 'FFI_CLOSURE_SAVE_REGS' movl %ecx, closure_CF+16+R_ECX4(%esp) ^ /home/oceanfish81/Desktop/workarea/llvm-project/llvm/tools/gollvm/libgo/libffi/src/x86/sysv.S:312:4: error: invalid preprocessing directive # cfi_endproc ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated.

created time in 9 days

issue openedrook/rook

Adding gollvm into CI

<!-- Are you in the right place? 1. For issues or feature requests, please create an issue in this repository.

Is this a bug report or feature request?

  • Feature Request

What should the feature do: it is related to an idea of supporting gollvm compiler ("llvm-goc"), for x86_64 and Aarch64.

What is use case behind this feature: All your available demos and proven use-cases from the community.

Environment: <!-- Specific environment information that helps with the feature request --> I have different vision against VM configurations and container configurations. Would be glad to explain that in a step-by-step manner.

created time in 10 days

issue openedfacebookincubator/fbender

Adding gollvm to CI pipeline (sub-branch)

Hi.

@earlgreyz advised to open a PR, out here - so I am doing that right now.

I could assist with gollvm compiler - it could compile (and pass the artifacts to the linker) in a VM, in a container.

So you can form a sub-branch, to test your project against this compiler.

created time in 10 days

issue commentdeislabs/krustlet

All tests are failing, on Windows 10

Can you create namespaces manually e.g. kubectl create ns wintest? Yes, I was able to do that. Here is my tracing log.

It sounds like you may have a more fundamental permissions issue that prevents the tests (running with your permissions) from accessing the cluster to create the test namespaces; quite possibly this also affects the kubelets (assuming you are running them interactively) from registering with the API server.

That could be true, eventually.

If you can create namespaces etc., can you confirm that you are using the same kubeconfig as the kubelets and tests? The justfile kubelet scripts override the default kubeconfig for bootstrapping, purposes, though this shouldn't affect the tests (and the bootstrap kubeconfig should have the same permissions as the default kubeconfig).

How would I do that. Btw my "home" folder has two folders: .kube and .minishift .

By the way, we haven't tested with minishift - I'm not sure whether, as an OpenShift implementation, it might by default place restrictions on users over and above a vanilla Kubernetes implementation? Check out Minishift's documentation.

Thanks for helping us work through this!

What should I check next?

advancedwebdeveloper

comment created time in 10 days

issue commentfacebookincubator/fbender

Package github.com/mdlayher/eui64: no Go files in $GOPATH/src/github.com/mdlayher/eui64

You didn't comment on a possibility of adding gollvm into your CI pipeline

advancedwebdeveloper

comment created time in 10 days

issue commentcybozu-go/sabakan

nilerr: internal error: nil Pkg importing "github.com/onsi/gomega/types" from "github.com/onsi/gomega/internal/assertion"

I am asking whether you see what is the problem around golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3

advancedwebdeveloper

comment created time in 10 days

pull request commentpinterest/bender

Fix thrift to match new functions signature

Same here - you can add https://go.googlesource.com/gollvm/ into your CI

earlgreyz

comment created time in 11 days

pull request commentpinterest/bender

Update dependency mdlayher/eui64 -> mdlayher/netx/eui64

Could you add another sub-branch, for your CI, to cover https://go.googlesource.com/gollvm/ ?

earlgreyz

comment created time in 11 days

issue commentdeislabs/krustlet

All tests are failing, on Windows 10

Can you check the node IP (as shown in kubectl get node -o wide) against the KRUSTLET_NODE_IP environment variable?

cc @thomastaylor312

@itowlson , no I cannot:

oc get node -o wide No resources found. Error from server (Forbidden): nodes is forbidden: User "admin" cannot list nodes at the cluster scope: no RBAC policy matched

I tried this:

oc adm policy add-role-to-user cluster-admin admin Error from server (Forbidden): rolebindings.rbac.authorization.k8s.io is forbidden: User "admin" cannot list rolebindings.rbac.authorization.k8s.io in the namespace "default": no RBAC policy matched

Here is my output from

oc describe clusterrole.rbac

advancedwebdeveloper

comment created time in 11 days

issue commentdeislabs/krustlet

All tests are failing, on Windows 10

First things first - here is my log, for stating Minishift.

Checking the status, in a less verbose form:

minishift status Minishift: Running Profile: minishift OpenShift: Running (openshift v3.11.0+9caa622-494) DiskUsage: 16% of 19G (Mounted On: /mnt/sda1) CacheUsage: 1.704 GB (used by oc binary, ISO or cached images)

Same stuff, in a much more detailed form:

minishift status --show-libmachine-logs -v5 -- minishift version: v1.34.3+4b58f89 Found binary path at minishift.exe Launching plugin server for driver virtualbox Plugin server listening at address 127.0.0.1:3620 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName Found binary path at minishift.exe Launching plugin server for driver virtualbox Plugin server listening at address 127.0.0.1:3622 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (minishift) Calling .GetState (minishift) DBG | COMMAND: C:\VirtualBox\VBoxManage.exe showvminfo minishift --machinereadable (minishift) DBG | STDOUT: (minishift) DBG | { (minishift) DBG | name="minishift" (minishift) DBG | groups="/" (minishift) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)" (minishift) DBG | UUID="67d053cb-50de-438e-9739-11e2da3bc0d3" (minishift) DBG | CfgFile="C:\Users\Worker\.minishift\machines\minishift\minishift\minishift.vbox" (minishift) DBG | SnapFldr="C:\Users\Worker\.minishift\machines\minishift\minishift\Snapshots" (minishift) DBG | LogFldr="C:\Users\Worker\.minishift\machines\minishift\minishift\Logs" (minishift) DBG | hardwareuuid="67d053cb-50de-438e-9739-11e2da3bc0d3" (minishift) DBG | memory=4096 (minishift) DBG | pagefusion="off" (minishift) DBG | vram=8 (minishift) DBG | cpuexecutioncap=100 (minishift) DBG | hpet="on" (minishift) DBG | cpu-profile="host" (minishift) DBG | chipset="piix3" (minishift) DBG | firmware="BIOS" (minishift) DBG | cpus=2 (minishift) DBG | pae="on" (minishift) DBG | longmode="on" (minishift) DBG | triplefaultreset="off" (minishift) DBG | apic="on" (minishift) DBG | x2apic="off" (minishift) DBG | nested-hw-virt="off" (minishift) DBG | cpuid-portability-level=0 (minishift) DBG | bootmenu="disabled" (minishift) DBG | boot1="dvd" (minishift) Calling .GetSSHHostname (minishift) DBG | boot2="dvd" (minishift) Calling .GetSSHPort (minishift) DBG | boot3="disk" (minishift) DBG | boot4="none" (minishift) DBG | acpi="on" (minishift) DBG | ioapic="on" (minishift) Calling .GetSSHKeyPath (minishift) DBG | biosapic="apic" (minishift) Calling .GetSSHKeyPath (minishift) DBG | biossystemtimeoffset=0 (minishift) DBG | rtcuseutc="on" (minishift) DBG | hwvirtex="on" (minishift) Calling .GetSSHUsername (minishift) DBG | nestedpaging="on" (minishift) DBG | largepages="on" (minishift) DBG | vtxvpid="on" (minishift) DBG | vtxux="on" (minishift) DBG | paravirtprovider="default" (minishift) DBG | effparavirtprovider="kvm" (minishift) DBG | VMState="running" (minishift) DBG | VMStateChangeTime="2020-10-20T08:56:45.731000000" (minishift) DBG | graphicscontroller="vboxvga" (minishift) DBG | monitorcount=1 (minishift) DBG | accelerate3d="off" Using SSH client type: native (minishift) DBG | accelerate2dvideo="off" (minishift) DBG | teleporterenabled="off" &{{{<nil> 0 [] [] []} docker [0xd56100] 0xd560c0 <nil> [] 0s} 127.0.0.1 3142 <nil> <nil>} About to run SSH command: docker exec origin openshift version (minishift) DBG | teleporterport=0 (minishift) DBG | teleporteraddress="" (minishift) DBG | teleporterpassword="" (minishift) DBG | tracing-enabled="off" (minishift) DBG | tracing-allow-vm-access="off" (minishift) DBG | tracing-config="" (minishift) DBG | autostart-enabled="off" (minishift) DBG | autostart-delay=0 (minishift) DBG | defaultfrontend="" (minishift) DBG | vmprocpriority="default" (minishift) DBG | storagecontrollername0="SATA" (minishift) DBG | storagecontrollertype0="IntelAhci" (minishift) DBG | storagecontrollerinstance0="0" (minishift) DBG | storagecontrollermaxportcount0="30" (minishift) DBG | storagecontrollerportcount0="30" (minishift) DBG | storagecontrollerbootable0="on" (minishift) DBG | "SATA-0-0"="C:\Users\Worker.minishift\machines\minishift\boot2docker.iso" (minishift) DBG | "SATA-ImageUUID-0-0"="002e44dc-5e22-4c8a-8a2d-c2faa2f992d3" (minishift) DBG | "SATA-tempeject"="off" (minishift) DBG | "SATA-IsEjected"="off" (minishift) DBG | "SATA-1-0"="C:\Users\Worker.minishift\machines\minishift\disk.vmdk" (minishift) DBG | "SATA-ImageUUID-1-0"="b8c088d0-7c2f-4fe7-bb57-08898ae97c9b" (minishift) DBG | "SATA-2-0"="none" (minishift) DBG | "SATA-3-0"="none" (minishift) DBG | "SATA-4-0"="none" (minishift) DBG | "SATA-5-0"="none" (minishift) DBG | "SATA-6-0"="none" (minishift) DBG | "SATA-7-0"="none" (minishift) DBG | "SATA-8-0"="none" (minishift) DBG | "SATA-9-0"="none" (minishift) DBG | "SATA-10-0"="none" (minishift) DBG | "SATA-11-0"="none" (minishift) DBG | "SATA-12-0"="none" (minishift) DBG | "SATA-13-0"="none" (minishift) DBG | "SATA-14-0"="none" (minishift) DBG | "SATA-15-0"="none" (minishift) DBG | "SATA-16-0"="none" (minishift) DBG | "SATA-17-0"="none" (minishift) DBG | "SATA-18-0"="none" (minishift) DBG | "SATA-19-0"="none" (minishift) DBG | "SATA-20-0"="none" (minishift) DBG | "SATA-21-0"="none" (minishift) DBG | "SATA-22-0"="none" (minishift) DBG | "SATA-23-0"="none" (minishift) DBG | "SATA-24-0"="none" (minishift) DBG | "SATA-25-0"="none" (minishift) DBG | "SATA-26-0"="none" (minishift) DBG | "SATA-27-0"="none" (minishift) DBG | "SATA-28-0"="none" (minishift) DBG | "SATA-29-0"="none" (minishift) DBG | natnet1="nat" (minishift) DBG | macaddress1="080027E04541" (minishift) DBG | cableconnected1="on" (minishift) DBG | nic1="nat" (minishift) DBG | nictype1="82540EM" (minishift) DBG | nicspeed1="0" (minishift) DBG | mtu="0" (minishift) DBG | sockSnd="64" (minishift) DBG | sockRcv="64" (minishift) DBG | tcpWndSnd="64" (minishift) DBG | tcpWndRcv="64" (minishift) DBG | Forwarding(0)="ssh,tcp,127.0.0.1,3142,,22" (minishift) DBG | hostonlyadapter2="VirtualBox Host-Only Ethernet Adapter #2" (minishift) DBG | macaddress2="080027617953" (minishift) DBG | cableconnected2="on" (minishift) DBG | nic2="hostonly" (minishift) DBG | nictype2="82540EM" (minishift) DBG | nicspeed2="0" (minishift) DBG | nic3="none" (minishift) DBG | nic4="none" (minishift) DBG | nic5="none" (minishift) DBG | nic6="none" (minishift) DBG | nic7="none" (minishift) DBG | nic8="none" (minishift) DBG | hidpointing="ps2mouse" (minishift) DBG | hidkeyboard="ps2kbd" (minishift) DBG | uart1="off" (minishift) DBG | uart2="off" (minishift) DBG | uart3="off" (minishift) DBG | uart4="off" (minishift) DBG | lpt1="off" (minishift) DBG | lpt2="off" (minishift) DBG | audio="dsound" (minishift) DBG | audio_out="off" (minishift) DBG | audio_in="off" (minishift) DBG | clipboard="disabled" (minishift) DBG | draganddrop="disabled" (minishift) DBG | SessionName="headless" (minishift) DBG | VideoMode="720,400,0"@0,0 1 (minishift) DBG | vrde="off" (minishift) DBG | usb="off" (minishift) DBG | ehci="off" (minishift) DBG | xhci="off" (minishift) DBG | SharedFolderNameMachineMapping1="c/Users" (minishift) DBG | SharedFolderPathMachineMapping1="\\?\c:\Users" (minishift) DBG | VRDEActiveConnection="off" (minishift) DBG | VRDEClients==0 (minishift) DBG | videocap="off" (minishift) DBG | videocapaudio="off" (minishift) DBG | capturescreens="0" (minishift) DBG | capturefilename="C:\Users\Worker\.minishift\machines\minishift\minishift\minishift.webm" (minishift) DBG | captureres="1024x768" (minishift) DBG | capturevideorate=512 (minishift) DBG | capturevideofps=25 (minishift) DBG | captureopts="" (minishift) DBG | GuestMemoryBalloon=0 (minishift) DBG | GuestOSType="Linux26_64" (minishift) DBG | GuestAdditionsRunLevel=0 (minishift) DBG | } (minishift) DBG | STDERR: (minishift) DBG | { (minishift) DBG | } SSH cmd err, output: <nil>: openshift v3.11.0+9caa622-494

(minishift) Calling .GetSSHHostname (minishift) Calling .GetSSHPort (minishift) Calling .GetSSHKeyPath (minishift) Calling .GetSSHKeyPath (minishift) Calling .GetSSHUsername Using SSH client type: native &{{{<nil> 0 [] [] []} docker [0xd56100] 0xd560c0 <nil> [] 0s} 127.0.0.1 3142 <nil> <nil>} About to run SSH command: df -h /mnt/?da1 | awk 'FNR > 1 {print $2,$5,$6}' SSH cmd err, output: <nil>: 19G 16% /mnt/sda1

(minishift) Calling .DriverName (minishift) Calling .GetSSHHostname (minishift) Calling .GetSSHPort (minishift) Calling .GetSSHKeyPath (minishift) Calling .GetSSHKeyPath (minishift) Calling .GetSSHUsername Using SSH client type: native &{{{<nil> 0 [] [] []} docker [0xd56100] 0xd560c0 <nil> [] 0s} 127.0.0.1 3142 <nil> <nil>} About to run SSH command: sudo cat /etc/os-release SSH cmd err, output: <nil>: NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

VARIANT="minishift" VARIANT_VERSION="1.17.0" BUILD_ID="a18b447-25092020060406-local"

Couldn't set key CPE_NAME, no corresponding struct field found Couldn't set key , no corresponding struct field found Couldn't set key CENTOS_MANTISBT_PROJECT, no corresponding struct field found Couldn't set key CENTOS_MANTISBT_PROJECT_VERSION, no corresponding struct field found Couldn't set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found Couldn't set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field found Couldn't set key , no corresponding struct field found Couldn't set key VARIANT_VERSION, no corresponding struct field found Couldn't set key BUILD_ID, no corresponding struct field found Detecting whether virtual machine is managed by a registration manager... Minishift: Running Profile: minishift OpenShift: Running (openshift v3.11.0+9caa622-494) DiskUsage: 16% of 19G (Mounted On: /mnt/sda1) CacheUsage: 1.704 GB (used by oc binary, ISO or cached images) Making call to close driver server (minishift) Calling .Close Successfully made call to close driver server Making call to close connection to plugin binary Making call to close driver server (minishift) Calling .Close (minishift) DBG | Closing plugin on server side Successfully made call to close driver server Making call to close connection to plugin binary

advancedwebdeveloper

comment created time in 11 days

issue commentcybozu-go/sabakan

nilerr: internal error: nil Pkg importing "github.com/onsi/gomega/types" from "github.com/onsi/gomega/internal/assertion"

@advancedwebdeveloper Hi, the above comment was wrong. The error is probably caused by building golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3 with go 1.15.

@ianlancetaylor, any comments?

Could you try to update the nilerr in your environment with the following command and run it?

$ go get github.com/gostaticanalysis/nilerr/cmd/nilerr
or 
$ cd <path to nilerr source>
$ go get -u
$ go build ./cmd/nilerr
advancedwebdeveloper

comment created time in 11 days

IssuesEvent

issue closedcybozu-go/sabakan

nilerr: internal error: nil Pkg importing "github.com/onsi/gomega/types" from "github.com/onsi/gomega/internal/assertion"

Hi.

Caught such an error:

$ make test -z "$(gofmt -s -l . | grep -v '^vendor' | tee /dev/stderr)" test -z "$(golint $(go list ./... | grep -v /vendor/) | grep -v '/mtest/.*: should not use dot imports' | tee /dev/stderr)" test -z "$(nilerr ./... 2>&1 | tee /dev/stderr)" nilerr: internal error: nil Pkg importing "github.com/onsi/gomega/types" from "github.com/onsi/gomega/internal/assertion" make: *** [Makefile:26: test] Error 1

$ go version go version go1.15.2 gollvm LLVM 12.0.0git linux/amd64

$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/oceanfish81/.cache/go-build" GOENV="/home/oceanfish81/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/oceanfish81/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/oceanfish81/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/oceanfish81/gollvm_dist" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/oceanfish81/gollvm_dist/tools" GCCGO="/home/oceanfish81/gollvm_dist/bin/llvm-goc" AR="ar" CC="/usr/bin/clang" CXX="/usr/bin/clang++" CGO_ENABLED="1" GOMOD="/home/oceanfish81/sabakan/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build032338975=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

CC @tenntenn

closed time in 11 days

advancedwebdeveloper

issue openedminishift/minishift

"Error getting valid namespaces user belongs to.: exit status 1", while performing >minishift openshift service

General information

  • Minishift version: v1.34.3+4b58f89
  • OS: Windows 10 build 19041.572
  • Hypervisor: VirtualBox 6.1.14

Expected

I was trying to deploy this demo

Actual

> minishift openshift service nodejs-ex --in-browser Error getting valid namespaces user belongs to.: exit status 1

Logs

You can start Minishift with minishift start --show-libmachine-logs -v5 to collect logs. Please consider posting this on http://gist.github.com/ and post the link in the issue.

created time in 12 days

more