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

Linker issues #7

Open
urherenow opened this issue Nov 8, 2018 · 0 comments
Open

Linker issues #7

urherenow opened this issue Nov 8, 2018 · 0 comments

Comments

@urherenow
Copy link

urherenow commented Nov 8, 2018

latest DKP and libs and latest source here does not build. Linker fails with tons of undefined references. Nothing wrong with my setup as other projects build just fine.

Small example:

/opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(nv50_ir_emit_gk110.o):nv50_ir_emit_gk110.cpp:(.text._ZN7nv50_ir16CodeEmitterGK11014setImmediate32EPKNS_11InstructionEiNS_8ModifierE+0x268): more undefined references to operator delete(void*)' follow /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(nv50_ir_emit_gk110.o):(.data.rel.ro._ZTIN7nv50_ir16CodeEmitterGK110E[_ZTIN7nv50_ir16CodeEmitterGK110E]+0x0): undefined reference to vtable for __cxxabiv1::__si_class_type_info'
/opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/libnx/lib/libnx.a(thread.o): in function threadCreate': /home/fincs/pacman-packages/libnx/src/source/kernel/thread.c:48: undefined reference to __tls_start'
/opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/fincs/pacman-packages/libnx/src/source/kernel/thread.c:48: undefined reference to __tls_end' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/fincs/pacman-packages/libnx/src/source/kernel/thread.c:48: undefined reference to __tls_end'

and by the way... why is it showing /home/fincs...? Does not exist in my setup. Mistake in libnx?

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

1 participant