Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on Raspbian (Raspberry Pi 400) armv7l (32 bit arm) #1384

Closed
RussellHaley opened this issue May 5, 2021 · 3 comments
Closed

Comments

@RussellHaley
Copy link

Hi Ruki,

pi@raspberrypi:~/FirstC $ uname -a
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~/FirstC $ gcc --version
gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Attempted to install xmake on RPi noted above. Build failed:

make demo
compile.r xmake.c
link demo.b
make[3]: *** [/tmp/.xmake_getter26343/core/suffix.mak:304: demo.b] Error 1
make[2]: *** [/tmp/.xmake_getter26343/core/suffix.mak:304: SUB_PROS_demo_all] Error 2
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time_spak':
cache_time.c:(.text+0x9c): undefined reference to `__atomic_store_8'
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time_mclock':
cache_time.c:(.text+0xd4): undefined reference to `__atomic_load_8'
/usr/bin/ld: cache_time.c:(.text+0x18c): undefined reference to `__atomic_store_8'
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time_sclock':
cache_time.c:(.text+0x1c4): undefined reference to `__atomic_load_8'
/usr/bin/ld: cache_time.c:(.text+0x290): undefined reference to `__atomic_store_8'
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time':
cache_time.c:(.text+0x2b8): undefined reference to `__atomic_load_8'
/usr/bin/ld: cache_time.c:(.text+0x384): undefined reference to `__atomic_store_8'
collect2: error: ld returned 1 exit status
installing to /home/pi/.local ...
plat: linux
arch: arm
cp: cannot stat './core/src/demo/demo.b': No such file or directory
make: *** [makefile:115: install] Error 1

A little research noted Raspbian is a 32bit userland according to this: https://raspberrypi.stackexchange.com/questions/101215/why-raspberry-pi-4b-claims-that-its-processor-is-armv7l-when-in-official-specif#101218

Complete output below. Cheers!

pi@raspberrypi:~/FirstC $ bash <(wget https://xmake.io/shget.text -O -)

Redirecting output to ‘wget-log’.
xmake, A cross-platform build utility based on Lua.   
Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
                         _                            
    __  ___ __  __  __ _| | ______                    
    \ \/ / |  \/  |/ _  | |/ / __ \                   
     >  <  | \__/ | /_| |   <  ___/                   
    /_/\_\_|_|  |_|\__ \|_|\_\____|                   
                         by ruki, xmake.io            
                                                      
   👉  Manual: https://xmake.io/#/getting_started     
   🙏  Donate: https://xmake.io/#/sponsor             
                                                      
downloading https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@v2.5.3/xmake-v2.5.3.xz.run ..
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1825k  100 1825k    0     0  2364k      0 --:--:-- --:--:-- --:--:-- 2361k
Creating directory /tmp/.xmake_getter26343
Verifying archive integrity...  100%    100%   All good.
Uncompressing xmake-v2.5.3-runfile  100%  
compiling xmake-core ...

=============================================================================
compile:
    plat:		linux
    arch:		arm
    host:		linux
    demo:		y
    prof:		n
    debug:		n
    small:		n
    ccache:		
    distcc:		
    luajit:		jit

packages:
    tbox:		y
    luajit:		y
    base:		y


directories:
    install:		
    package:		

toolchains:
    bin:		
    pre:		
    sdk:		

flags:
    cflag:		
    ccflag:		
    cxflag:		
    mflag:		
    mmflag:		
    mxflag:		
    ldflag:		
    asflag:		
    arflag:		
    shflag:		

clean xmake
clean lcurses
clean sv
clean luajit
clean lua-cjson
clean tbox
clean xmake
clean demo
make xmake
make lcurses
compile.r lcurses.c
link liblcursesr.a
make sv
compile.r sv/src/comp.c
compile.r sv/src/id.c
compile.r sv/src/num.c
compile.r sv/src/range.c
compile.r sv/src/semvers.c
compile.r sv/src/utils.c
compile.r sv/src/version.c
link libsvr.a
make luajit
compile.r luajit/src/lib_aux.c
compile.r luajit/src/lib_base.c
compile.r luajit/src/lib_bit.c
compile.r luajit/src/lib_debug.c
compile.r luajit/src/lib_ffi.c
compile.r luajit/src/lib_init.c
compile.r luajit/src/lib_io.c
compile.r luajit/src/lib_jit.c
compile.r luajit/src/lib_math.c
compile.r luajit/src/lib_os.c
compile.r luajit/src/lib_package.c
compile.r luajit/src/lib_string.c
compile.r luajit/src/lib_table.c
compile.r luajit/src/lj_alloc.c
compile.r luajit/src/lj_api.c
compile.r luajit/src/lj_asm.c
compile.r luajit/src/lj_bc.c
compile.r luajit/src/lj_bcread.c
compile.r luajit/src/lj_bcwrite.c
compile.r luajit/src/lj_buf.c
compile.r luajit/src/lj_carith.c
compile.r luajit/src/lj_ccall.c
compile.r luajit/src/lj_ccallback.c
compile.r luajit/src/lj_cconv.c
compile.r luajit/src/lj_cdata.c
compile.r luajit/src/lj_char.c
compile.r luajit/src/lj_clib.c
compile.r luajit/src/lj_cparse.c
compile.r luajit/src/lj_crecord.c
compile.r luajit/src/lj_ctype.c
compile.r luajit/src/lj_debug.c
compile.r luajit/src/lj_dispatch.c
compile.r luajit/src/lj_err.c
compile.r luajit/src/lj_ffrecord.c
compile.r luajit/src/lj_func.c
compile.r luajit/src/lj_gc.c
compile.r luajit/src/lj_gdbjit.c
compile.r luajit/src/lj_ir.c
compile.r luajit/src/lj_lex.c
compile.r luajit/src/lj_lib.c
compile.r luajit/src/lj_load.c
compile.r luajit/src/lj_mcode.c
compile.r luajit/src/lj_meta.c
compile.r luajit/src/lj_obj.c
compile.r luajit/src/lj_opt_dce.c
compile.r luajit/src/lj_opt_fold.c
compile.r luajit/src/lj_opt_loop.c
compile.r luajit/src/lj_opt_mem.c
compile.r luajit/src/lj_opt_narrow.c
compile.r luajit/src/lj_opt_sink.c
compile.r luajit/src/lj_opt_split.c
compile.r luajit/src/lj_parse.c
compile.r luajit/src/lj_prng.c
compile.r luajit/src/lj_profile.c
compile.r luajit/src/lj_record.c
compile.r luajit/src/lj_snap.c
compile.r luajit/src/lj_state.c
compile.r luajit/src/lj_str.c
compile.r luajit/src/lj_strfmt.c
compile.r luajit/src/lj_strfmt_num.c
compile.r luajit/src/lj_strscan.c
compile.r luajit/src/lj_tab.c
compile.r luajit/src/lj_trace.c
compile.r luajit/src/lj_udata.c
compile.r luajit/src/lj_vmevent.c
compile.r luajit/src/lj_vmmath.c
compile.r autogen/linux/jit/arm/lj_vm.S
link libluajitr.a
make lua-cjson
compile.r lua-cjson/dtoa.c
compile.r lua-cjson/g_fmt.c
compile.r lua-cjson/lua_cjson.c
compile.r lua-cjson/strbuf.c
link liblua-cjsonr.a
make tbox
compile.r tbox/src/tbox/algorithm/binary_find.c
compile.r tbox/src/tbox/algorithm/binary_find_if.c
compile.r tbox/src/tbox/algorithm/bubble_sort.c
compile.r tbox/src/tbox/algorithm/count.c
compile.r tbox/src/tbox/algorithm/count_if.c
compile.r tbox/src/tbox/algorithm/distance.c
compile.r tbox/src/tbox/algorithm/find.c
compile.r tbox/src/tbox/algorithm/find_if.c
compile.r tbox/src/tbox/algorithm/heap_sort.c
compile.r tbox/src/tbox/algorithm/insert_sort.c
compile.r tbox/src/tbox/algorithm/predicate.c
compile.r tbox/src/tbox/algorithm/quick_sort.c
compile.r tbox/src/tbox/algorithm/remove.c
compile.r tbox/src/tbox/algorithm/remove_first.c
compile.r tbox/src/tbox/algorithm/remove_first_if.c
compile.r tbox/src/tbox/algorithm/remove_if.c
compile.r tbox/src/tbox/algorithm/rfind.c
compile.r tbox/src/tbox/algorithm/rfind_if.c
compile.r tbox/src/tbox/algorithm/rwalk.c
compile.r tbox/src/tbox/algorithm/sort.c
compile.r tbox/src/tbox/algorithm/walk.c
compile.r tbox/src/tbox/charset/ascii.c
compile.r tbox/src/tbox/charset/charset.c
compile.r tbox/src/tbox/charset/gb2312.c
compile.r tbox/src/tbox/charset/iso8859.c
compile.r tbox/src/tbox/charset/ucs2.c
compile.r tbox/src/tbox/charset/ucs4.c
compile.r tbox/src/tbox/charset/utf16.c
compile.r tbox/src/tbox/charset/utf32.c
compile.r tbox/src/tbox/charset/utf8.c
compile.r tbox/src/tbox/container/array_iterator.c
compile.r tbox/src/tbox/container/bloom_filter.c
compile.r tbox/src/tbox/container/circle_queue.c
compile.r tbox/src/tbox/container/element/hash.c
compile.r tbox/src/tbox/container/element/long.c
compile.r tbox/src/tbox/container/element/mem.c
compile.r tbox/src/tbox/container/element/null.c
compile.r tbox/src/tbox/container/element/ptr.c
compile.r tbox/src/tbox/container/element/size.c
compile.r tbox/src/tbox/container/element/str.c
compile.r tbox/src/tbox/container/element/true.c
compile.r tbox/src/tbox/container/element/uint16.c
compile.r tbox/src/tbox/container/element/uint32.c
compile.r tbox/src/tbox/container/element/uint8.c
compile.r tbox/src/tbox/container/hash_map.c
compile.r tbox/src/tbox/container/hash_set.c
compile.r tbox/src/tbox/container/heap.c
compile.r tbox/src/tbox/container/iterator.c
compile.r tbox/src/tbox/container/list.c
compile.r tbox/src/tbox/container/list_entry.c
compile.r tbox/src/tbox/container/priority_queue.c
compile.r tbox/src/tbox/container/queue.c
compile.r tbox/src/tbox/container/single_list.c
compile.r tbox/src/tbox/container/single_list_entry.c
compile.r tbox/src/tbox/container/stack.c
compile.r tbox/src/tbox/container/vector.c
compile.r tbox/src/tbox/hash/adler32.c
compile.r tbox/src/tbox/hash/bkdr.c
compile.r tbox/src/tbox/hash/fnv32.c
compile.r tbox/src/tbox/hash/md5.c
compile.r tbox/src/tbox/hash/sha.c
compile.r tbox/src/tbox/hash/uuid.c
compile.r tbox/src/tbox/libc/impl/libc.c
compile.r tbox/src/tbox/libc/misc/time/gmmktime.c
compile.r tbox/src/tbox/libc/misc/time/gmtime.c
compile.r tbox/src/tbox/libc/misc/time/localtime.c
compile.r tbox/src/tbox/libc/misc/time/mktime.c
compile.r tbox/src/tbox/libc/misc/time/time.c
compile.r tbox/src/tbox/libc/stdio/printf.c
compile.r tbox/src/tbox/libc/stdio/printf_object.c
compile.r tbox/src/tbox/libc/stdio/puts.c
compile.r tbox/src/tbox/libc/stdio/snprintf.c
compile.r tbox/src/tbox/libc/stdio/sprintf.c
compile.r tbox/src/tbox/libc/stdio/swprintf.c
compile.r tbox/src/tbox/libc/stdio/vsnprintf.c
compile.r tbox/src/tbox/libc/stdio/vswprintf.c
compile.r tbox/src/tbox/libc/stdio/wprintf.c
compile.r tbox/src/tbox/libc/stdio/wputs.c
compile.r tbox/src/tbox/libc/stdlib/mbstowcs.c
compile.r tbox/src/tbox/libc/stdlib/random.c
compile.r tbox/src/tbox/libc/stdlib/stdlib.c
compile.r tbox/src/tbox/libc/stdlib/wcstombs.c
compile.r tbox/src/tbox/libc/string/memcmp.c
compile.r tbox/src/tbox/libc/string/memcpy.c
compile.r tbox/src/tbox/libc/string/memdup.c
compile.r tbox/src/tbox/libc/string/memmem.c
compile.r tbox/src/tbox/libc/string/memmov.c
compile.r tbox/src/tbox/libc/string/memset.c
compile.r tbox/src/tbox/libc/string/strcat.c
compile.r tbox/src/tbox/libc/string/strchr.c
compile.r tbox/src/tbox/libc/string/strcmp.c
compile.r tbox/src/tbox/libc/string/strcpy.c
compile.r tbox/src/tbox/libc/string/strdup.c
compile.r tbox/src/tbox/libc/string/strichr.c
compile.r tbox/src/tbox/libc/string/stricmp.c
compile.r tbox/src/tbox/libc/string/strirchr.c
compile.r tbox/src/tbox/libc/string/strirstr.c
compile.r tbox/src/tbox/libc/string/stristr.c
compile.r tbox/src/tbox/libc/string/strlcpy.c
compile.r tbox/src/tbox/libc/string/strlen.c
compile.r tbox/src/tbox/libc/string/strncat.c
compile.r tbox/src/tbox/libc/string/strnchr.c
compile.r tbox/src/tbox/libc/string/strncmp.c
compile.r tbox/src/tbox/libc/string/strncpy.c
compile.r tbox/src/tbox/libc/string/strndup.c
compile.r tbox/src/tbox/libc/string/strnicmp.c
compile.r tbox/src/tbox/libc/string/strnirchr.c
compile.r tbox/src/tbox/libc/string/strnirstr.c
compile.r tbox/src/tbox/libc/string/strnistr.c
compile.r tbox/src/tbox/libc/string/strnlen.c
compile.r tbox/src/tbox/libc/string/strnrchr.c
compile.r tbox/src/tbox/libc/string/strnrstr.c
compile.r tbox/src/tbox/libc/string/strnstr.c
compile.r tbox/src/tbox/libc/string/strrchr.c
compile.r tbox/src/tbox/libc/string/strrstr.c
compile.r tbox/src/tbox/libc/string/strstr.c
compile.r tbox/src/tbox/libc/string/wcscat.c
compile.r tbox/src/tbox/libc/string/wcschr.c
compile.r tbox/src/tbox/libc/string/wcscmp.c
compile.r tbox/src/tbox/libc/string/wcscpy.c
compile.r tbox/src/tbox/libc/string/wcsdup.c
compile.r tbox/src/tbox/libc/string/wcsichr.c
compile.r tbox/src/tbox/libc/string/wcsicmp.c
compile.r tbox/src/tbox/libc/string/wcsirchr.c
compile.r tbox/src/tbox/libc/string/wcsirstr.c
compile.r tbox/src/tbox/libc/string/wcsistr.c
compile.r tbox/src/tbox/libc/string/wcslcpy.c
compile.r tbox/src/tbox/libc/string/wcslen.c
compile.r tbox/src/tbox/libc/string/wcsncat.c
compile.r tbox/src/tbox/libc/string/wcsncmp.c
compile.r tbox/src/tbox/libc/string/wcsncpy.c
compile.r tbox/src/tbox/libc/string/wcsndup.c
compile.r tbox/src/tbox/libc/string/wcsnicmp.c
compile.r tbox/src/tbox/libc/string/wcsnirchr.c
compile.r tbox/src/tbox/libc/string/wcsnirstr.c
compile.r tbox/src/tbox/libc/string/wcsnlen.c
compile.r tbox/src/tbox/libc/string/wcsnrchr.c
compile.r tbox/src/tbox/libc/string/wcsnrstr.c
compile.r tbox/src/tbox/libc/string/wcsrchr.c
compile.r tbox/src/tbox/libc/string/wcsrstr.c
compile.r tbox/src/tbox/libc/string/wcsstr.c
compile.r tbox/src/tbox/libm/cos.c
compile.r tbox/src/tbox/libm/cosf.c
compile.r tbox/src/tbox/libm/exp.c
compile.r tbox/src/tbox/libm/idivi8.c
compile.r tbox/src/tbox/libm/ilog2i.c
compile.r tbox/src/tbox/libm/impl/libm.c
compile.r tbox/src/tbox/libm/isfin.c
compile.r tbox/src/tbox/libm/isfinf.c
compile.r tbox/src/tbox/libm/isinf.c
compile.r tbox/src/tbox/libm/isinff.c
compile.r tbox/src/tbox/libm/isnan.c
compile.r tbox/src/tbox/libm/isnanf.c
compile.r tbox/src/tbox/libm/isqrti.c
compile.r tbox/src/tbox/libm/pow.c
compile.r tbox/src/tbox/libm/sqrtf.c
compile.r tbox/src/tbox/math/impl/math.c
compile.r tbox/src/tbox/math/random/linear.c
compile.r tbox/src/tbox/math/random/random.c
compile.r tbox/src/tbox/memory/allocator.c
compile.r tbox/src/tbox/memory/buffer.c
compile.r tbox/src/tbox/memory/default_allocator.c
compile.r tbox/src/tbox/memory/fixed_pool.c
compile.r tbox/src/tbox/memory/impl/memory.c
compile.r tbox/src/tbox/memory/impl/native_large_allocator.c
compile.r tbox/src/tbox/memory/impl/prefix.c
compile.r tbox/src/tbox/memory/impl/static_fixed_pool.c
compile.r tbox/src/tbox/memory/impl/static_large_allocator.c
compile.r tbox/src/tbox/memory/large_allocator.c
compile.r tbox/src/tbox/memory/native_allocator.c
compile.r tbox/src/tbox/memory/queue_buffer.c
compile.r tbox/src/tbox/memory/small_allocator.c
compile.r tbox/src/tbox/memory/static_allocator.c
compile.r tbox/src/tbox/memory/static_buffer.c
compile.r tbox/src/tbox/memory/string_pool.c
compile.r tbox/src/tbox/network/cookies.c
compile.r tbox/src/tbox/network/dns/cache.c
compile.r tbox/src/tbox/network/dns/looker.c
compile.r tbox/src/tbox/network/dns/server.c
compile.r tbox/src/tbox/network/http.c
compile.r tbox/src/tbox/network/hwaddr.c
compile.r tbox/src/tbox/network/impl/http/date.c
compile.r tbox/src/tbox/network/impl/http/method.c
compile.r tbox/src/tbox/network/impl/http/option.c
compile.r tbox/src/tbox/network/impl/http/status.c
compile.r tbox/src/tbox/network/impl/network.c
compile.r tbox/src/tbox/network/ipaddr.c
compile.r tbox/src/tbox/network/ipv4.c
compile.r tbox/src/tbox/network/ipv6.c
compile.r tbox/src/tbox/network/unixaddr.c
compile.r tbox/src/tbox/network/url.c
compile.r tbox/src/tbox/platform/addrinfo.c
compile.r tbox/src/tbox/platform/atomic64.c
compile.r tbox/src/tbox/platform/backtrace.c
compile.r tbox/src/tbox/platform/cache_time.c
compile.r tbox/src/tbox/platform/cpu.c
compile.r tbox/src/tbox/platform/directory.c
compile.r tbox/src/tbox/platform/dynamic.c
compile.r tbox/src/tbox/platform/environment.c
compile.r tbox/src/tbox/platform/event.c
compile.r tbox/src/tbox/platform/file.c
compile.r tbox/src/tbox/platform/filelock.c
compile.r tbox/src/tbox/platform/hostname.c
compile.r tbox/src/tbox/platform/ifaddrs.c
compile.r tbox/src/tbox/platform/impl/charset.c
compile.r tbox/src/tbox/platform/impl/dns.c
compile.r tbox/src/tbox/platform/impl/platform.c
compile.r tbox/src/tbox/platform/impl/pollerdata.c
compile.r tbox/src/tbox/platform/ltimer.c
compile.r tbox/src/tbox/platform/mutex.c
compile.r tbox/src/tbox/platform/native_memory.c
compile.r tbox/src/tbox/platform/page.c
compile.r tbox/src/tbox/platform/path.c
compile.r tbox/src/tbox/platform/pipe.c
compile.r tbox/src/tbox/platform/poller.c
compile.r tbox/src/tbox/platform/print.c
compile.r tbox/src/tbox/platform/process.c
compile.r tbox/src/tbox/platform/sched.c
compile.r tbox/src/tbox/platform/semaphore.c
compile.r tbox/src/tbox/platform/socket.c
compile.r tbox/src/tbox/platform/stdfile.c
compile.r tbox/src/tbox/platform/syserror.c
compile.r tbox/src/tbox/platform/thread.c
compile.r tbox/src/tbox/platform/thread_local.c
compile.r tbox/src/tbox/platform/time.c
compile.r tbox/src/tbox/platform/timer.c
compile.r tbox/src/tbox/platform/virtual_memory.c
compile.r tbox/src/tbox/prefix/state.c
compile.r tbox/src/tbox/stream/filter.c
compile.r tbox/src/tbox/stream/impl/filter/cache.c
compile.r tbox/src/tbox/stream/impl/filter/charset.c
compile.r tbox/src/tbox/stream/impl/filter/chunked.c
compile.r tbox/src/tbox/stream/impl/stream/data.c
compile.r tbox/src/tbox/stream/impl/stream/file.c
compile.r tbox/src/tbox/stream/impl/stream/filter.c
compile.r tbox/src/tbox/stream/impl/stream/http.c
compile.r tbox/src/tbox/stream/impl/stream/sock.c
compile.r tbox/src/tbox/stream/static_stream.c
compile.r tbox/src/tbox/stream/stream.c
compile.r tbox/src/tbox/stream/transfer.c
compile.r tbox/src/tbox/string/static_string.c
compile.r tbox/src/tbox/string/string.c
compile.r tbox/src/tbox/tbox.c
compile.r tbox/src/tbox/utils/base32.c
compile.r tbox/src/tbox/utils/base64.c
compile.r tbox/src/tbox/utils/bits.c
compile.r tbox/src/tbox/utils/dump.c
compile.r tbox/src/tbox/utils/lock_profiler.c
compile.r tbox/src/tbox/utils/singleton.c
compile.r tbox/src/tbox/utils/trace.c
compile.r tbox/src/tbox/utils/url.c
compile.r tbox/src/tbox/utils/used.c
link libtboxr.a
make xmake
compile.r engine.c
compile.r hash/sha256.c
compile.r hash/uuid4.c
compile.r io/file_close.c
compile.r io/file_flush.c
compile.r io/file_isatty.c
compile.r io/file_open.c
compile.r io/file_rawfd.c
compile.r io/file_read.c
compile.r io/file_seek.c
compile.r io/file_size.c
compile.r io/file_write.c
compile.r io/filelock_close.c
compile.r io/filelock_lock.c
compile.r io/filelock_open.c
compile.r io/filelock_trylock.c
compile.r io/filelock_unlock.c
compile.r io/pipe_close.c
compile.r io/pipe_connect.c
compile.r io/pipe_open.c
compile.r io/pipe_openpair.c
compile.r io/pipe_read.c
compile.r io/pipe_wait.c
compile.r io/pipe_write.c
compile.r io/poller.c
compile.r io/poller_insert.c
compile.r io/poller_modify.c
compile.r io/poller_remove.c
compile.r io/poller_spank.c
compile.r io/poller_support.c
compile.r io/poller_wait.c
compile.r io/socket_accept.c
compile.r io/socket_bind.c
compile.r io/socket_close.c
compile.r io/socket_connect.c
compile.r io/socket_listen.c
compile.r io/socket_open.c
compile.r io/socket_rawfd.c
compile.r io/socket_recv.c
compile.r io/socket_recvfrom.c
compile.r io/socket_send.c
compile.r io/socket_sendfile.c
compile.r io/socket_sendto.c
compile.r io/socket_wait.c
compile.r io/stdfile.c
compile.r os/args.c
compile.r os/argv.c
compile.r os/chdir.c
compile.r os/cpdir.c
compile.r os/cpfile.c
compile.r os/cpuinfo.c
compile.r os/curdir.c
compile.r os/emptydir.c
compile.r os/exists.c
compile.r os/filesize.c
compile.r os/find.c
compile.r os/getenv.c
compile.r os/getenvs.c
compile.r os/getown.c
compile.r os/getwinsize.c
compile.r os/gid.c
compile.r os/isdir.c
compile.r os/isfile.c
compile.r os/islink.c
compile.r os/link.c
compile.r os/mclock.c
compile.r os/mkdir.c
compile.r os/mtime.c
compile.r os/readlink.c
compile.r os/rename.c
compile.r os/rmdir.c
compile.r os/rmfile.c
compile.r os/setenv.c
compile.r os/sleep.c
compile.r os/strerror.c
compile.r os/syserror.c
compile.r os/tmpdir.c
compile.r os/uid.c
compile.r path/absolute.c
compile.r path/is_absolute.c
compile.r path/relative.c
compile.r path/translate.c
compile.r process/close.c
compile.r process/kill.c
compile.r process/open.c
compile.r process/openv.c
compile.r process/wait.c
compile.r readline/add_history.c
compile.r readline/clear_history.c
compile.r readline/history_list.c
compile.r readline/readline.c
compile.r sandbox/interactive.c
compile.r semver/compare.c
compile.r semver/parse.c
compile.r semver/satisfies.c
compile.r semver/select.c
compile.r semver/semver.c
compile.r string/convert.c
compile.r string/endswith.c
compile.r string/lastof.c
compile.r string/split.c
compile.r string/startswith.c
compile.r string/trim.c
compile.r xmake.c
link libxmaker.a
make demo
compile.r xmake.c
link demo.b
make[3]: *** [/tmp/.xmake_getter26343/core/suffix.mak:304: demo.b] Error 1
make[2]: *** [/tmp/.xmake_getter26343/core/suffix.mak:304: SUB_PROS_demo_all] Error 2
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time_spak':
cache_time.c:(.text+0x9c): undefined reference to `__atomic_store_8'
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time_mclock':
cache_time.c:(.text+0xd4): undefined reference to `__atomic_load_8'
/usr/bin/ld: cache_time.c:(.text+0x18c): undefined reference to `__atomic_store_8'
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time_sclock':
cache_time.c:(.text+0x1c4): undefined reference to `__atomic_load_8'
/usr/bin/ld: cache_time.c:(.text+0x290): undefined reference to `__atomic_store_8'
/usr/bin/ld: ../tbox/libtboxr.a(cache_time.o): in function `tb_cache_time':
cache_time.c:(.text+0x2b8): undefined reference to `__atomic_load_8'
/usr/bin/ld: cache_time.c:(.text+0x384): undefined reference to `__atomic_store_8'
collect2: error: ld returned 1 exit status
installing to /home/pi/.local ...
plat: linux
arch: arm
cp: cannot stat './core/src/demo/demo.b': No such file or directory
make: *** [makefile:115: install] Error 1
Install Fail
@waruqi
Copy link
Member

waruqi commented May 5, 2021

see #1170

you can try make LDFLAGS="-latomic"

@RussellHaley
Copy link
Author

Another thing that fails? My ability to search your issues (rolling of eyes). Thanks!

@walletiger
Copy link

I use clang to workaround this ..
export CC=clang
bash <(curl -fsSL https://xmake.io/shget.text)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants