public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Error building Linux arm toolchain on OS X
@ 2013-12-02 21:02 Hanxue Lee
  2013-12-02 21:11 ` Ray Donnelly
  0 siblings, 1 reply; 3+ messages in thread
From: Hanxue Lee @ 2013-12-02 21:02 UTC (permalink / raw)
  To: crossgcc

Hello,


I am trying to create a cross-compiling toolchain for Linux ARM
(target, 32bit) on OS X Mavericks (host 64bit). This is the .config
file generated by ct-ng menuconfig: https://gist.github.com/7757973

The building process went on well, until pass-1 of GCC compiler, when
this error is produced:

4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I/Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/../libbacktrace
-DCLOOG_INT_GMP
-I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
-I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
 /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/gengtype-lex.c -o
gengtype-lex.o
[ALL  ]    clang: warning: treating 'c' input as 'c++' when in C++
mode, this behavior is deprecated
[ALL  ]    clang: warning: treating 'c' input as 'c++' when in C++
mode, this behavior is deprecated
[ALL  ]    In file included from
/Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/genhooks.c:35:
[ALL  ]    /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/target.def:521:1:
warning: empty macro arguments are a C99 feature [-Wc99-extensions]
[ALL  ]    HOOK_VECTOR_END (asm_out)
[ALL  ]    ^


The rest of the error message is available at https://gist.github.com/7757961

How can I resolve the errors?


Best regards,
Hanxue

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

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

* Re: Error building Linux arm toolchain on OS X
  2013-12-02 21:02 Error building Linux arm toolchain on OS X Hanxue Lee
@ 2013-12-02 21:11 ` Ray Donnelly
  2013-12-03 15:51   ` Hanxue Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Ray Donnelly @ 2013-12-02 21:11 UTC (permalink / raw)
  To: Hanxue Lee; +Cc: crossgcc

I'll take this one, as it's quite easy!

[ALL  ]    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
can't write to output file (No space left on device)

I think you need to clean up some space and try again.

On Mon, Dec 2, 2013 at 9:02 PM, Hanxue Lee <hanxue.developer@gmail.com> wrote:
> Hello,
>
>
> I am trying to create a cross-compiling toolchain for Linux ARM
> (target, 32bit) on OS X Mavericks (host 64bit). This is the .config
> file generated by ct-ng menuconfig: https://gist.github.com/7757973
>
> The building process went on well, until pass-1 of GCC compiler, when
> this error is produced:
>
> 4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
> -I/Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/../libbacktrace
> -DCLOOG_INT_GMP
> -I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
> -I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
>  /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/gengtype-lex.c -o
> gengtype-lex.o
> [ALL  ]    clang: warning: treating 'c' input as 'c++' when in C++
> mode, this behavior is deprecated
> [ALL  ]    clang: warning: treating 'c' input as 'c++' when in C++
> mode, this behavior is deprecated
> [ALL  ]    In file included from
> /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/genhooks.c:35:
> [ALL  ]    /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/target.def:521:1:
> warning: empty macro arguments are a C99 feature [-Wc99-extensions]
> [ALL  ]    HOOK_VECTOR_END (asm_out)
> [ALL  ]    ^
>
>
> The rest of the error message is available at https://gist.github.com/7757961
>
> How can I resolve the errors?
>
>
> Best regards,
> Hanxue
>
> --
> 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] 3+ messages in thread

* Re: Error building Linux arm toolchain on OS X
  2013-12-02 21:11 ` Ray Donnelly
@ 2013-12-03 15:51   ` Hanxue Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Hanxue Lee @ 2013-12-03 15:51 UTC (permalink / raw)
  To: crossgcc

Yep, I followed Mac OS X tutorial, although it is a bit outdated.

Thanks! Glad that this time the error is caused by disk space - I
thought a 2.6GB volume is sufficient for building the cross-compile
binaries.

After sorting out the disk space, I now see error building the
standard libraries:

[INFO ]  Installing C library headers & start files

[ERROR]    rpc_scan.c:40:10: fatal error: 'libintl.h' file not found

[ERROR]    rpc_main.c:41:10: fatal error: 'libintl.h' file not found

[ERROR]    ./rpc/types.h:73:9: error: unknown type name '__u_char';
did you mean 'u_char'?

[ERROR]    ./rpc/types.h:74:9: error: unknown type name '__u_short';
did you mean 'u_short'?


Full error message here: https://gist.github.com/7771296

Strangely, there are no errors in build.log - https://gist.github.com/7771458

On Tue, Dec 3, 2013 at 5:10 AM, Ray Donnelly <mingw.android@gmail.com> wrote:
> I'll take this one, as it's quite easy!
>
> [ALL  ]    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
> can't write to output file (No space left on device)
>
> I think you need to clean up some space and try again.
>
> On Mon, Dec 2, 2013 at 9:02 PM, Hanxue Lee <hanxue.developer@gmail.com> wrote:
>> Hello,
>>
>>
>> I am trying to create a cross-compiling toolchain for Linux ARM
>> (target, 32bit) on OS X Mavericks (host 64bit). This is the .config
>> file generated by ct-ng menuconfig: https://gist.github.com/7757973
>>
>> The building process went on well, until pass-1 of GCC compiler, when
>> this error is produced:
>>
>> 4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
>> -I/Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/../libbacktrace
>> -DCLOOG_INT_GMP
>> -I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
>> -I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
>>  /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/gengtype-lex.c -o
>> gengtype-lex.o
>> [ALL  ]    clang: warning: treating 'c' input as 'c++' when in C++
>> mode, this behavior is deprecated
>> [ALL  ]    clang: warning: treating 'c' input as 'c++' when in C++
>> mode, this behavior is deprecated
>> [ALL  ]    In file included from
>> /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/genhooks.c:35:
>> [ALL  ]    /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/target.def:521:1:
>> warning: empty macro arguments are a C99 feature [-Wc99-extensions]
>> [ALL  ]    HOOK_VECTOR_END (asm_out)
>> [ALL  ]    ^
>>
>>
>> The rest of the error message is available at https://gist.github.com/7757961
>>
>> How can I resolve the errors?
>>
>>
>> Best regards,
>> Hanxue
>>
>> --
>> 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] 3+ messages in thread

end of thread, other threads:[~2013-12-03 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-02 21:02 Error building Linux arm toolchain on OS X Hanxue Lee
2013-12-02 21:11 ` Ray Donnelly
2013-12-03 15:51   ` Hanxue Lee

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