View previous topic :: View next topic |
Author |
Message |
phoenix_me Apprentice
Joined: 24 Dec 2003 Posts: 281 Location: Lubliniec
|
Posted: Mon Aug 15, 2011 10:47 am Post subject: [SOLVED] Can't install crosscompiler |
|
|
I am trying to install crosscompiler but so far without success. I am stuck on first step.
After: Code: | crossdev --b 2.19 --g 3.4.4 --k 2.6.12.6 --l 2.6 armv5tel-softfloat-linux-gnueabi |
I have error Code: | * glibc failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-armv5tel-softfloat-linux-gnueabi-info.log
* /var/log/portage/cross-armv5tel-softfloat-linux-gnueabi-glibc-headers.log |
and log is showing
Code: | checking sysdep dirs... configure: error: The armv5tel is not supported. |
What's wrong? _________________ phoenix
___
myslenie ma przyszlosc
___
Last edited by phoenix_me on Mon Aug 15, 2011 6:36 pm; edited 1 time in total |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Mon Aug 15, 2011 10:59 am Post subject: |
|
|
are you sure that the glibc you choose is compatible with this arch? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
phoenix_me Apprentice
Joined: 24 Dec 2003 Posts: 281 Location: Lubliniec
|
Posted: Mon Aug 15, 2011 12:29 pm Post subject: |
|
|
DaggyStyle wrote: | are you sure that the glibc you choose is compatible with this arch? |
I was already trying 3 different version of glibc and always have the same error. _________________ phoenix
___
myslenie ma przyszlosc
___ |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Aug 15, 2011 12:38 pm Post subject: |
|
|
phoenix_me wrote: | DaggyStyle wrote: | are you sure that the glibc you choose is compatible with this arch? |
I was already trying 3 different version of glibc and always have the same error. |
Seems to me you've answered a different question then the one asked.
But anyway, that seems to be a configure message, so was there anything interesting in the relevant config.log ? |
|
Back to top |
|
|
phoenix_me Apprentice
Joined: 24 Dec 2003 Posts: 281 Location: Lubliniec
|
Posted: Mon Aug 15, 2011 12:57 pm Post subject: |
|
|
VoidMage wrote: | phoenix_me wrote: | DaggyStyle wrote: | are you sure that the glibc you choose is compatible with this arch? |
I was already trying 3 different version of glibc and always have the same error. |
Seems to me you've answered a different question then the one asked.
But anyway, that seems to be a configure message, so was there anything interesting in the relevant config.log ? |
I think I answered the right question. What I mean is that I was trying a three different versions of glibc to compile using crossdev. So it is nearly impossibly that none of this version in not supporting my arch.
What I found is that a glibc-ports is missing and this is a problem. But how can I force glibc to to use glibc-ports as a part of glibc installation? It should be a task for crossdev to select appriopriate architecture based on the TARGET parameter.
Code: | crossdev --b 2.19 --g 3.4.4 --k 2.6.12.6 --l 2.6 -t armv5tel-softfloat-linux-gnueabi
------------------------------------------------------------------------------------------------------------------------------
* crossdev version: 20110705
* Host Portage ARCH: amd64
* Target Portage ARCH: arm
* Target System: armv5tel-softfloat-linux-gnueabi
* Stage: 4 (C/C++ compiler)
* ABIs: default
* binutils: binutils-2.19
* gcc: gcc-3.4.4
* headers: linux-headers-2.6.12.6
* libc: glibc-2.6
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: |
_________________ phoenix
___
myslenie ma przyszlosc
___ |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Mon Aug 15, 2011 4:07 pm Post subject: |
|
|
phoenix_me wrote: | VoidMage wrote: | phoenix_me wrote: | DaggyStyle wrote: | are you sure that the glibc you choose is compatible with this arch? |
I was already trying 3 different version of glibc and always have the same error. |
Seems to me you've answered a different question then the one asked.
But anyway, that seems to be a configure message, so was there anything interesting in the relevant config.log ? |
I think I answered the right question. What I mean is that I was trying a three different versions of glibc to compile using crossdev. So it is nearly impossibly that none of this version in not supporting my arch.
What I found is that a glibc-ports is missing and this is a problem. But how can I force glibc to to use glibc-ports as a part of glibc installation? It should be a task for crossdev to select appriopriate architecture based on the TARGET parameter.
Code: | crossdev --b 2.19 --g 3.4.4 --k 2.6.12.6 --l 2.6 -t armv5tel-softfloat-linux-gnueabi
------------------------------------------------------------------------------------------------------------------------------
* crossdev version: 20110705
* Host Portage ARCH: amd64
* Target Portage ARCH: arm
* Target System: armv5tel-softfloat-linux-gnueabi
* Stage: 4 (C/C++ compiler)
* ABIs: default
* binutils: binutils-2.19
* gcc: gcc-3.4.4
* headers: linux-headers-2.6.12.6
* libc: glibc-2.6
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: |
|
no, you did not answered my question, I asked if the version you tried is compatible with arch for which you are trying to create the crosscompiler too. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
phoenix_me Apprentice
Joined: 24 Dec 2003 Posts: 281 Location: Lubliniec
|
Posted: Mon Aug 15, 2011 6:35 pm Post subject: |
|
|
I deleted whole configuration. Using crossdev -C arch and I created it using latest glibc gcc kernel binutils and it is working right now. Seems like crossdev have some issue with older version of glibc (i.e. 2.6).
Thanks for helping me. _________________ phoenix
___
myslenie ma przyszlosc
___ |
|
Back to top |
|
|
|