* Fwd: Issue building toolchain with newlib on Yosemite [not found] <0842FA64-B201-420C-B0F6-DF2E262BEE3E@icloud.com> @ 2015-02-20 4:38 ` John Wood 2015-02-20 5:53 ` Reinoud Koornstra 0 siblings, 1 reply; 8+ messages in thread From: John Wood @ 2015-02-20 4:38 UTC (permalink / raw) To: crossgcc Greetings, I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. Has anyone seen this? Thanks, Wood [INFO ] Installing C library [EXTRA] Configuring C library [EXTRA] Building C library [EXTRA] Installing C library [ERROR] make[4]: *** [install-linux] Error 1 [ERROR] make[3]: *** [install] Error 2 [ERROR] make[2]: *** [install-target-libgloss] Error 2 [ERROR] make[1]: *** [install] Error 2 [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing C library’ [ERROR] >> called in step '(top-level)’ -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fwd: Issue building toolchain with newlib on Yosemite 2015-02-20 4:38 ` Fwd: Issue building toolchain with newlib on Yosemite John Wood @ 2015-02-20 5:53 ` Reinoud Koornstra 2015-02-21 1:44 ` John Wood 0 siblings, 1 reply; 8+ messages in thread From: Reinoud Koornstra @ 2015-02-20 5:53 UTC (permalink / raw) To: John Wood; +Cc: crossgcc Hi, The part of the buildlog file where it failed would help. The info right now is very minimal as I've not seen it before. On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: > > Greetings, > > I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. > > Has anyone seen this? > > Thanks, > Wood > > [INFO ] Installing C library > [EXTRA] Configuring C library > [EXTRA] Building C library > [EXTRA] Installing C library > [ERROR] make[4]: *** [install-linux] Error 1 > [ERROR] make[3]: *** [install] Error 2 > [ERROR] make[2]: *** [install-target-libgloss] Error 2 > [ERROR] make[1]: *** [install] Error 2 > [ERROR] > [ERROR] >> > [ERROR] >> Build failed in step 'Installing C library’ > [ERROR] >> called in step '(top-level)’ > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Issue building toolchain with newlib on Yosemite 2015-02-20 5:53 ` Reinoud Koornstra @ 2015-02-21 1:44 ` John Wood 2015-02-21 4:31 ` John Wood 0 siblings, 1 reply; 8+ messages in thread From: John Wood @ 2015-02-21 1:44 UTC (permalink / raw) To: Reinoud Koornstra; +Cc: crossgcc Thanks, Here is the failure [ALL ] /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 crt0.o /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x [ALL ] set -e; for x in linux-crt0.o libgloss-linux.a; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 $x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done [ALL ] set -e; for x in linux.specs; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 /Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/$x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done [ALL ] /usr/local/bin/ginstall: cannot stat '/Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/linux.specs': No such file or directory [ERROR] make[4]: *** [install-linux] Error 1 [ERROR] make[3]: *** [install] Error 2 [ERROR] make[2]: *** [install-target-libgloss] Error 2 [ERROR] make[1]: *** [install] Error 2 [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing C library' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] [ERROR] >> called from: do_libc[scripts/build/libc/newlib.sh@133] [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] [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/Embedded/tools/crosstool-ng/docs/B - Known issues.txt' [ERROR] [ERROR] (elapsed: 5:37.00) > On Feb 20, 2015, at 12:53 AM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: > > Hi, > > The part of the buildlog file where it failed would help. The info > right now is very minimal as I've not seen it before. > > > > On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: >> >> Greetings, >> >> I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. >> >> Has anyone seen this? >> >> Thanks, >> Wood >> >> [INFO ] Installing C library >> [EXTRA] Configuring C library >> [EXTRA] Building C library >> [EXTRA] Installing C library >> [ERROR] make[4]: *** [install-linux] Error 1 >> [ERROR] make[3]: *** [install] Error 2 >> [ERROR] make[2]: *** [install-target-libgloss] Error 2 >> [ERROR] make[1]: *** [install] Error 2 >> [ERROR] >> [ERROR] >> >> [ERROR] >> Build failed in step 'Installing C library’ >> [ERROR] >> called in step '(top-level)’ >> >> >> -- >> For unsubscribe information see http://sourceware.org/lists.html#faq >> > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Issue building toolchain with newlib on Yosemite 2015-02-21 1:44 ` John Wood @ 2015-02-21 4:31 ` John Wood 2015-02-21 4:50 ` Bryan Hundven 2015-02-21 4:54 ` Bryan Hundven 0 siblings, 2 replies; 8+ messages in thread From: John Wood @ 2015-02-21 4:31 UTC (permalink / raw) To: Reinoud Koornstra; +Cc: crossgcc Success!!! Found the problem, I was building with the Linaro binutils and linaro newlib. Changed these to straight binutils and newlib and successfully built the entire toolchain including gdb for arm-unknown-eabi including gdb. BTW, how to I change the tool to be arm-eabi instead of arm-unknown-eabi? Awesome. I built with mutilibs so I am hoping I have support for all my targets. I will take a look at the build output and check my flags and see that they make sense. I am looking to develop for the STM32, some older powerPC devices and PIC32 using these tools on MACOS. I will report if I can successfully build all three platforms. At this time I am not testing the toolchains but I hope to start working with the soon. Woody > On Feb 20, 2015, at 8:44 PM, John Wood <woody244@icloud.com> wrote: > > Thanks, > > Here is the failure > > > [ALL ] /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 crt0.o /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x > [ALL ] set -e; for x in linux-crt0.o libgloss-linux.a; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 $x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > [ALL ] set -e; for x in linux.specs; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 /Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/$x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > [ALL ] /usr/local/bin/ginstall: cannot stat '/Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/linux.specs': No such file or directory > [ERROR] make[4]: *** [install-linux] Error 1 > [ERROR] make[3]: *** [install] Error 2 > [ERROR] make[2]: *** [install-target-libgloss] Error 2 > [ERROR] make[1]: *** [install] Error 2 > [ERROR] > [ERROR] >> > [ERROR] >> Build failed in step 'Installing C library' > [ERROR] >> called in step '(top-level)' > [ERROR] >> > [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] > [ERROR] >> called from: do_libc[scripts/build/libc/newlib.sh@133] > [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] > [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/Embedded/tools/crosstool-ng/docs/B - Known issues.txt' > [ERROR] > [ERROR] (elapsed: 5:37.00) > > > >> On Feb 20, 2015, at 12:53 AM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: >> >> Hi, >> >> The part of the buildlog file where it failed would help. The info >> right now is very minimal as I've not seen it before. >> >> >> >> On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: >>> >>> Greetings, >>> >>> I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. >>> >>> Has anyone seen this? >>> >>> Thanks, >>> Wood >>> >>> [INFO ] Installing C library >>> [EXTRA] Configuring C library >>> [EXTRA] Building C library >>> [EXTRA] Installing C library >>> [ERROR] make[4]: *** [install-linux] Error 1 >>> [ERROR] make[3]: *** [install] Error 2 >>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 >>> [ERROR] make[1]: *** [install] Error 2 >>> [ERROR] >>> [ERROR] >> >>> [ERROR] >> Build failed in step 'Installing C library’ >>> [ERROR] >> called in step '(top-level)’ >>> >>> >>> -- >>> For unsubscribe information see http://sourceware.org/lists.html#faq >>> >> >> -- >> For unsubscribe information see http://sourceware.org/lists.html#faq >> > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Issue building toolchain with newlib on Yosemite 2015-02-21 4:31 ` John Wood @ 2015-02-21 4:50 ` Bryan Hundven 2015-02-21 4:55 ` John Wood 2015-02-21 4:54 ` Bryan Hundven 1 sibling, 1 reply; 8+ messages in thread From: Bryan Hundven @ 2015-02-21 4:50 UTC (permalink / raw) To: John Wood; +Cc: Reinoud Koornstra, crossgcc [-- Attachment #1: Type: text/plain, Size: 4706 bytes --] John, On Fri, 2015-02-20 at 23:30 -0500, John Wood wrote: > Success!!! > > Found the problem, I was building with the Linaro binutils and linaro > newlib. Changed these to straight binutils and newlib and successfully > built the entire toolchain including gdb for arm-unknown-eabi including > gdb. BTW, how to I change the tool to be arm-eabi instead of > arm-unknown-eabi? I just merged a change to add config knobs to binutils and glibc for enabling/disabling linaro support. I think I forgot newlib, so I'll look look into that For "arm-eabi", I would recommend: CT_TARGET_ALIAS="arm-eabi" > > Awesome. I built with mutilibs so I am hoping I have support for all > my targets. I will take a look at the build output and check my flags > and see that they make sense. > > I am looking to develop for the STM32, some older powerPC devices and > PIC32 using these tools on MACOS. I will report if I can successfully > build all three platforms. At this time I am not testing the > toolchains but I hope to start working with the soon. > > Woody > > > > On Feb 20, 2015, at 8:44 PM, John Wood <woody244@icloud.com> wrote: > > > Thanks, > > > > Here is the failure > > > > > > [ALL ] /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 crt0.o /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x > > [ALL ] set -e; for x in linux-crt0.o libgloss-linux.a; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 $x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > > [ALL ] set -e; for x in linux.specs; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 /Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/$x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > > [ALL ] /usr/local/bin/ginstall: cannot stat '/Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/linux.specs': No such file or directory > > [ERROR] make[4]: *** [install-linux] Error 1 > > [ERROR] make[3]: *** [install] Error 2 > > [ERROR] make[2]: *** [install-target-libgloss] Error 2 > > [ERROR] make[1]: *** [install] Error 2 > > [ERROR] > > [ERROR] >> > > [ERROR] >> Build failed in step 'Installing C library' > > [ERROR] >> called in step '(top-level)' > > [ERROR] >> > > [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] > > [ERROR] >> called from: do_libc[scripts/build/libc/newlib.sh@133] > > [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] > > [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/Embedded/tools/crosstool-ng/docs/B - Known issues.txt' > > [ERROR] > > [ERROR] (elapsed: 5:37.00) > > > > > > > >> On Feb 20, 2015, at 12:53 AM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: > >> > >> Hi, > >> > >> The part of the buildlog file where it failed would help. The info > >> right now is very minimal as I've not seen it before. > >> > >> > >> > >> On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: > >>> > >>> Greetings, > >>> > >>> I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. > >>> > >>> Has anyone seen this? > >>> > >>> Thanks, > >>> Wood > >>> > >>> [INFO ] Installing C library > >>> [EXTRA] Configuring C library > >>> [EXTRA] Building C library > >>> [EXTRA] Installing C library > >>> [ERROR] make[4]: *** [install-linux] Error 1 > >>> [ERROR] make[3]: *** [install] Error 2 > >>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 > >>> [ERROR] make[1]: *** [install] Error 2 > >>> [ERROR] > >>> [ERROR] >> > >>> [ERROR] >> Build failed in step 'Installing C library’ > >>> [ERROR] >> called in step '(top-level)’ > >>> > >>> > >>> -- > >>> For unsubscribe information see http://sourceware.org/lists.html#faq > >>> > >> > >> -- > >> For unsubscribe information see http://sourceware.org/lists.html#faq > >> > > > > > > -- > > For unsubscribe information see http://sourceware.org/lists.html#faq > > > > > -- For unsubscribe information see http://sourceware.org/lists.html#faq > -- -Bryan [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Issue building toolchain with newlib on Yosemite 2015-02-21 4:50 ` Bryan Hundven @ 2015-02-21 4:55 ` John Wood 2015-02-21 5:17 ` Bryan Hundven 0 siblings, 1 reply; 8+ messages in thread From: John Wood @ 2015-02-21 4:55 UTC (permalink / raw) To: Bryan Hundven; +Cc: Reinoud Koornstra, crossgcc Thanks, Woody > On Feb 20, 2015, at 11:50 PM, Bryan Hundven <bryanhundven@gmail.com> wrote: > > John, > > On Fri, 2015-02-20 at 23:30 -0500, John Wood wrote: >> Success!!! >> >> Found the problem, I was building with the Linaro binutils and linaro >> newlib. Changed these to straight binutils and newlib and successfully >> built the entire toolchain including gdb for arm-unknown-eabi including >> gdb. BTW, how to I change the tool to be arm-eabi instead of >> arm-unknown-eabi? > > I just merged a change to add config knobs to binutils and glibc for > enabling/disabling linaro support. I think I forgot newlib, so I'll look > look into that > > For "arm-eabi", I would recommend: > > CT_TARGET_ALIAS="arm-eabi" > >> >> Awesome. I built with mutilibs so I am hoping I have support for all >> my targets. I will take a look at the build output and check my flags >> and see that they make sense. >> >> I am looking to develop for the STM32, some older powerPC devices and >> PIC32 using these tools on MACOS. I will report if I can successfully >> build all three platforms. At this time I am not testing the >> toolchains but I hope to start working with the soon. >> >> Woody >> >> >>> On Feb 20, 2015, at 8:44 PM, John Wood <woody244@icloud.com> wrote: > > >>> Thanks, >>> >>> Here is the failure >>> >>> >>> [ALL ] /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 crt0.o /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x >>> [ALL ] set -e; for x in linux-crt0.o libgloss-linux.a; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 $x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done >>> [ALL ] set -e; for x in linux.specs; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 /Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/$x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done >>> [ALL ] /usr/local/bin/ginstall: cannot stat '/Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/linux.specs': No such file or directory >>> [ERROR] make[4]: *** [install-linux] Error 1 >>> [ERROR] make[3]: *** [install] Error 2 >>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 >>> [ERROR] make[1]: *** [install] Error 2 >>> [ERROR] >>> [ERROR] >> >>> [ERROR] >> Build failed in step 'Installing C library' >>> [ERROR] >> called in step '(top-level)' >>> [ERROR] >> >>> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] >>> [ERROR] >> called from: do_libc[scripts/build/libc/newlib.sh@133] >>> [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] >>> [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/Embedded/tools/crosstool-ng/docs/B - Known issues.txt' >>> [ERROR] >>> [ERROR] (elapsed: 5:37.00) >>> >>> >>> >>>> On Feb 20, 2015, at 12:53 AM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: >>>> >>>> Hi, >>>> >>>> The part of the buildlog file where it failed would help. The info >>>> right now is very minimal as I've not seen it before. >>>> >>>> >>>> >>>> On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: >>>>> >>>>> Greetings, >>>>> >>>>> I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. >>>>> >>>>> Has anyone seen this? >>>>> >>>>> Thanks, >>>>> Wood >>>>> >>>>> [INFO ] Installing C library >>>>> [EXTRA] Configuring C library >>>>> [EXTRA] Building C library >>>>> [EXTRA] Installing C library >>>>> [ERROR] make[4]: *** [install-linux] Error 1 >>>>> [ERROR] make[3]: *** [install] Error 2 >>>>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 >>>>> [ERROR] make[1]: *** [install] Error 2 >>>>> [ERROR] >>>>> [ERROR] >> >>>>> [ERROR] >> Build failed in step 'Installing C library’ >>>>> [ERROR] >> called in step '(top-level)’ >>>>> >>>>> >>>>> -- >>>>> For unsubscribe information see http://sourceware.org/lists.html#faq >>>>> >>>> >>>> -- >>>> For unsubscribe information see http://sourceware.org/lists.html#faq >>>> >>> >>> >>> -- >>> For unsubscribe information see http://sourceware.org/lists.html#faq >>> >> >> >> -- For unsubscribe information see http://sourceware.org/lists.html#faq >> > > -- > -Bryan -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Issue building toolchain with newlib on Yosemite 2015-02-21 4:55 ` John Wood @ 2015-02-21 5:17 ` Bryan Hundven 0 siblings, 0 replies; 8+ messages in thread From: Bryan Hundven @ 2015-02-21 5:17 UTC (permalink / raw) To: John Wood; +Cc: Reinoud Koornstra, crossgcc [-- Attachment #1: Type: text/plain, Size: 5420 bytes --] John, On Fri, 2015-02-20 at 23:54 -0500, John Wood wrote: > Thanks, > Woody I've posted a pull request for the newlib linaro config knob here: https://github.com/crosstool-ng/crosstool-ng/pull/50 Also, please don't top post. It's just a netiquette thing: http://en.wikipedia.org/wiki/Posting_style > > > On Feb 20, 2015, at 11:50 PM, Bryan Hundven <bryanhundven@gmail.com> wrote: > > > > John, > > > > On Fri, 2015-02-20 at 23:30 -0500, John Wood wrote: > >> Success!!! > >> > >> Found the problem, I was building with the Linaro binutils and linaro > >> newlib. Changed these to straight binutils and newlib and successfully > >> built the entire toolchain including gdb for arm-unknown-eabi including > >> gdb. BTW, how to I change the tool to be arm-eabi instead of > >> arm-unknown-eabi? > > > > I just merged a change to add config knobs to binutils and glibc for > > enabling/disabling linaro support. I think I forgot newlib, so I'll look > > look into that > > > > For "arm-eabi", I would recommend: > > > > CT_TARGET_ALIAS="arm-eabi" > > > >> > >> Awesome. I built with mutilibs so I am hoping I have support for all > >> my targets. I will take a look at the build output and check my flags > >> and see that they make sense. > >> > >> I am looking to develop for the STM32, some older powerPC devices and > >> PIC32 using these tools on MACOS. I will report if I can successfully > >> build all three platforms. At this time I am not testing the > >> toolchains but I hope to start working with the soon. > >> > >> Woody > >> > >> > >>> On Feb 20, 2015, at 8:44 PM, John Wood <woody244@icloud.com> wrote: > > > > >>> Thanks, > >>> > >>> Here is the failure > >>> > >>> > >>> [ALL ] /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 crt0.o /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x > >>> [ALL ] set -e; for x in linux-crt0.o libgloss-linux.a; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 $x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > >>> [ALL ] set -e; for x in linux.specs; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 /Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/$x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > >>> [ALL ] /usr/local/bin/ginstall: cannot stat '/Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/linux.specs': No such file or directory > >>> [ERROR] make[4]: *** [install-linux] Error 1 > >>> [ERROR] make[3]: *** [install] Error 2 > >>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 > >>> [ERROR] make[1]: *** [install] Error 2 > >>> [ERROR] > >>> [ERROR] >> > >>> [ERROR] >> Build failed in step 'Installing C library' > >>> [ERROR] >> called in step '(top-level)' > >>> [ERROR] >> > >>> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] > >>> [ERROR] >> called from: do_libc[scripts/build/libc/newlib.sh@133] > >>> [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] > >>> [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/Embedded/tools/crosstool-ng/docs/B - Known issues.txt' > >>> [ERROR] > >>> [ERROR] (elapsed: 5:37.00) > >>> > >>> > >>> > >>>> On Feb 20, 2015, at 12:53 AM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: > >>>> > >>>> Hi, > >>>> > >>>> The part of the buildlog file where it failed would help. The info > >>>> right now is very minimal as I've not seen it before. > >>>> > >>>> > >>>> > >>>> On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: > >>>>> > >>>>> Greetings, > >>>>> > >>>>> I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. > >>>>> > >>>>> Has anyone seen this? > >>>>> > >>>>> Thanks, > >>>>> Wood > >>>>> > >>>>> [INFO ] Installing C library > >>>>> [EXTRA] Configuring C library > >>>>> [EXTRA] Building C library > >>>>> [EXTRA] Installing C library > >>>>> [ERROR] make[4]: *** [install-linux] Error 1 > >>>>> [ERROR] make[3]: *** [install] Error 2 > >>>>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 > >>>>> [ERROR] make[1]: *** [install] Error 2 > >>>>> [ERROR] > >>>>> [ERROR] >> > >>>>> [ERROR] >> Build failed in step 'Installing C library’ > >>>>> [ERROR] >> called in step '(top-level)’ > >>>>> > >>>>> > >>>>> -- > >>>>> For unsubscribe information see http://sourceware.org/lists.html#faq > >>>>> > >>>> > >>>> -- > >>>> For unsubscribe information see http://sourceware.org/lists.html#faq > >>>> > >>> > >>> > >>> -- > >>> For unsubscribe information see http://sourceware.org/lists.html#faq > >>> > >> > >> > >> -- For unsubscribe information see http://sourceware.org/lists.html#faq > >> > > > > -- > > -Bryan > -- -Bryan [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Issue building toolchain with newlib on Yosemite 2015-02-21 4:31 ` John Wood 2015-02-21 4:50 ` Bryan Hundven @ 2015-02-21 4:54 ` Bryan Hundven 1 sibling, 0 replies; 8+ messages in thread From: Bryan Hundven @ 2015-02-21 4:54 UTC (permalink / raw) To: John Wood; +Cc: Reinoud Koornstra, crossgcc [-- Attachment #1: Type: text/plain, Size: 4855 bytes --] On Fri, 2015-02-20 at 23:30 -0500, John Wood wrote: > Success!!! > > Found the problem, I was building with the Linaro binutils and linaro > newlib. Changed these to straight binutils and newlib and successfully > built the entire toolchain including gdb for arm-unknown-eabi including > gdb. BTW, how to I change the tool to be arm-eabi instead of > arm-unknown-eabi? I just merged a change to add config knobs to binutils and glibc for enabling/disabling linaro support. I think I forgot newlib, so I'll look look into that For "arm-eabi", I would recommend: CT_TARGET_ALIAS="arm-eabi" [EDIT] ... But I hit send too fast, and was going to mention that I don't know how CT_TARGET_ALIAS will work with multilib, so let us know your results! > > Awesome. I built with mutilibs so I am hoping I have support for all > my targets. I will take a look at the build output and check my flags > and see that they make sense. > > I am looking to develop for the STM32, some older powerPC devices and > PIC32 using these tools on MACOS. I will report if I can successfully > build all three platforms. At this time I am not testing the > toolchains but I hope to start working with the soon. > > Woody > > > > On Feb 20, 2015, at 8:44 PM, John Wood <woody244@icloud.com> wrote: > > > Thanks, > > > > Here is the failure > > > > > > [ALL ] /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 crt0.o /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x > > [ALL ] set -e; for x in linux-crt0.o libgloss-linux.a; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 $x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > > [ALL ] set -e; for x in linux.specs; do /Volumes/Embedded/tools/builds/arm/.build/tools/bin/install -c -m 644 /Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/$x /Volumes/Embedded/Crosstool/arm-unknown-eabihf/arm-unknown-eabihf/lib/$x; done > > [ALL ] /usr/local/bin/ginstall: cannot stat '/Volumes/Embedded/tools/builds/arm/.build/src/newlib-linaro-2.2.0-2015.01/libgloss/arm/linux.specs': No such file or directory > > [ERROR] make[4]: *** [install-linux] Error 1 > > [ERROR] make[3]: *** [install] Error 2 > > [ERROR] make[2]: *** [install-target-libgloss] Error 2 > > [ERROR] make[1]: *** [install] Error 2 > > [ERROR] > > [ERROR] >> > > [ERROR] >> Build failed in step 'Installing C library' > > [ERROR] >> called in step '(top-level)' > > [ERROR] >> > > [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216] > > [ERROR] >> called from: do_libc[scripts/build/libc/newlib.sh@133] > > [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] > > [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/Embedded/tools/crosstool-ng/docs/B - Known issues.txt' > > [ERROR] > > [ERROR] (elapsed: 5:37.00) > > > > > > > >> On Feb 20, 2015, at 12:53 AM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: > >> > >> Hi, > >> > >> The part of the buildlog file where it failed would help. The info > >> right now is very minimal as I've not seen it before. > >> > >> > >> > >> On Feb 19, 2015 9:38 PM, "John Wood" <woody244@icloud.com> wrote: > >>> > >>> Greetings, > >>> > >>> I have made reasonable progress attempting to build toolchains for arm-unknown-eabi, looking to also build powerpc-eabi and mips-sde-elf. I got through pass two of gcc but got and error installing the C libraries. I am building 4.9.2 and running the latest development snapshot of crosstool-ng. > >>> > >>> Has anyone seen this? > >>> > >>> Thanks, > >>> Wood > >>> > >>> [INFO ] Installing C library > >>> [EXTRA] Configuring C library > >>> [EXTRA] Building C library > >>> [EXTRA] Installing C library > >>> [ERROR] make[4]: *** [install-linux] Error 1 > >>> [ERROR] make[3]: *** [install] Error 2 > >>> [ERROR] make[2]: *** [install-target-libgloss] Error 2 > >>> [ERROR] make[1]: *** [install] Error 2 > >>> [ERROR] > >>> [ERROR] >> > >>> [ERROR] >> Build failed in step 'Installing C library’ > >>> [ERROR] >> called in step '(top-level)’ > >>> > >>> > >>> -- > >>> For unsubscribe information see http://sourceware.org/lists.html#faq > >>> > >> > >> -- > >> For unsubscribe information see http://sourceware.org/lists.html#faq > >> > > > > > > -- > > For unsubscribe information see http://sourceware.org/lists.html#faq > > > > > -- For unsubscribe information see http://sourceware.org/lists.html#faq > -- -Bryan [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-02-21 5:17 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <0842FA64-B201-420C-B0F6-DF2E262BEE3E@icloud.com> 2015-02-20 4:38 ` Fwd: Issue building toolchain with newlib on Yosemite John Wood 2015-02-20 5:53 ` Reinoud Koornstra 2015-02-21 1:44 ` John Wood 2015-02-21 4:31 ` John Wood 2015-02-21 4:50 ` Bryan Hundven 2015-02-21 4:55 ` John Wood 2015-02-21 5:17 ` Bryan Hundven 2015-02-21 4:54 ` Bryan Hundven
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).