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

Undefined symbols for architecture arm64 #85

Closed
theIdeviceguy18383 opened this issue Jul 17, 2021 · 3 comments
Closed

Undefined symbols for architecture arm64 #85

theIdeviceguy18383 opened this issue Jul 17, 2021 · 3 comments

Comments

@theIdeviceguy18383
Copy link

im trying to compile on Linux, I have all the dependencies, but i get this error during compilation
make -C newlib all
make[1]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib'
make -C /home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build all
make[2]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=--target=arm64-apple-ios12.0 -Wall -O3 -ffreestanding -nostdlib -nostdlibinc -fno-builtin -fno-blocks -U__nonnull -D_LDBL_EQ_DBL " "CCASFLAGS=--target=arm64-apple-ios12.0 -Wall -O3 -ffreestanding -nostdlib -nostdlibinc -fno-builtin -fno-blocks -U__nonnull -D_LDBL_EQ_DBL " "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/bash /home/ryan/iOS-downgrade-tethered/pongoOS/newlib/src/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=if test -f ./../expect/expect; then echo ./../expect/expect; else echo expect; fi" "RUNTEST=if test -f /home/ryan/iOS-downgrade-tethered/pongoOS/newlib/src/newlib/../dejagnu/runtest; then echo /home/ryan/iOS-downgrade-tethered/pongoOS/newlib/src/newlib/../dejagnu/runtest; else echo runtest; fi" "RUNTESTFLAGS=" "exec_prefix=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib" "infodir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/share/info" "libdir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/lib" "prefix=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib" "tooldir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/aarch64-none-darwin" "top_toollibdir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/aarch64-none-darwin/lib" "AR=llvm-ar" "AS=as" "CC=clang -I/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/targ-include -I/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/src/newlib/libc/include" "LD=" "LIBCFLAGS=" "NM=" "PICFLAG=" "RANLIB=llvm-ranlib" "DESTDIR=" all-recursive
make[3]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=--target=arm64-apple-ios12.0 -Wall -O3 -ffreestanding -nostdlib -nostdlibinc -fno-builtin -fno-blocks -U__nonnull -D_LDBL_EQ_DBL " "CCASFLAGS=--target=arm64-apple-ios12.0 -Wall -O3 -ffreestanding -nostdlib -nostdlibinc -fno-builtin -fno-blocks -U__nonnull -D_LDBL_EQ_DBL " "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/bash /home/ryan/iOS-downgrade-tethered/pongoOS/newlib/src/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib" "infodir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/share/info" "libdir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/lib" "prefix=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib" "tooldir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/aarch64-none-darwin" "top_toollibdir=/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/aarch64-none-darwin/lib" "AR=llvm-ar" "AS=as" "CC=clang -I/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/targ-include -I/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/src/newlib/libc/include" "LD=" "LIBCFLAGS=" "NM=" "PICFLAG=" "RANLIB=llvm-ranlib" "DESTDIR=" DO=all multi-do # make
Making all in libc
make[4]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc'
Making all in argz
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/argz'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/argz'
Making all in stdlib
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/stdlib'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/stdlib'
Making all in ctype
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/ctype'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/ctype'
Making all in search
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/search'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/search'
Making all in stdio
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/stdio'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/stdio'
Making all in string
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/string'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/string'
Making all in signal
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/signal'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/signal'
Making all in time
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/time'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/time'
Making all in locale
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/locale'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/locale'
Making all in sys
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/sys'
Making all in .
make[6]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/sys'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/sys'
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/sys'
Making all in reent
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/reent'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/reent'
Making all in errno
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/errno'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/errno'
Making all in misc
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/misc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/misc'
Making all in machine
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/machine'
Making all in aarch64
make[6]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/machine/aarch64'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/machine/aarch64'
Making all in .
make[6]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/machine'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/machine'
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/machine'
Making all in syscalls
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/syscalls'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/syscalls'
Making all in ssp
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/ssp'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc/ssp'
Making all in .
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc'
make[4]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libc'
Making all in libm
make[4]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm'
Making all in math
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/math'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/math'
Making all in common
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/common'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/common'
Making all in complex
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/complex'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/complex'
Making all in fenv
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/fenv'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/fenv'
Making all in machine
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/machine'
Making all in aarch64
make[6]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/machine/aarch64'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/machine/aarch64'
Making all in .
make[6]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/machine'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/machine'
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm/machine'
make[5]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm'
make[4]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/libm'
Making all in doc
make[4]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build/doc'
Making all in .
make[4]: Entering directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build'
make[4]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build'
make[3]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build'
make[2]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib/build'
make[1]: Leaving directory '/home/ryan/iOS-downgrade-tethered/pongoOS/newlib'
clang -o build/Pongo --target=arm64-apple-ios12.0 -std=gnu17 -Wall -Wunused-label -Werror -O3 -flto -ffreestanding -U__nonnull -nostdlibinc -DTARGET_OS_OSX=0 -DTARGET_OS_MACCATALYST=0 -Inewlib/aarch64-none-darwin/include -nostdlib -static -Wl,-fatal_warnings -Wl,-dead_strip -Wl,-Z -fuse-ld=/usr/bin/ld64 -DPONGO_VERSION='"2.5.1-217eae6f"' -DAUTOBOOT -DPONGO_PRIVATE=1 -Isrc/lib -Iinclude -Iapple-include -Iinclude/modules/linux/ -Isrc/kernel -Isrc/drivers -Isrc/modules/linux/libfdt -Lnewlib/aarch64-none-darwin/lib -lc -lm -Wl,-preload -Wl,-no_uuid -Wl,-e,start -Wl,-order_file,src/sym_order.txt -Wl,-image_base,0x100000000 -Wl,-sectalign,__DATA,__common,0x8 -Wl,-segalign,0x4000 -DDER_TAG_SIZE=8 src/boot/entry.S src/boot/stage3.c src/boot/clearhook.S src/boot/patches.S src/boot/demote_patch.S src/boot/jump_to_image.S src/boot/main.c src/kernel/panic.c src/kernel/syscall.c src/kernel/lowlevel.c src/kernel/task.c src/kernel/mm.c src/kernel/vfs.c src/kernel/dtree.c src/kernel/legacy.c src/kernel/locks.c src/kernel/dtree_getprop.c src/kernel/main_task.c src/kernel/entry.c src/kernel/support/exit.c src/kernel/support/io.c src/kernel/support/process.c src/kernel/support/sbrk.c src/kernel/support/malloc.c src/dynamic/modload.c src/dynamic/modload_macho.c src/kernel/int.S src/shell/autoboot.c src/shell/hex.c src/shell/usbloader.c src/shell/main.c src/shell/linux.c src/shell/command.c src/drivers/tz/tz.c src/drivers/framebuffer/fb.c src/drivers/sep/sep.c src/drivers/plat/s8000.c src/drivers/plat/t7000.c src/drivers/plat/t8011.c src/drivers/plat/s8003.c src/drivers/plat/t8012.c src/drivers/plat/s5l8960.c src/drivers/plat/t8010.c src/drivers/plat/s8001.c src/drivers/plat/t7001.c src/drivers/plat/t8015.c src/drivers/usb/synopsys_otg.c src/drivers/mipi/mipi.c src/drivers/hal/hal.c src/drivers/aes/aes_a7.c src/drivers/aes/aes_a9.c src/drivers/aes/aes.c src/drivers/xnu/xnu.c src/drivers/timer/timer.c src/drivers/recfg/recfg.c src/drivers/recfg/recfg_soc.c src/drivers/gpio/gpio.c src/drivers/uart/uart.c src/drivers/sep/sep_racer.S src/drivers/xnu/xnu.S src/modules/linux/libfdt/fdt.c src/modules/linux/libfdt/fdt_ro.c src/modules/linux/libfdt/fdt_sw.c src/modules/linux/libfdt/fdt_empty_tree.c src/modules/linux/libfdt/fdt_overlay.c src/modules/linux/libfdt/fdt_wip.c src/modules/linux/libfdt/fdt_strerror.c src/modules/linux/libfdt/fdt_rw.c src/modules/linux/libfdt/fdt_addresses.c src/modules/linux/linux.c src/lib/lzma/lzmadec.c src/lib/libDER/DER_Decode.c src/lib/libDER/DER_Encode.c src/lib/libDER/oids.c src/lib/img4/img4.c
Undefined symbols for architecture arm64:
"__strtold_r", referenced from:
pongo$exports in lto.o
"_acoshl", referenced from:
pongo$exports in lto.o
"_acosl", referenced from:
pongo$exports in lto.o
"_asinhl", referenced from:
pongo$exports in lto.o
"_nexttoward", referenced from:
pongo$exports in lto.o
"_cbrtl", referenced from:
pongo$exports in lto.o
"_nexttowardl", referenced from:
pongo$exports in lto.o
"_asinl", referenced from:
pongo$exports in lto.o
"_strtold", referenced from:
pongo$exports in lto.o
"_atanl", referenced from:
pongo$exports in lto.o
"_remainderl", referenced from:
pongo$exports in lto.o
"_nexttowardf", referenced from:
pongo$exports in lto.o
"_nearbyintl", referenced from:
pongo$exports in lto.o
"_strtold_l", referenced from:
pongo$exports in lto.o
"_tanhl", referenced from:
pongo$exports in lto.o
"_ilogbl", referenced from:
pongo$exports in lto.o
"_tgammal", referenced from:
pongo$exports in lto.o
"_coshl", referenced from:
__cchshl in libm.a(lib_a-cephes_subrl.o)
_ccoshl in libm.a(lib_a-ccoshl.o)
_csinhl in libm.a(lib_a-csinhl.o)
_ctanhl in libm.a(lib_a-ctanhl.o)
_ctanl in libm.a(lib_a-ctanl.o)
pongo$exports in lto.o
"_atanhl", referenced from:
pongo$exports in lto.o
"_wcstold", referenced from:
pongo$exports in lto.o
"_scalbnl", referenced from:
pongo$exports in lto.o
"_tanl", referenced from:
pongo$exports in lto.o
"_roundl", referenced from:
pongo$exports in lto.o
"_expl", referenced from:
__cchshl in libm.a(lib_a-cephes_subrl.o)
_cexpl in libm.a(lib_a-cexpl.o)
_cpowl in libm.a(lib_a-cpowl.o)
pongo$exports in lto.o
(maybe you meant: _explicit_bzero)
"_sinl", referenced from:
_ccoshl in libm.a(lib_a-ccoshl.o)
_ccosl in libm.a(lib_a-ccosl.o)
_cexpl in libm.a(lib_a-cexpl.o)
_cpowl in libm.a(lib_a-cpowl.o)
_csinhl in libm.a(lib_a-csinhl.o)
_csinl in libm.a(lib_a-csinl.o)
_ctanhl in libm.a(lib_a-ctanhl.o)
...
"_wcstold_l", referenced from:
pongo$exports in lto.o
"_fabsl", referenced from:
__cchshl in libm.a(lib_a-cephes_subrl.o)
__ctansl in libm.a(lib_a-cephes_subrl.o)
_csqrtl in libm.a(lib_a-csqrtl.o)
_ctanl in libm.a(lib_a-ctanl.o)
pongo$exports in lto.o
"_finitel", referenced from:
pongo$exports in lto.o
"_ldexpl", referenced from:
pongo$exports in lto.o
"_fdiml", referenced from:
pongo$exports in lto.o
"_atan2l", referenced from:
_catanl in libm.a(lib_a-catanl.o)
_clogl in libm.a(lib_a-clogl.o)
pongo$exports in lto.o
"_hypotl", referenced from:
_csqrtl in libm.a(lib_a-csqrtl.o)
pongo$exports in lto.o
(maybe you meant: ___ieee754_hypotl)
"_logl", referenced from:
_catanl in libm.a(lib_a-catanl.o)
_clogl in libm.a(lib_a-clogl.o)
_cpowl in libm.a(lib_a-cpowl.o)
pongo$exports in lto.o
"_powl", referenced from:
_cpowl in libm.a(lib_a-cpowl.o)
pongo$exports in lto.o
"_lrintl", referenced from:
pongo$exports in lto.o
"_copysignl", referenced from:
_cprojl in libm.a(lib_a-cprojl.o)
_csqrtl in libm.a(lib_a-csqrtl.o)
pongo$exports in lto.o
"_expm1l", referenced from:
pongo$exports in lto.o
"_scalblnl", referenced from:
pongo$exports in lto.o
"_erfl", referenced from:
pongo$exports in lto.o
"_truncl", referenced from:
pongo$exports in lto.o
"_nextafterl", referenced from:
pongo$exports in lto.o
"_llrintl", referenced from:
pongo$exports in lto.o
"_nanl", referenced from:
pongo$exports in lto.o
"_remquol", referenced from:
pongo$exports in lto.o
"_erfcl", referenced from:
pongo$exports in lto.o
"_modfl", referenced from:
pongo$exports in lto.o
"_sqrtl", referenced from:
_csqrtl in libm.a(lib_a-csqrtl.o)
pongo$exports in lto.o
"_exp2l", referenced from:
pongo$exports in lto.o
"_lroundl", referenced from:
pongo$exports in lto.o
"_log10l", referenced from:
pongo$exports in lto.o
"_ceill", referenced from:
pongo$exports in lto.o
"_logbl", referenced from:
pongo$exports in lto.o
"_log2l", referenced from:
pongo$exports in lto.o
"_log1pl", referenced from:
pongo$exports in lto.o
"_cosl", referenced from:
_ccoshl in libm.a(lib_a-ccoshl.o)
_ccosl in libm.a(lib_a-ccosl.o)
_cexpl in libm.a(lib_a-cexpl.o)
_cpowl in libm.a(lib_a-cpowl.o)
_csinhl in libm.a(lib_a-csinhl.o)
_csinl in libm.a(lib_a-csinl.o)
_ctanhl in libm.a(lib_a-ctanhl.o)
...
"_llroundl", referenced from:
pongo$exports in lto.o
"_lgammal", referenced from:
pongo$exports in lto.o
"_frexpl", referenced from:
pongo$exports in lto.o
"_sinhl", referenced from:
__cchshl in libm.a(lib_a-cephes_subrl.o)
_ccoshl in libm.a(lib_a-ccoshl.o)
_csinhl in libm.a(lib_a-csinhl.o)
_ctanhl in libm.a(lib_a-ctanhl.o)
_ctanl in libm.a(lib_a-ctanl.o)
pongo$exports in lto.o
"_fmodl", referenced from:
pongo$exports in lto.o
"_fminl", referenced from:
pongo$exports in lto.o
"_fmaxl", referenced from:
pongo$exports in lto.o
"_rintl", referenced from:
pongo$exports in lto.o
"_fmal", referenced from:
pongo$exports in lto.o
"_floorl", referenced from:
pongo$exports in lto.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:99: build/Pongo] Error 1

@Siguza
Copy link
Member

Siguza commented Jul 17, 2021

That sounds weird. Could it be a holdover from a pervious "failed" compilation? Does it persist if you do make -C newlib distclean; make -C newlib all?
If it does, could you post the output of llvm-nm newlib/aarch64-none-darwin/lib/libm.a?

@theIdeviceguy18383
Copy link
Author

running make -C newlib distclean; make -C newlib all worked, thanks!

@mh-cbon
Copy link

mh-cbon commented Apr 11, 2022

I am having this issue too.

$ EMBEDDED_LDFLAGS=-fuse-ld=$(pwd)/../ld64/ld64 STRIP=$(pwd)/../ld64/cctools-strip make all
...

clang -o build/Pongo --target=arm64-apple-ios12.0 -std=gnu17 -Wall -Wunused-label -Werror -O3 -flto -ffreestanding -U__nonnull -nostdlibinc -DTARGET_OS_OSX=0 -DTARGET_OS_MACCATALYST=0 -Inewlib/aarch64-none-darwin/include -nostdlib -static -Wl,-fatal_warnings -Wl,-dead_strip -Wl,-Z -fuse-ld=/home/mh-cbon/testing/PongoOS/../ld64/ld64  -DPONGO_VERSION='"2.5.1-4c9b7541"' -DAUTOBOOT -DPONGO_PRIVATE=1 -Isrc/lib -Iinclude -Iapple-include -Iinclude/modules/linux/ -Isrc/kernel -Isrc/drivers -Isrc/modules/linux/libfdt -Lnewlib/aarch64-none-darwin/lib -lc -lm -Wl,-preload -Wl,-no_uuid -Wl,-e,start -Wl,-order_file,src/sym_order.txt -Wl,-image_base,0x100000000 -Wl,-sectalign,__DATA,__common,0x8 -Wl,-segalign,0x4000 -DDER_TAG_SIZE=8 src/boot/entry.S  src/boot/stage3.c  src/boot/clearhook.S  src/boot/patches.S  src/boot/demote_patch.S  src/boot/jump_to_image.S  src/boot/main.c src/kernel/dtree.c src/kernel/dtree_getprop.c src/kernel/entry.c src/kernel/legacy.c src/kernel/locks.c src/kernel/lowlevel.c src/kernel/main_task.c src/kernel/mm.c src/kernel/panic.c src/kernel/syscall.c src/kernel/task.c src/kernel/vfs.c src/kernel/support/exit.c src/kernel/support/io.c src/kernel/support/malloc.c src/kernel/support/process.c src/kernel/support/sbrk.c src/dynamic/modload.c src/dynamic/modload_macho.c src/kernel/int.S src/shell/autoboot.c src/shell/command.c src/shell/hex.c src/shell/linux.c src/shell/main.c src/shell/usbloader.c src/drivers/aes/aes_a7.c src/drivers/aes/aes_a9.c src/drivers/aes/aes.c src/drivers/framebuffer/fb.c src/drivers/gpio/gpio.c src/drivers/hal/hal.c src/drivers/mipi/mipi.c src/drivers/plat/s5l8960.c src/drivers/plat/s8000.c src/drivers/plat/s8001.c src/drivers/plat/s8003.c src/drivers/plat/t7000.c src/drivers/plat/t7001.c src/drivers/plat/t8010.c src/drivers/plat/t8011.c src/drivers/plat/t8012.c src/drivers/plat/t8015.c src/drivers/recfg/recfg.c src/drivers/recfg/recfg_soc.c src/drivers/sep/sep.c src/drivers/timer/timer.c src/drivers/tz/tz.c src/drivers/uart/uart.c src/drivers/usb/synopsys_otg.c src/drivers/xnu/xnu.c src/drivers/sep/sep_racer.S src/drivers/xnu/xnu.S src/modules/linux/libfdt/fdt_addresses.c src/modules/linux/libfdt/fdt.c src/modules/linux/libfdt/fdt_empty_tree.c src/modules/linux/libfdt/fdt_overlay.c src/modules/linux/libfdt/fdt_ro.c src/modules/linux/libfdt/fdt_rw.c src/modules/linux/libfdt/fdt_strerror.c src/modules/linux/libfdt/fdt_sw.c src/modules/linux/libfdt/fdt_wip.c src/modules/linux/linux.c src/lib/img4/img4.c src/lib/libDER/DER_Decode.c src/lib/libDER/DER_Encode.c src/lib/libDER/oids.c src/lib/lzma/lzmadec.c
ld: warning: ignoring file /tmp/stage3-bd29a7.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x7C 0x25 0x00 0x00 )
ld: warning: ignoring file /tmp/main-c9a71e.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x34 0x0B 0x00 0x00 )
ld: warning: ignoring file /tmp/dtree-efe2e7.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x70 0x17 0x00 0x00 )
ld: warning: ignoring file /tmp/dtree_getprop-052e05.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xFC 0x11 0x00 0x00 )
ld: warning: ignoring file /tmp/entry-921e1b.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xA4 0x38 0x00 0x00 )
ld: warning: ignoring file /tmp/lowlevel-e63d81.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x90 0x74 0x00 0x00 )ld: warning: ignoring file /tmp/locks-602084.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x54 0x12 0x00 0x00 )
ld: warning: ignoring file /tmp/main_task-486767.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x58 0x15 0x00 0x00 )
ld: warning: ignoring file /tmp/mm-c09dea.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xF8 0x8A 0x00 0x00 )
ld: warning: ignoring file /tmp/panic-80b9af.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x08 0x17 0x00 0x00 )ld: warning: ignoring file /tmp/legacy-210949.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x80 0x0F 0x00 0x00 )
ld: warning: ignoring file /tmp/syscall-20f407.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xA8 0x16 0x00 0x00 )

ld: warning: ignoring file /tmp/vfs-d0e374.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x40 0x17 0x00 0x00 )
ld: warning: ignoring file /tmp/task-8edbb5.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x90 0x8D 0x00 0x00 )
ld: warning: ignoring file /tmp/io-d9382d.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x90 0x22 0x00 0x00 )
ld: warning: ignoring file /tmp/malloc-74d79d.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x70 0x0B 0x00 0x00 )
ld: warning: ignoring file /tmp/process-e1ccd7.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xC8 0x0D 0x00 0x00 )
ld: warning: ignoring file /tmp/sbrk-1a7fde.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xB0 0x0C 0x00 0x00 )

ld: warning: ignoring file /tmp/modload-4828b3.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x90 0xFB 0x05 0x00 )
ld: warning: ignoring file /tmp/exit-a34313.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x6C 0x09 0x00 0x00 )
ld: warning: ignoring file /tmp/command-1fa386.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xF4 0x29 0x00 0x00 )
ld: warning: ignoring file /tmp/linux-1f9599.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x4C 0x17 0x00 0x00 )
ld: warning: ignoring file /tmp/hex-63f220.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x74 0x12 0x00 0x00 )
ld: warning: ignoring file /tmp/autoboot-bc52b2.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x84 0x0D 0x00 0x00 )
ld: warning: ignoring file /tmp/modload_macho-b9cf1f.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xD4 0x21 0x00 0x00 )
ld: warning: ignoring file /tmp/aes_a7-229c51.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xF8 0x12 0x00 0x00 )
ld: warning: ignoring file /tmp/aes_a9-2b51e7.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x2C 0x14 0x00 0x00 )
ld: warning: ignoring file /tmp/main-108f42.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x34 0x3D 0x00 0x00 )
ld: warning: ignoring file /tmp/fb-560d54.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x44 0x36 0x00 0x00 )
ld: warning: ignoring file /tmp/usbloader-afef1a.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x40 0x20 0x00 0x00 )
ld: warning: ld: warning: ignoring file /tmp/gpio-f03ef4.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x64 0x12 0x00 0x00 )ld: warning: ignoring file /tmp/hal-8171ec.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x94 0x31 0x00 0x00 )
ld: warning: ignoring file /tmp/mipi-308826.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xF0 0x18 0x00 0x00 )
ignoring file /tmp/aes-2f6b4f.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x70 0x20 0x00 0x00 )
ld: warning: ignoring file /tmp/s8000-540515.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xE4 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/s8001-915cf5.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/s8003-176884.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xE0 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/t7000-4b5c37.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/t7001-23b89a.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/t8010-2ef240.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/t8011-7d1da0.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/t8012-2b7830.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/t8015-d7b24f.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xD8 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/recfg-9624eb.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x40 0x25 0x00 0x00 )
ld: warning: ignoring file /tmp/recfg_soc-e09d2d.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xB4 0x47 0x00 0x00 )
ld: warning: ignoring file /tmp/sep-eabf75.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xF0 0xCA 0x00 0x00 )
ld: warning: ignoring file /tmp/timer-090713.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xD4 0x0B 0x00 0x00 )
ld: warning: ignoring file /tmp/tz-7ea30e.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x64 0x1C 0x00 0x00 )
ld: warning: ignoring file /tmp/synopsys_otg-fc4896.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xEC 0x81 0x00 0x00 )

ld: warning: ignoring file /tmp/xnu-670177.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x94 0xBE 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_addresses-5c55dc.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xFC 0x11 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt-d33d91.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x4C 0x27 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_empty_tree-f27060.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xD8 0x0B 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_overlay-18bbfa.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xA0 0x2D 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_ro-39878f.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xD8 0x56 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_rw-5dba29.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x14 0x4B 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_strerror-6fc9d6.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x00 0x10 0x00 0x00 )
ld: warning: ignoring file /tmp/fdt_sw-ac82ce.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x40 0x30 0x00 0x00 )
[llvm.txt](https://github.com/checkra1n/PongoOS/files/8465845/llvm.txt)

ld: warning: ignoring file /tmp/fdt_wip-2d6e95.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x28 0x14 0x00 0x00 )
ld: warning: ignoring file /tmp/linux-8cf147.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x00 0x53 0x00 0x00 )
ld: warning: ignoring file /tmp/img4-094b36.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x58 0x36 0x00 0x00 )
ld: warning: ignoring file /tmp/DER_Decode-496123.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x08 0x20 0x00 0x00 )
ld: warning: ignoring file /tmp/DER_Encode-7cffec.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x1C 0x1E 0x00 0x00 )
ld: warning: ignoring file /tmp/oids-e194f2.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xDC 0x3F 0x00 0x00 )
ld: warning: ignoring file /tmp/lzmadec-a7f983.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xA8 0x5A 0x00 0x00 )
ld: warning: ignoring file /tmp/uart-2954d3.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x04 0x25 0x00 0x00 )
ld: warning: ignoring file /tmp/s5l8960-f456fa.o, building for free standing-arm64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0xFC 0x10 0x00 0x00 )
Undefined symbols for architecture arm64:
  "_sep_has_booted", referenced from:
      _swap_blocks in sep_racer-960391.o
  "_sep_has_panicked", referenced from:
      _swap_blocks in sep_racer-960391.o
  "_task_yield_preemption", referenced from:
      exc_handler in int-7ee3ab.o
  "_exception_stack", referenced from:
      _set_exception_stack_core0 in entry-8177b5.o
     (maybe you meant: _set_exception_stack_core0)
  "_fiq_exc", referenced from:
      Jfiq_exc in int-7ee3ab.o
      Jfiq_exc_el1sp1 in int-7ee3ab.o
  "_seprom_has_left_to_sepos", referenced from:
      _swap_blocks in sep_racer-960391.o
  "_serror_exc", referenced from:
      Jserror_exc in int-7ee3ab.o
  "_irq_exc", referenced from:
      Jirq_exc in int-7ee3ab.o
      Jirq_exc_el1sp1 in int-7ee3ab.o
  "_sched_stack", referenced from:
      _set_execution_stack_core0 in entry-8177b5.o
  "_sync_exc", referenced from:
      Jsync_exc in int-7ee3ab.o
  "_sync_exc_el0", referenced from:
      Jsync_exc_el0 in int-7ee3ab.o
  "_disable_interrupts", referenced from:
      __task_switch in int-7ee3ab.o
      _task_load in int-7ee3ab.o
  "_trampoline_entry", referenced from:
      start$l0 in entry-8177b5.o
  "_enable_interrupts", referenced from:
      __task_switch_asserted in int-7ee3ab.o
      _task_load_asserted in int-7ee3ab.o
  "_sep_check_mailbox", referenced from:
      _sep_racer in sep_racer-960391.o
  "_sep_fast_check_mailbox", referenced from:
      _sep_racer in sep_racer-960391.o
ld: symbol(s) not found for architecture arm64
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:99 : build/Pongo] Erreur 1

the output of llvm-nm newlib/aarch64-none-darwin/lib/libm.a is
llvm.txt

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

No branches or pull requests

3 participants