retitle 964681 klibc: FTBFS: ld: cannot use executable file 'usr/klibc/libc.so' as input to a link thanks
Lucas Nussbaum dixit: >> ld -m elf_x86_64 --build-id=sha1 -o usr/kinit/ipconfig/shared/ipconfig -e >> main usr/klibc/interp.o --start-group usr/kinit/ipconfig/main.o >> usr/kinit/ipconfig/netdev.o usr/kinit/ipconfig/packet.o >> usr/kinit/ipconfig/dhcp_proto.o usr/kinit/ipconfig/bootp_proto.o -R >> usr/klibc/libc.so /usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a --end-group ; cp >> -f usr/kinit/ipconfig/shared/ipconfig usr/kinit/ipconfig/shared/ipconfig.g ; >> true --strip-all -R .comment -R .note --strip-all -R .comment -R .note >> --strip-all -R .comment -R .note usr/kinit/ipconfig/shared/ipconfig >> ld: cannot use executable file 'usr/klibc/libc.so' as input to a link This seems to be the real error. bye, //mirabilos -- <ch> you introduced a merge commit │<mika> % g rebase -i HEAD^^ <mika> sorry, no idea and rebasing just fscked │<mika> Segmentation <ch> should have cloned into a clean repo │ fault (core dumped) <ch> if I rebase that now, it's really ugh │<mika:#grml> wuahhhhhh