This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue arm-none-eabi-gcc of gcc-arm-none-eabi-6-2017-q2-update need GLIBC_2.14 and GLIBC_2.11

Dear All,

To use 'arm-none-eabi-gcc' I've got a gcc-arm-none-eabi-6-2017-q2-update.ar.bz2 from ARM Toolchain.

But I came across the following issue GLIBC_2.14 and GLIBC_2.11 need to use.

u24c02:/home/nick/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin] arm-none-eabi-gcc
arm-none-eabi-gcc: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by arm-none-eabi-gcc)
arm-none-eabi-gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by arm-none-eabi-gcc)

I'm using CentOS 5 64bit.

How do I fix my issue to use gcc-arm-none-eabi-6-2017-q2-update's arm-none-eabi-gcc?

What am I supposed to do to resolve this problem?

Parents
  • Hi,

    This is an old question but maybe still answer will be useful for all with this issue:

    So Centos 5 GLIBC version is 2.5. And toolchain you are using requires newer version of GLIBC (2.11 / 2.14). What does it mean to you ?

    Toolchain binaries (toolchain is a program as well) was build on host machine against GLIBC of that host. In our case toolchain built was on host with GLIBC 2.11 or 2.14. You then must use this toolchain on host OS with GLIBC version 2.11 (or even 2.14) onwards. Hosts with installed newer versions of GLIBC will support applications requiring the same or older version of GLIBC.

    How to check my host's GLIBC version ? On Linux type in command line:

     

    $ ldd --version

    With blessings on Docker we can actually check few Centos GLIBC versions with just one not so complicated command :)

    $ for n in {5..8}
        > do
        > docker run -it --rm centos:$n ldd --version
        > done
    ldd (GNU libc) 2.5
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    ldd (GNU libc) 2.12
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    ldd (GNU libc) 2.17
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    ldd (GNU libc) 2.28
    Copyright (C) 2018 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    

Reply
  • Hi,

    This is an old question but maybe still answer will be useful for all with this issue:

    So Centos 5 GLIBC version is 2.5. And toolchain you are using requires newer version of GLIBC (2.11 / 2.14). What does it mean to you ?

    Toolchain binaries (toolchain is a program as well) was build on host machine against GLIBC of that host. In our case toolchain built was on host with GLIBC 2.11 or 2.14. You then must use this toolchain on host OS with GLIBC version 2.11 (or even 2.14) onwards. Hosts with installed newer versions of GLIBC will support applications requiring the same or older version of GLIBC.

    How to check my host's GLIBC version ? On Linux type in command line:

     

    $ ldd --version

    With blessings on Docker we can actually check few Centos GLIBC versions with just one not so complicated command :)

    $ for n in {5..8}
        > do
        > docker run -it --rm centos:$n ldd --version
        > done
    ldd (GNU libc) 2.5
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    ldd (GNU libc) 2.12
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    ldd (GNU libc) 2.17
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    ldd (GNU libc) 2.28
    Copyright (C) 2018 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Written by Roland McGrath and Ulrich Drepper.
    

Children
No data