M
Matesax
Guest
Hi,
I want to get information how can I build C library system (header files, object files, etc.), because I developing my own operating system in Assembly Language and I want execute UNIX executable files. Therefore I try to build SOS (Simple Operating System - http://sos.enix.org/fr/PagePrincipale). And it returning this error:
cc -static -Wl,--warn-common -nostdlib -Wl,-Tldscript.lds -o init fstest_utils.o init.o crt.o crt_asm.o libc.a /usr/lib/gcc/i686-linux-gnu/4.7/libgcc.a
/usr/bin/ld: internal error ../../ld/ldlang.c 4983
collect2: error: ld returned 1 exit status
OK, ld is EXT4 symbolic link onto BFD file (ld.bfd). In this BFD it's possible find only one match of "ldlang.c" in less then 4983th line. ldlang.c not exists at all. 4983th line not contains any interesting thing.
Thank you for any help!
I want to get information how can I build C library system (header files, object files, etc.), because I developing my own operating system in Assembly Language and I want execute UNIX executable files. Therefore I try to build SOS (Simple Operating System - http://sos.enix.org/fr/PagePrincipale). And it returning this error:
cc -static -Wl,--warn-common -nostdlib -Wl,-Tldscript.lds -o init fstest_utils.o init.o crt.o crt_asm.o libc.a /usr/lib/gcc/i686-linux-gnu/4.7/libgcc.a
/usr/bin/ld: internal error ../../ld/ldlang.c 4983
collect2: error: ld returned 1 exit status
OK, ld is EXT4 symbolic link onto BFD file (ld.bfd). In this BFD it's possible find only one match of "ldlang.c" in less then 4983th line. ldlang.c not exists at all. 4983th line not contains any interesting thing.
Thank you for any help!