public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* mac build woes : homebrew+iconvdata=big trouble
@ 2013-01-10 20:04 Jolyon Wright
  2013-01-10 20:12 ` Yann E. MORIN
  2013-01-10 21:16 ` Yann E. MORIN
  0 siblings, 2 replies; 6+ messages in thread
From: Jolyon Wright @ 2013-01-10 20:04 UTC (permalink / raw)
  To: crossgcc

I have been trying to build an arm cross compiler toolchain to run on the mac using homebrew. I have been using these notes as a starting point : http://www.benmont.com. I consistently get the following error:-

/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-9e.T /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-9e.h
[ALL  ]    LC_ALL=C /bin/sh ./gen-8bit-gap.sh ../localedata/charmaps/HP-THAI8 > /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.T
[ALL  ]    LC_ALL=C /bin/sh ./gen-8bit-gap.sh ../localedata/charmaps/HP-GREEK8 > /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.T
[ALL  ]    touch /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-9e.stmp
[ALL  ]    LC_ALL=C /bin/sh ./gen-8bit-gap-1.sh ../localedata/charmaps/ISO-8859-7 > /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.T
[ALL  ]    make[3]: *** No rule to make target `/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/KOI8-RU.so', needed by `others'.  Stop.
[ALL  ]    make[3]: *** Waiting for unfinished jobs....
[ALL  ]    /bin/sh ../scripts/move-if-change /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.T /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.h
[ALL  ]    /bin/sh ../scripts/move-if-change /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.T /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.h
[ALL  ]    /bin/sh ../scripts/move-if-change /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.T /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.h
[ALL  ]    touch /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.stmp
[ALL  ]    touch /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.stmp
[ALL  ]    touch /Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.stmp
[ERROR]    make[2]: *** [iconvdata/others] Error 2
[ERROR]    make[1]: *** [all] 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_backend_once[scripts/build/libc/glibc-eglibc.sh-common@445]
[ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR]  >>        called from: do_libc[scripts/build/libc/glibc-eglibc.sh-common@65]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@612]
[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/Cellar/crosstool-ng/1.17.0/share/doc/crosstool-ng/ct-ng.1.17.0/B - Known issues.txt'
[ERROR]  
[ERROR]  (elapsed: 21:37.00)

This seems like the exact same problem: http://sourceware.org/ml/crossgcc/2012-07/msg00028.html 

Does anybody have any idea how I can resolve this - or, failing that, some hints as to where I should start trying to track the problem down! 

Any pointers would be greatly appreciated - I am kind of new to this,

Thanks,

jolyon

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac build woes : homebrew+iconvdata=big trouble
  2013-01-10 20:04 mac build woes : homebrew+iconvdata=big trouble Jolyon Wright
@ 2013-01-10 20:12 ` Yann E. MORIN
  2013-01-10 21:16 ` Yann E. MORIN
  1 sibling, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2013-01-10 20:12 UTC (permalink / raw)
  To: crossgcc; +Cc: Jolyon Wright

Jolyon, All,

On Thursday 10 January 2013 Jolyon Wright wrote:
> I have been trying to build an arm cross compiler toolchain to run on the mac using homebrew. I have been using these notes as a starting point : http://www.benmont.com. I consistently get the following error:-

Please, fold your mails to ~75 columns; it's much easier to read. :-(

[--SNIP--]
> [ALL  ]    make[3]: *** No rule to make target `/Volumes/arm/.build/arm-
> unknown-linux-gnueabi/build/build-libc-final/iconvdata/KOI8-RU.so', needed
> by `others'.  Stop.
> [ALL  ]    make[3]: *** Waiting for unfinished jobs....
[--SNIP--]
> This seems like the exact same problem:
> http://sourceware.org/ml/crossgcc/2012-07/msg00028.html 
> 
> Does anybody have any idea how I can resolve this - or, failing that,
> some hints as to where I should start trying to track the problem down! 

There has been a (very late) answer to this issue:
    http://sourceware.org/ml/crossgcc/2013-01/msg00000.html

As I do not have any Mac stuff, I can't test and, even less, debug this
kind of issues.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac build woes : homebrew+iconvdata=big trouble
  2013-01-10 20:04 mac build woes : homebrew+iconvdata=big trouble Jolyon Wright
  2013-01-10 20:12 ` Yann E. MORIN
@ 2013-01-10 21:16 ` Yann E. MORIN
  2013-01-10 21:22   ` Jolyon Wright
  1 sibling, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2013-01-10 21:16 UTC (permalink / raw)
  To: crossgcc; +Cc: Jolyon Wright

Jolyon, All,

On Thursday 10 January 2013 Jolyon Wright wrote:
> I have been trying to build an arm cross compiler toolchain to run on
> the mac using homebrew. I have been using these notes as a starting
> point : http://www.benmont.com

There are very bad suggestions in this /tutorial/:

  - manually editing the .config file
    This is a Bad Thing (TM).
    The configuration of crosstoll-Ng is done by running one of the
    configurators:
        ct-ng menuconfig
    or:
        ct-ng nconfig

    Options are set in the .config file because they've been set in the
    menuconfig. Manually overrding them is wrong. The configuration must
    be fixed from menuconfig.

  - Static linking impossible on the host system [...]
    The solution is wrong.

    This error is because something in crostool-NG wants to do some
    static linking. This should be disabled, using the menuconfig.
    In this case, the option wanting the static link is:
        CT_CC_STATIC_LIBSTDCXX
    which is selected in:
        C compiler  --->
            [*] Link libstdc++ statically into the gcc binary

    If you disable this option, then static linking is no longer
    needed, and this error will vanish. Also, the '-Bstatic' issue will
    also disapear.

    We now have better code and error messages in the repository for this
    problem. It will be available in the next release.

  - gdb's 'readchar: Got EOF' error:
    Do not edit the .config file manually. Use 'ct-ng menuconfig' to change
    the config options.

If you know how to contact the author, then please forward him/her this
mail, and tell him/her to ask for help on the mailing list. We're usually
trying to answer issues as much as we can (but being a volunteer endeavour
for me, it's on a time-permit basis; others can/will help, too).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac build woes : homebrew+iconvdata=big trouble
  2013-01-10 21:16 ` Yann E. MORIN
@ 2013-01-10 21:22   ` Jolyon Wright
  2013-05-15 21:15     ` Nathan Plesnicher
  0 siblings, 1 reply; 6+ messages in thread
From: Jolyon Wright @ 2013-01-10 21:22 UTC (permalink / raw)
  To: Yann E. MORIN, crossgcc

Really appreciate your help with this; I can confirm that your suggestion
*does* resolve the iconvdata problem - my build is way past this point now.

I have put some coffee on in anticipation of the next challenge :-)

I don't know the author of that piece but my guess is he will spot your
post,

Thanks again,

jolyon

On 10/01/2013 21:16, "Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

>Jolyon, All,
>
>On Thursday 10 January 2013 Jolyon Wright wrote:
>> I have been trying to build an arm cross compiler toolchain to run on
>> the mac using homebrew. I have been using these notes as a starting
>> point : http://www.benmont.com
>
>There are very bad suggestions in this /tutorial/:
>
>  - manually editing the .config file
>    This is a Bad Thing (TM).
>    The configuration of crosstoll-Ng is done by running one of the
>    configurators:
>        ct-ng menuconfig
>    or:
>        ct-ng nconfig
>
>    Options are set in the .config file because they've been set in the
>    menuconfig. Manually overrding them is wrong. The configuration must
>    be fixed from menuconfig.
>
>  - Static linking impossible on the host system [...]
>    The solution is wrong.
>
>    This error is because something in crostool-NG wants to do some
>    static linking. This should be disabled, using the menuconfig.
>    In this case, the option wanting the static link is:
>        CT_CC_STATIC_LIBSTDCXX
>    which is selected in:
>        C compiler  --->
>            [*] Link libstdc++ statically into the gcc binary
>
>    If you disable this option, then static linking is no longer
>    needed, and this error will vanish. Also, the '-Bstatic' issue will
>    also disapear.
>
>    We now have better code and error messages in the repository for this
>    problem. It will be available in the next release.
>
>  - gdb's 'readchar: Got EOF' error:
>    Do not edit the .config file manually. Use 'ct-ng menuconfig' to
>change
>    the config options.
>
>If you know how to contact the author, then please forward him/her this
>mail, and tell him/her to ask for help on the mailing list. We're usually
>trying to answer issues as much as we can (but being a volunteer endeavour
>for me, it's on a time-permit basis; others can/will help, too).
>
>Regards,
>Yann E. MORIN.
>
>-- 
>.-----------------.--------------------.------------------.---------------
>-----.
>|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
>conspiracy: |
>| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___
>     |
>| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There
>is no  |
>| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v
>conspiracy.  |
>'------------------------------^-------^------------------^---------------
>-----'
>



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mac build woes : homebrew+iconvdata=big trouble
  2013-01-10 21:22   ` Jolyon Wright
@ 2013-05-15 21:15     ` Nathan Plesnicher
  0 siblings, 0 replies; 6+ messages in thread
From: Nathan Plesnicher @ 2013-05-15 21:15 UTC (permalink / raw)
  To: crossgcc

Jolyon Wright <jolyon.wright <at> gmail.com> writes:

> 
> Really appreciate your help with this; I can confirm that your suggestion
> *does* resolve the iconvdata problem - my build is way past this point now.

I have been having this exact same problem, but I have been unable to fix the 
iconvdata issue. What exactly did you do to address this?

Nathan



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: mac build woes : homebrew+iconvdata=big trouble
@ 2013-01-10 21:28 Rūdolfs Bundulis
  0 siblings, 0 replies; 6+ messages in thread
From: Rūdolfs Bundulis @ 2013-01-10 21:28 UTC (permalink / raw)
  To: Jolyon Wright, crossgcc

Hi,

I had the same issue, I had a lot of 'too many open files' errors in
the log, so i checked ulimit and since file limit was only 256 i raised
it to 1024 and that did the trick. Hope i it helps.

Sent from my Windows Phone
From: Jolyon Wright
Sent: 2013.01.10. 22:04
To: crossgcc@sourceware.org
Subject: mac build woes : homebrew+iconvdata=big trouble
I have been trying to build an arm cross compiler toolchain to run on
the mac using homebrew. I have been using these notes as a starting
point : http://www.benmont.com. I consistently get the following
error:-

/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-9e.T
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-9e.h
[ALL  ]    LC_ALL=C /bin/sh ./gen-8bit-gap.sh
../localedata/charmaps/HP-THAI8 >
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.T
[ALL  ]    LC_ALL=C /bin/sh ./gen-8bit-gap.sh
../localedata/charmaps/HP-GREEK8 >
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.T
[ALL  ]    touch
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-9e.stmp
[ALL  ]    LC_ALL=C /bin/sh ./gen-8bit-gap-1.sh
../localedata/charmaps/ISO-8859-7 >
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.T
[ALL  ]    make[3]: *** No rule to make target
`/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/KOI8-RU.so',
needed by `others'.  Stop.
[ALL  ]    make[3]: *** Waiting for unfinished jobs....
[ALL  ]    /bin/sh ../scripts/move-if-change
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.T
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.h
[ALL  ]    /bin/sh ../scripts/move-if-change
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.T
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.h
[ALL  ]    /bin/sh ../scripts/move-if-change
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.T
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.h
[ALL  ]    touch
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-thai8.stmp
[ALL  ]    touch
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/hp-greek8.stmp
[ALL  ]    touch
/Volumes/arm/.build/arm-unknown-linux-gnueabi/build/build-libc-final/iconvdata/iso8859-7jp.stmp
[ERROR]    make[2]: *** [iconvdata/others] Error 2
[ERROR]    make[1]: *** [all] 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_backend_once[scripts/build/libc/glibc-eglibc.sh-common@445]
[ERROR]  >>        called from:
do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR]  >>        called from:
do_libc[scripts/build/libc/glibc-eglibc.sh-common@65]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@612]
[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/Cellar/crosstool-ng/1.17.0/share/doc/crosstool-ng/ct-ng.1.17.0/B
- Known issues.txt'
[ERROR]
[ERROR]  (elapsed: 21:37.00)

This seems like the exact same problem:
http://sourceware.org/ml/crossgcc/2012-07/msg00028.html

Does anybody have any idea how I can resolve this - or, failing that,
some hints as to where I should start trying to track the problem
down!

Any pointers would be greatly appreciated - I am kind of new to this,

Thanks,

jolyon

--
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] 6+ messages in thread

end of thread, other threads:[~2013-05-15 21:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-10 20:04 mac build woes : homebrew+iconvdata=big trouble Jolyon Wright
2013-01-10 20:12 ` Yann E. MORIN
2013-01-10 21:16 ` Yann E. MORIN
2013-01-10 21:22   ` Jolyon Wright
2013-05-15 21:15     ` Nathan Plesnicher
2013-01-10 21:28 Rūdolfs Bundulis

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).