zephyriot / zephyr-issues

0 stars 0 forks source link

unable to follow directions to install Crosstool-NG on OS X #2083

Open nashif opened 7 years ago

nashif commented 7 years ago

Reported by Andrew Boie:

https://www.zephyrproject.org/doc/getting_started/installation_mac.html

At the step where we invoke CrossTool-NG to build the compiler, I am getting:

[INFO ]  Installing cross-gdb: done in 137.00s (at 24:44)
[INFO ]  =================================================================
[INFO ]  Finalizing the toolchain's directory
[INFO ]    Stripping all toolchain executables
[EXTRA]    Creating toolchain aliases
[EXTRA]    Removing installed documentation
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Finalizing the toolchain's directory'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoForceRmdir[scripts/functions@577]
[ERROR]  >>        called from: do_finish[scripts/build/internals.sh@141]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@653]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      '/usr/local/share/doc/crosstool-ng/crosstool-ng-1.23.0/B - Known issues.txt'
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent to this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>      http://crosstool-ng.github.io/support/
[ERROR]  
[ERROR]  (elapsed: 24:45.00)
make: *** [build] Error 1
andrew@magrathea:/Volumes/CrossToolNG/build (2)

(Imported from Jira ZEP-2247)

nashif commented 7 years ago

by Andrew Boie:

nashif commented 7 years ago

by Andrew Boie:

nashif commented 7 years ago

by Andrew Boie:

Attaching build.log and the .config I was using.

nashif commented 7 years ago

by Andrew Boie:

Possibly related? https://stackoverflow.com/questions/10666570/binutils-stat-illegal-option-c