{"action":"closed","issue":{"url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/228","labels_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/228/comments","events_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/228/events","html_url":"https://github.com/crosstool-ng/crosstool-ng/issues/228","id":113841777,"number":228,"title":"Old glibc configuration error: These critical programs are missing or too old","user":{"login":"oblique","id":194040,"avatar_url":"https://avatars.githubusercontent.com/u/194040?v=3","gravatar_id":"","url":"https://api.github.com/users/oblique","html_url":"https://github.com/oblique","followers_url":"https://api.github.com/users/oblique/followers","following_url":"https://api.github.com/users/oblique/following{/other_user}","gists_url":"https://api.github.com/users/oblique/gists{/gist_id}","starred_url":"https://api.github.com/users/oblique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblique/subscriptions","organizations_url":"https://api.github.com/users/oblique/orgs","repos_url":"https://api.github.com/users/oblique/repos","events_url":"https://api.github.com/users/oblique/events{/privacy}","received_events_url":"https://api.github.com/users/oblique/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-28T15:03:02Z","updated_at":"2015-10-28T18:14:09Z","closed_at":"2015-10-28T18:14:09Z","body":"Hi,\r\n\r\nGlibc is checking the version of some critical programs (to be more specific: as, ld, gcc, make) and if a program is an old one then it fails on the configuration.\r\nThe problem is that my programs are newer, so the regex of `AC_CHECK_PROG_VER` in `configure.{in,ac}` it fails. You can reproduce this very easy if you choose glibc 2.8.\r\n\r\nThis problem will also exists in the future with the current glibc versions.\r\n\r\nOne approach to fix this is to provide a patch for all glibc versions that will disable all `AC_CHECK_PROG_VER` checks or a script that will automatically remove the checks. This will also work in the future. If this is ok with you, then I can contribute.\r\n\r\nThe error from the build.log:\r\n```\r\n[CFG  ]    checking whether we are using the GNU C compiler... yes\r\n[CFG  ]    checking whether arm-none-linux-gnueabi-gcc     accepts -g... yes\r\n[CFG  ]    checking for arm-none-linux-gnueabi-gcc     option to accept ISO C89... unsupported\r\n[CFG  ]    checking for gcc... x86_64-build_unknown-linux-gnu-gcc\r\n[CFG  ]    checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc     -E\r\n[CFG  ]    checking for arm-none-linux-gnueabi-g++... arm-none-linux-gnueabi-g++\r\n[CFG  ]    checking whether we are using the GNU C++ compiler... yes\r\n[CFG  ]    checking whether arm-none-linux-gnueabi-g++ accepts -g... yes\r\n[CFG  ]    checking whether /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/as is GNU as... yes\r\n[CFG  ]    checking whether /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/ld is GNU ld... yes\r\n[CFG  ]    checking for /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/as... /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/as\r\n[CFG  ]    checking version of /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/as... 2.25.1, bad\r\n[CFG  ]    checking for /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/ld... /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/ld\r\n[CFG  ]    checking version of /mnt/hdd/ct-ng/.build/arm-none-linux-gnueabi/buildtools/lib/gcc/arm-none-linux-gnueabi/5.2.0/../../../../arm-none-linux-gnueabi/bin/ld... 2.25.1, bad\r\n[CFG  ]    checking for pwd... /usr/bin/pwd\r\n[CFG  ]    checking for arm-none-linux-gnueabi-gcc... (cached) arm-none-linux-gnueabi-gcc    \r\n[CFG  ]    checking version of arm-none-linux-gnueabi-gcc    ... 5.2.0, bad\r\n[CFG  ]    checking for gnumake... no\r\n[CFG  ]    checking for gmake... no\r\n[CFG  ]    checking for make... make\r\n[CFG  ]    checking version of make... 4.1, bad\r\n[CFG  ]    checking for gnumsgfmt... no\r\n[CFG  ]    checking for gmsgfmt... no\r\n[CFG  ]    checking for msgfmt... msgfmt\r\n[CFG  ]    checking version of msgfmt... 0.19.6, ok\r\n[CFG  ]    checking for makeinfo... makeinfo\r\n[CFG  ]    checking version of makeinfo... 5.2, bad\r\n[CFG  ]    checking for sed... sed\r\n[CFG  ]    checking version of sed... v. ?.??, bad\r\n[CFG  ]    checking for autoconf... autoconf\r\n[CFG  ]    checking whether autoconf works... yes\r\n[ERROR]    configure: error:\r\n[CFG  ]    *** These critical programs are missing or too old: as ld gcc make\r\n[CFG  ]    *** Check the INSTALL file for required versions.\r\n[ERROR]  \r\n[ERROR]  >>\r\n[ERROR]  >>  Build failed in step 'Installing C library headers & start files'\r\n[ERROR]  >>        called in step '(top-level)'\r\n[ERROR]  >>\r\n[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]\r\n[ERROR]  >>        called from: do_libc_backend_once[scripts/build/libc/glibc.sh@348]\r\n[ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc.sh@153]\r\n[ERROR]  >>        called from: do_libc_start_files[scripts/build/libc/glibc.sh@70]\r\n[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@638]\r\n[ERROR]  >>\r\n[ERROR]  >>  For more info on this error, look at the file: 'build.log'\r\n[ERROR]  >>  There is a list of known issues, some with workarounds, in:\r\n[ERROR]  >>      '/usr/share/doc/crosstool-ng/crosstool-ng-1.21.0-177-g195f6f2/B - Known issues.txt'\r\n[ERROR]  \r\n[ERROR]  (elapsed: 6:56.91)\r\n```"}}