SOS - /usr/bin/ld: internal error ../../ld/ldlang.c 4983

Discussion in 'Command Line' started by Matesax, Feb 22, 2014.

  1. Matesax

    Matesax Member

    Joined:
    Feb 6, 2014
    Messages:
    62
    Likes Received:
    11
    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!

     
  2. arochester

    arochester Super Moderator Staff Member

    Joined:
    Nov 23, 2012
    Messages:
    1,131
    Likes Received:
    372
  3. Matesax

    Matesax Member

    Joined:
    Feb 6, 2014
    Messages:
    62
    Likes Received:
    11
    OK - show me a newer please - It can be solution too... (same simple)
     
  4. arochester

    arochester Super Moderator Staff Member

    Joined:
    Nov 23, 2012
    Messages:
    1,131
    Likes Received:
    372

Share This Page