RPi build issue on OSX

Nathan Plesnicher nplez1@gmail.com
Thu May 16 20:55:00 GMT 2013

I am having some trouble getting the RPi sample to build using
homebrew on Mountain Lion. I am getting the following error in the
'Installing C library headers & start files' step:

[CFG  ]    checking for __thread... yes
[CFG  ]    checking for tls_model attribute... yes
[CFG  ]    checking for compiler option to disable generation of FMA
instructions... -ffp-contract=off
[CFG  ]    checking for libgd... no
[CFG  ]    checking for is_selinux_enabled in -lselinux... no
[CFG  ]    checking size of long double... 8
[CFG  ]    checking for _FORTIFY_SOURCE predefine... no
[ERROR]    checking whether armv6-rpi-linux-gnueabi-gcc     implicitly
enables -fstack-protector... configure: error: unexpected symbols in
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library headers & start files'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from:
[ERROR]  >>        called from:
[ERROR]  >>        called from:
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@632]
[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]  >>      '/Volumes/CrossTool2NG/crosstool-ng-1.18.0/docs/B -
Known issues.txt'
[ERROR]  (elapsed: 6:48.00)

Looks like some sort of script problem but I am having trouble
locating the specific problem. Any ideas?

Not sure it matters, but I have been able to successfully build a
toolchain using the non-Linaro gcc w/ the standard glibc (instead of
eglibc) after applying a few manual patches, but I was hoping I could
get the RPi sample to work since I am building the toolchain for RPi

For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list