This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool-ng on darwin...


here it is:

https://drive.google.com/file/d/0BydV09zDP4zoaVhweUtzVlFxUXM/view?usp=sharing

it's big:-)

Cheers, Cos.


On Wed, Jul 29, 2015 at 4:37 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> Cosmos,
>
> On Wed, Jul 29, 2015 at 4:34 PM, Cosmos Nicolaou
> <cosmos.nicolaou@gmail.com> wrote:
>> On Wed, Jul 29, 2015 at 4:29 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
>>> Cosmos,
>>>
>>> On Wed, Jul 29, 2015 at 4:20 PM, Cosmos Nicolaou
>>> <cosmos.nicolaou@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I'm trying to build a cross compiler on macs for raspberry pi's. I'm
>>>> puzzled that some people seem to have made this work even though
>>>> crosstool-ng wants to build and use glibc which is not supported on
>>>> darwin? I guess I'm missing something pretty obvious! Thanks!
>>>>
>>>> Cheers, Cos.
>>>
>>> I've built it on my mac many times.
>>> Do you have a build issue?
>>
>> thanks for the prompt response! And yes it fails at the install c library step,
>>
>> [INFO ]  Installing pass-2 core C gcc compiler: done in 362.00s (at 15:08)
>> [INFO ]  =================================================================
>> [INFO ]  Installing C library
>> [EXTRA]    Configuring C library
>> [EXTRA]    Building C library
>> [EXTRA]    Installing C library
>> [EXTRA]    Configuring C library localedef
>> [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@257]
>> [ERROR]  >>        called from: do_libc_locales[scripts/build/libc/glibc.sh@644]
>> [ERROR]  >>        called from:
>> do_libc_backend_once[scripts/build/libc/glibc.sh@476]
>> [ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc.sh@151]
>> [ERROR]  >>        called from: do_libc[scripts/build/libc/glibc.sh@73]
>> [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:
>>
>> configuring glibc:
>>
>>  ==> Executing: 'CFLAGS=-O2 -fno-stack-protector -U_FORTIFY_SOURCE'
>> '/Volumes/cross-compile-build/src/glibc-2.21/configure'
>> '--prefix=/usr'
>> '--cache-file=/Volumes/cross-compile-build/armv6-rpi-linux-gnueabi/build/build-localedef/config.cache'
>> '--without-cvs' '--disable-profile' '--without-gd' '--disable-debug'
>>
>> I don't really understand why it's trying to build glibc at all on the
>> host? I'm attaching my config file.
>>
>> Cheers, Cos.
>>
>>
>>>
>>> -Bryan
>
>
> Post the build.log somewhere (pastebin, etc...) and link it here. The
> info log that is printed to the screen doesn't show the error.
>
> -Bryan

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]