public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* building tool chain for zip it messenger (arm processor)
@ 2010-03-22  4:42 Geordy Rostad
  2010-03-22  5:30 ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: Geordy Rostad @ 2010-03-22  4:42 UTC (permalink / raw)
  To: crossgcc

Hi list, I'm ripping my hair out trying to use crosstools to build a gcc cross compiler for an arm based linux install.  I downloaded crosstool-0.43 and editted the demo-arm.sh to attempt to build gcc-2.95.3-glibc-2.1.3.  The host system is an Ubuntu vm.  I had to apt-get bison and a few other things to get this far but it keeps dying here:

....
gcc-2.95.3/gcc -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/../include /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c
/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: lvalue required as left operand of assignment
make[1]: *** [arm.o] Error 1
make[1]: Leaving directory `/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc'
make: *** [all-gcc] Error 2
geordy@ubuntu:~/crosstool-0.4

I've tried to also build a couple of different versions of gcc-glibc but still get the same error.  Also have made sure gcc, glibc, bintools, etc are newest versions available via apt-get.  

Thanks,
Geordy

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

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

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-22  4:42 building tool chain for zip it messenger (arm processor) Geordy Rostad
@ 2010-03-22  5:30 ` Khem Raj
  2010-03-23 15:30   ` Geordy Rostad
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2010-03-22  5:30 UTC (permalink / raw)
  To: Geordy Rostad; +Cc: crossgcc

On (21/03/10 21:42), Geordy Rostad wrote:
> Hi list, I'm ripping my hair out trying to use crosstools to build a gcc cross compiler for an arm based linux install.  I downloaded crosstool-0.43 and editted the demo-arm.sh to attempt to build gcc-2.95.3-glibc-2.1.3.  The host system is an Ubuntu vm.  I had to apt-get bison and a few other things to get this far but it keeps dying here:
> 
> ....
> gcc-2.95.3/gcc -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/../include /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c
> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: lvalue required as left operand of assignment
> make[1]: *** [arm.o] Error 1
> make[1]: Leaving directory `/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc'
> make: *** [all-gcc] Error 2
> geordy@ubuntu:~/crosstool-0.4
> 
> I've tried to also build a couple of different versions of gcc-glibc but still get the same error.  Also have made sure gcc, glibc, bintools, etc are newest versions available via apt-get.  

1. Use crosstool-ng
2. Do you really want to build gcc 2.95 and glibc 2.1 ? if not then use
some new combination like gcc 4.4.3 and glibc 2.11 if you really want that
old combination then make sure that your build machine has gcc 2.95
installed too because building cross gcc 2.95 with newer gcc may yield
errors.

> 
> Thanks,
> Geordy
> 
> --
> 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] 11+ messages in thread

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-22  5:30 ` Khem Raj
@ 2010-03-23 15:30   ` Geordy Rostad
  2010-03-23 17:04     ` Yann E. MORIN
  0 siblings, 1 reply; 11+ messages in thread
From: Geordy Rostad @ 2010-03-23 15:30 UTC (permalink / raw)
  To: Khem Raj; +Cc: crossgcc

Thanks for pointing me in the direction of crosstool-ng.  It is WAY more polished and more promising in general.  Unfortunately it keeps failing at the "installing C library" step.  I've twiddled with a couple of the settings but not been able to get any further than this.  Checking the build.log, as the error suggests, only seems to mirror this error message. 

[INFO ]  Installing C library
[ERROR]    make[3]: *** [/home/geordy/crossgcc-arm/targets/arm-unknown-linux-gnueabi/build/build-libc/misc/syslog.o] Error 1
[ERROR]    make[2]: *** [misc/subdir_lib] Error 2
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing C library'
[ERROR]    Error happened in '/usr/local/lib/ct-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/usr/local/lib/ct-ng-1.6.1/scripts/build/libc/eglibc.sh' at line # 330 in function 'do_libc'
[ERROR]          called from '/usr/local/lib/ct-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main'
[ERROR]    Look at '/home/geordy/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.
[ERROR]  (elapsed: 222:21.41)
[222:22] / make: *** [build] Error 2


On Mar 21, 2010, at 10:30 PM, Khem Raj wrote:

> On (21/03/10 21:42), Geordy Rostad wrote:
>> Hi list, I'm ripping my hair out trying to use crosstools to build a gcc cross compiler for an arm based linux install.  I downloaded crosstool-0.43 and editted the demo-arm.sh to attempt to build gcc-2.95.3-glibc-2.1.3.  The host system is an Ubuntu vm.  I had to apt-get bison and a few other things to get this far but it keeps dying here:
>> 
>> ....
>> gcc-2.95.3/gcc -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/../include /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c
>> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
>> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
>> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: lvalue required as left operand of assignment
>> make[1]: *** [arm.o] Error 1
>> make[1]: Leaving directory `/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc'
>> make: *** [all-gcc] Error 2
>> geordy@ubuntu:~/crosstool-0.4
>> 
>> I've tried to also build a couple of different versions of gcc-glibc but still get the same error.  Also have made sure gcc, glibc, bintools, etc are newest versions available via apt-get.  
> 
> 1. Use crosstool-ng
> 2. Do you really want to build gcc 2.95 and glibc 2.1 ? if not then use
> some new combination like gcc 4.4.3 and glibc 2.11 if you really want that
> old combination then make sure that your build machine has gcc 2.95
> installed too because building cross gcc 2.95 with newer gcc may yield
> errors.
> 
>> 
>> Thanks,
>> Geordy
>> 
>> --
>> 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] 11+ messages in thread

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-23 15:30   ` Geordy Rostad
@ 2010-03-23 17:04     ` Yann E. MORIN
  2010-03-24  3:19       ` Geordy Rostad
  0 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2010-03-23 17:04 UTC (permalink / raw)
  To: crossgcc; +Cc: Geordy Rostad

Geordy, All,

On Tuesday 23 March 2010 16:29:55 Geordy Rostad wrote:
> Thanks for pointing me in the direction of crosstool-ng. It is WAY more
> polished and more promising in general.

Cheers! :-)

> Unfortunately it keeps failing at the "installing C library" step. I've
> twiddled with a couple of the settings but not been able to get any
> further than this.  Checking the build.log, as the error suggests,
> only seems to mirror this error message.      
> 
> [INFO ]  Installing C library
> [ERROR]    make[3]: *** [/home/geordy/crossgcc-arm/targets/arm-unknown-linux-gnueabi/build/build-libc/misc/syslog.o] Error 1
> [ERROR]    make[2]: *** [misc/subdir_lib] Error 2
> [ERROR]    make[1]: *** [all] Error 2
> [ERROR]    Build failed in step 'Installing C library'
> [ERROR]    Error happened in '/usr/local/lib/ct-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from '/usr/local/lib/ct-ng-1.6.1/scripts/build/libc/eglibc.sh' at line # 330 in function 'do_libc'
> [ERROR]          called from '/usr/local/lib/ct-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main'
> [ERROR]    Look at '/home/geordy/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.
> [ERROR]  (elapsed: 222:21.41)
> [222:22] / make: *** [build] Error 2

The build.log file has much more information than just that, notably the
config options you used. Without the configuration and the build.log, we
can know for sure what went wrong, and we can only guess (wrong!).

Please, send your full (compressed!) build.log. If it is >500KiB compressed,
just send it to me, please.

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

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-23 17:04     ` Yann E. MORIN
@ 2010-03-24  3:19       ` Geordy Rostad
  2010-03-24 18:38         ` Yann E. MORIN
  0 siblings, 1 reply; 11+ messages in thread
From: Geordy Rostad @ 2010-03-24  3:19 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

I tried to send it direct but your spam filter kept kicking it back.  Here is the log file.  It's around 350Kb so not too bad. 

http://www.sinfulvegetarian.com/build.log.gz

Thanks,

geordy

On Mar 23, 2010, at 10:04 AM, Yann E. MORIN wrote:

> Geordy, All,
> 
> On Tuesday 23 March 2010 16:29:55 Geordy Rostad wrote:
>> Thanks for pointing me in the direction of crosstool-ng. It is WAY more
>> polished and more promising in general.
> 
> Cheers! :-)
> 
>> Unfortunately it keeps failing at the "installing C library" step. I've
>> twiddled with a couple of the settings but not been able to get any
>> further than this.  Checking the build.log, as the error suggests,
>> only seems to mirror this error message.      
>> 
>> [INFO ]  Installing C library
>> [ERROR]    make[3]: *** [/home/geordy/crossgcc-arm/targets/arm-unknown-linux-gnueabi/build/build-libc/misc/syslog.o] Error 1
>> [ERROR]    make[2]: *** [misc/subdir_lib] Error 2
>> [ERROR]    make[1]: *** [all] Error 2
>> [ERROR]    Build failed in step 'Installing C library'
>> [ERROR]    Error happened in '/usr/local/lib/ct-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
>> [ERROR]          called from '/usr/local/lib/ct-ng-1.6.1/scripts/build/libc/eglibc.sh' at line # 330 in function 'do_libc'
>> [ERROR]          called from '/usr/local/lib/ct-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main'
>> [ERROR]    Look at '/home/geordy/x-tools/arm-unknown-linux-gnueabi/build.log' for more info on this error.
>> [ERROR]  (elapsed: 222:21.41)
>> [222:22] / make: *** [build] Error 2
> 
> The build.log file has much more information than just that, notably the
> config options you used. Without the configuration and the build.log, we
> can know for sure what went wrong, and we can only guess (wrong!).
> 
> Please, send your full (compressed!) build.log. If it is >500KiB compressed,
> just send it to me, please.
> 
> 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] 11+ messages in thread

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-24  3:19       ` Geordy Rostad
@ 2010-03-24 18:38         ` Yann E. MORIN
  2010-03-24 18:51           ` Geordy Rostad
  0 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2010-03-24 18:38 UTC (permalink / raw)
  To: crossgcc; +Cc: Geordy Rostad

Geordy, All,

On Wednesday 24 March 2010 04:18:50 Geordy Rostad wrote:
> Here is the log file.  It's around 350Kb so not too bad.

Please try with:
  CT_LIBC_GLIBC_EXTRA_CFLAGS="-U_FORTIFY_SOURCE"

I just tried to build your toolchain with that, and it did build.

BTW, are you sure you want to use eglibc? There's nothing wrong with
using eglibc per-se, but I would expect such a small system to be based
on uClibc instead.

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

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-24 18:38         ` Yann E. MORIN
@ 2010-03-24 18:51           ` Geordy Rostad
  2010-03-24 19:43             ` Yann E. MORIN
  0 siblings, 1 reply; 11+ messages in thread
From: Geordy Rostad @ 2010-03-24 18:51 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

I think you are right.  I should be using uClibc.  Would I still need to set that fortify source option?  Is that in menuconfig somewhere or would I just specifiy it on the command line with "ct-ng build"?  Sorry for the newbie questions.  Not entirely sure what I'm doing here, I just want to build some packages for my zipit.

-geordy


On Mar 24, 2010, at 11:38 AM, Yann E. MORIN wrote:

> Geordy, All,
> 
> On Wednesday 24 March 2010 04:18:50 Geordy Rostad wrote:
>> Here is the log file.  It's around 350Kb so not too bad.
> 
> Please try with:
>  CT_LIBC_GLIBC_EXTRA_CFLAGS="-U_FORTIFY_SOURCE"
> 
> I just tried to build your toolchain with that, and it did build.
> 
> BTW, are you sure you want to use eglibc? There's nothing wrong with
> using eglibc per-se, but I would expect such a small system to be based
> on uClibc instead.
> 
> 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] 11+ messages in thread

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-24 18:51           ` Geordy Rostad
@ 2010-03-24 19:43             ` Yann E. MORIN
  2010-03-24 22:03               ` Geordy Rostad
  0 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2010-03-24 19:43 UTC (permalink / raw)
  To: crossgcc; +Cc: Geordy Rostad

Geordy, All,

On Wednesday 24 March 2010 19:51:00 Geordy Rostad wrote:
> I think you are right.  I should be using uClibc.  Would I still need to
> set that fortify source option?

No, it's only available for glibc and eglibc.

> Is that in menuconfig somewhere or would I just specifiy it on the
> command line with "ct-ng build"?

In the menuconfig, press '/' to get a search prompt. Enter the option
name CT_LIBC_GLIBC_EXTRA_CFLAGS (with or without the leading CT_), and
it will tel you where to look for it.

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

* Re: building tool chain for zip it messenger (arm processor)
  2010-03-24 19:43             ` Yann E. MORIN
@ 2010-03-24 22:03               ` Geordy Rostad
  0 siblings, 0 replies; 11+ messages in thread
From: Geordy Rostad @ 2010-03-24 22:03 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Now when I'm trying to build the chain I'm getting a new error:

[INFO ]  Checking C library configuration
[ERROR]    You did not provide a uClibc config file!
[04:42] / make: *** [build] Error 1

Doesn't menuconfig build that config file as part of it's song and dance?



On Mar 24, 2010, at 12:43 PM, Yann E. MORIN wrote:

> Geordy, All,
> 
> On Wednesday 24 March 2010 19:51:00 Geordy Rostad wrote:
>> I think you are right.  I should be using uClibc.  Would I still need to
>> set that fortify source option?
> 
> No, it's only available for glibc and eglibc.
> 
>> Is that in menuconfig somewhere or would I just specifiy it on the
>> command line with "ct-ng build"?
> 
> In the menuconfig, press '/' to get a search prompt. Enter the option
> name CT_LIBC_GLIBC_EXTRA_CFLAGS (with or without the leading CT_), and
> it will tel you where to look for it.
> 
> 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] 11+ messages in thread

* Re: building tool chain for zip it messenger (arm processor)
@ 2010-03-25 23:49 Geordy Rostad
  0 siblings, 0 replies; 11+ messages in thread
From: Geordy Rostad @ 2010-03-25 23:49 UTC (permalink / raw)
  To: crossgcc


I've gone a bit further into this and researched your answers to another person regarding this issue here: http://sourceware.org/ml/crossgcc/2009-11/msg00017.html   I see now that I have to download the uClibc and make a config file manually.  In the uclibc menuconfig, I'm seeing several hooks back to linux kernel headers.  What should I be doing with regard to those flags? obviously the kernel on my box is x86 based so it doesn't seem like that would be relevant for this build and the kernel doesn't exist in my temporary build directory for ct-ng until I run make build and it gets downloaded.  Is there an FAQ or previous answer you've given to someone with regard to creating that uclibc config file?  I appreciate all the help you've given me so far however I'm finding this particular issue a little confusing still.   

Are there any other helpful hints you may have regarding the uclibc file?  My target is an Xscale PXA270 based system, target kernel is 2.6.29/arm5tel.  That's why I've tried to set ct-ng for a 2.6.27.45 guessing that would be the closest option in ct-ng with relation to my target.

-geordy



________________________________________________

Now when I'm trying to build the chain I'm getting a new error:

[INFO ]  Checking C library configuration
[ERROR]    You did not provide a uClibc config file!
[04:42] / make: *** [build] Error 1

Doesn't menuconfig build that config file as part of it's song and dance?



On Mar 24, 2010, at 12:43 PM, Yann E. MORIN wrote:

> Geordy, All,
> 
> On Wednesday 24 March 2010 19:51:00 Geordy Rostad wrote:
>> I think you are right.  I should be using uClibc.  Would I still need to
>> set that fortify source option?
> 
> No, it's only available for glibc and eglibc.
> 
>> Is that in menuconfig somewhere or would I just specifiy it on the
>> command line with "ct-ng build"?
> 
> In the menuconfig, press '/' to get a search prompt. Enter the option
> name CT_LIBC_GLIBC_EXTRA_CFLAGS (with or without the leading CT_), and
> it will tel you where to look for it.
> 
> 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] 11+ messages in thread

* Re: building tool chain for zip it messenger (arm processor)
@ 2010-03-25 23:47 Geordy Rostad
  0 siblings, 0 replies; 11+ messages in thread
From: Geordy Rostad @ 2010-03-25 23:47 UTC (permalink / raw)
  To: crossgcc

I've gone a bit further into this and researched your answers to another person regarding this issue here: http://sourceware.org/ml/crossgcc/2009-11/msg00017.html   I see now that I have to download the uClibc and make a config file manually.  In the uclibc menuconfig, I'm seeing several hooks back to linux kernel headers.  What should I be doing with regard to those flags?  obviously the kernel on my box is x86 based so it doesn't seem like that would be relevant for this build and the kernel doesn't exist in my temporary build directory for ct-ng until I run make build and it gets downloaded.  Is there an FAQ or previous answer you've given to someone with regard to creating that uclibc config file?  I appreciate all the help you've given me so far however I'm finding this particular issue a little confusing still.   

Are there any other helpful hints you may have regarding the uclibc file?  My target is an Xscale PXA270 based system, target kernel is 2.6.29/arm5tel.  That's why I've tried to set ct-ng for a 2.6.27.45 guessing that would be the closest option in ct-ng with relation to my target.

-geordy



________________________________________________

Now when I'm trying to build the chain I'm getting a new error:

[INFO ]  Checking C library configuration
[ERROR]    You did not provide a uClibc config file!
[04:42] / make: *** [build] Error 1

Doesn't menuconfig build that config file as part of it's song and dance?



On Mar 24, 2010, at 12:43 PM, Yann E. MORIN wrote:

> Geordy, All,
> 
> On Wednesday 24 March 2010 19:51:00 Geordy Rostad wrote:
>> I think you are right.  I should be using uClibc.  Would I still need to
>> set that fortify source option?
> 
> No, it's only available for glibc and eglibc.
> 
>> Is that in menuconfig somewhere or would I just specifiy it on the
>> command line with "ct-ng build"?
> 
> In the menuconfig, press '/' to get a search prompt. Enter the option
> name CT_LIBC_GLIBC_EXTRA_CFLAGS (with or without the leading CT_), and
> it will tel you where to look for it.
> 
> 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] 11+ messages in thread

end of thread, other threads:[~2010-03-25 23:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-22  4:42 building tool chain for zip it messenger (arm processor) Geordy Rostad
2010-03-22  5:30 ` Khem Raj
2010-03-23 15:30   ` Geordy Rostad
2010-03-23 17:04     ` Yann E. MORIN
2010-03-24  3:19       ` Geordy Rostad
2010-03-24 18:38         ` Yann E. MORIN
2010-03-24 18:51           ` Geordy Rostad
2010-03-24 19:43             ` Yann E. MORIN
2010-03-24 22:03               ` Geordy Rostad
2010-03-25 23:47 Geordy Rostad
2010-03-25 23:49 Geordy Rostad

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