[build2] error: unable to execute ar: no such file or directory

Mueller Tobias (DC-MH/EMF1) tobias.mueller2 at boschrexroth.de
Thu Feb 22 19:05:05 UTC 2018


Hi Boris,

WITHOUT setting of config.bin.ar:
b -V
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -v
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -print-multiarch -O2 -finline -mcpu=MCU_JDP_UC1 -DGNU -mhard-float -fmessage-length=0 -mfixed-sda -DHWTGT_RC4640 -DBYP_OFF -DDEVLFCT_OFF
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -dumpmachine -O2 -finline -mcpu=MCU_JDP_UC1 -DGNU -mhard-float -fmessage-length=0 -mfixed-sda -DHWTGT_RC4640 -DBYP_OFF -DDEVLFCT_OFF
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -print-search-dirs
c DRC at C:\Projekte\Build2\STM\
  c          c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe
  id         gcc
  version    4.6.4 build on 2017-03-23 (HighTec Release HDP-v4.6.6.1-bosch-1.3-e59ccb3)
  major      4
  minor      6
  patch      4
  build      build on 2017-03-23 (HighTec Release HDP-v4.6.6.1-bosch-1.3-e59ccb3)
  signature  gcc version 4.6.4 build on 2017-03-23 (HighTec Release HDP-v4.6.6.1-bosch-1.3-e59ccb3)
  target     ppc-ht-eabi
  pattern    c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-*.exe
  lib dirs
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\lib\gcc\ppc-ht-eabi\4.6.4\
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\lib\gcc\
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\ppc-ht-eabi\lib\ppc-ht-eabi\4.6.4\
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\ppc-ht-eabi\lib\
  checksum   119e61e37536c67bcfcfb6c78c1a9fd27e389acd67024c9c6daadf2cab1f58f2
bin DRC at C:\Projekte\Build2\STM\
  target     ppc-ht-eabi
  pattern    c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/
error: unable to execute ar: no such file or directory
info: scheduler statistics:

  thread_max_active      8
  thread_max_total       256
  thread_helpers         0
  thread_max_waiting     0

  task_queue_depth       32
  task_queue_full        0

  wait_queue_slots       67
  wait_queue_collisions  0


WITH config.bin.ar set:
b -V
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -v
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -print-multiarch -O2 -finline -mcpu=MCU_JDP_UC1 -DGNU -mhard-float -fmessage-length=0 -mfixed-sda -DHWTGT_RC4640 -DBYP_OFF -DDEVLFCT_OFF
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -dumpmachine -O2 -finline -mcpu=MCU_JDP_UC1 -DGNU -mhard-float -fmessage-length=0 -mfixed-sda -DHWTGT_RC4640 -DBYP_OFF -DDEVLFCT_OFF
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe -print-search-dirs
c DRC at C:\Projekte\Build2\STM\
  c          c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-gcc.exe
  id         gcc
  version    4.6.4 build on 2017-03-23 (HighTec Release HDP-v4.6.6.1-bosch-1.3-e59ccb3)
  major      4
  minor      6
  patch      4
  build      build on 2017-03-23 (HighTec Release HDP-v4.6.6.1-bosch-1.3-e59ccb3)
  signature  gcc version 4.6.4 build on 2017-03-23 (HighTec Release HDP-v4.6.6.1-bosch-1.3-e59ccb3)
  target     ppc-ht-eabi
  pattern    c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-*.exe
  lib dirs
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\lib\gcc\ppc-ht-eabi\4.6.4\
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\lib\gcc\
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\ppc-ht-eabi\lib\ppc-ht-eabi\4.6.4\
    c:\tools\compiler\cd_v4.6.6.1-bosch-1.3a\ppc-ht-eabi\lib\
  checksum   119e61e37536c67bcfcfb6c78c1a9fd27e389acd67024c9c6daadf2cab1f58f2
bin DRC at C:\Projekte\Build2\STM\
  target     ppc-ht-eabi
  pattern    c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-ar.exe --version
c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-ar.exe
error: unable to guess c:/Tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-ar.exe signature
info: scheduler statistics:

  thread_max_active      8
  thread_max_total       256
  thread_helpers         0
  thread_max_waiting     0

  task_queue_depth       32
  task_queue_full        0

  wait_queue_slots       67
  wait_queue_collisions  0

Thanks
Tobias


-----Ursprüngliche Nachricht-----
Von: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Gesendet: Donnerstag, 22. Februar 2018 17:43
An: Mueller Tobias (DC-MH/EMF1) <tobias.mueller2 at boschrexroth.de>
Cc: users at build2.org
Betreff: Re: [build2] error: unable to execute ar: no such file or directory

Mueller Tobias (DC-MH/EMF1) <tobias.mueller2 at boschrexroth.de> writes:

> Here the output from 
> C:/tools/Compiler/cd_v4.6.6.1-bosch-1.3a/bin/ppc-vle-ar.exe --version 
> ppc-vle-ar (HighTec Release HDP-v4.6.6.1-bosch-1.3-3c1e3bc) build on 
> 2017-03-23 (GNU Binutils) 2.20
>
> As a comparison also the output of the Tricore compiler: 
> c:\Tools\Compiler\HighTec\Tricore\3.4.6.1\bin\tricore-ar.exe --version 
> GNU ar version 2.13 (tricore) using BFD version 2.13 (2008-12-10)

Thanks for this. I've improved the signature detection to cover this.

Could you also send the result of running 'b -V' before you set config.bin.ar; I would like to understand why it is not found automatically?

Thanks,
Boris



More information about the users mailing list