View previous topic :: View next topic |
Author |
Message |
_blib n00b
Joined: 21 Mar 2006 Posts: 1
|
Posted: Tue Mar 21, 2006 3:41 pm Post subject: crossdev for mipsel |
|
|
I'm trying to compile crossdev toolchain for mipsel
Code: | # crossdev --gcc 3.3.6 --libc 2.2.5 --target mipsel-pc-linux-gnu
-----------------------------------------------------------------------------
* Host Portage ARCH: x86
* Target Portage ARCH: mips
* Target System: mipsel-pc-linux-gnu
* Stage: 4 (C/C++ compiler)
* binutils: binutils-[latest]
* gcc: gcc-3.3.6
* headers: mips-headers-[latest]
* libc: glibc-2.2.5
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/mipsel-pc-linux-gnu
* PORTAGE_TMPDIR: /var/tmp/cross/mipsel-pc-linux-gnu
_ - ~ - _ - ~ - _ - ~ - _ - ~ -
* Log: /var/log/portage/cross-mipsel-pc-linux-gnu-binutils.log
* Emerging cross-binutils ... [ ok ]
* Log: /var/log/portage/cross-mipsel-pc-linux-gnu-gcc-stage1.log
* Emerging cross-gcc-stage1 ... [ ok ]
* Log: /var/log/portage/cross-mipsel-pc-linux-gnu-mips-headers.log
* Emerging cross-mips-headers ... [ ok ]
* Log: /var/log/portage/cross-mipsel-pc-linux-gnu-glibc.log
* Emerging cross-glibc ...
* glibc failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-mipsel-pc-linux-gnu-info.log
* /var/log/portage/cross-mipsel-pc-linux-gnu-glibc.log
#
|
the problem is that glibc wants threads in gcc but stage1 gcc is compiled with --disable-threads
I look at toolchain.eclass I see this comment
Code: |
# When building a stage1 cross-compiler (just C compiler), we have to
# disable a bunch of features or gcc goes boom
|
why?
What should I do ? enable threads in toolchain.eclass and just live with that? |
|
Back to top |
|
|
Redhatter Retired Dev
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Wed Mar 22, 2006 12:29 am Post subject: |
|
|
Ummm... why gcc 3.3.6? Wouldn't 3.4.4 be more appropriate?
Also, that version of glibc is ancient too... Better to use something more recent like 2.3.5. _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|