1 |
Christopher Friedt wrote: |
2 |
> Interesting... I'm using the 'crunch.tar.gz' package that has several |
3 |
> bitbake scripts (.bb files) from the cirrus list as well. |
4 |
|
5 |
> http://martinwguy.co.uk/martin/FPU/futaris |
6 |
|
7 |
> My plan is to just create my own portage overlay, and root through all |
8 |
> of the patches (one by Mike Frysinger, I might add) to get eabi and |
9 |
> maverick crunch working. |
10 |
|
11 |
> Binutils-2.17 was quite simple to patch (there was only 1 patch file), |
12 |
> but gcc seems to have _lots_ ... |
13 |
|
14 |
> Aside from that, I think that ECONF_EXTRA needs to be set in order to |
15 |
> get crunch support by default on the C compiler. For that, what I'm |
16 |
> using is: |
17 |
|
18 |
> ECONF_EXTRA="--without-x --enable-languages=c,c++ \ |
19 |
> --with-cpu=ep9312 --with-float-abi=softfp --with-fpu=maverick" \ |
20 |
> crossdev -S armv4t-maverick-linux-gnueabi |
21 |
> |
22 |
|
23 |
OK, I gave this a shot, literally; here are the results I get: |
24 |
|
25 |
|
26 |
# ECONF_EXTRA="--without-x --enable-languages=c,c++ \ |
27 |
> --with-cpu=ep9312 --with-float-abi=softfp --with-fpu=maverick" \ |
28 |
> crossdev -S armv4t-maverick-linux-gnueabi |
29 |
------------------------------------------------------------------------------------ |
30 |
* Host Portage ARCH: amd64 |
31 |
* Target Portage ARCH: arm |
32 |
* Target System: armv4t-maverick-linux-gnueabi |
33 |
* Stage: 4 (C/C++ compiler) |
34 |
|
35 |
* binutils: binutils-[stable] |
36 |
* gcc: gcc-[stable] |
37 |
* headers: linux-headers-[stable] |
38 |
* libc: glibc-[stable] |
39 |
|
40 |
* PORTDIR_OVERLAY: /usr/local/portage |
41 |
* PORT_LOGDIR: /var/log/elog/ |
42 |
* PKGDIR: |
43 |
/usr/portage/packages/cross/armv4t-maverick-linux-gnueabi |
44 |
* PORTAGE_TMPDIR: /var/tmp/cross/armv4t-maverick-linux-gnueabi |
45 |
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ |
46 |
- _ - ~ - |
47 |
* Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... |
48 |
[ ok ] |
49 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-binutils.log |
50 |
* Emerging cross-binutils ... |
51 |
[ ok ] |
52 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-gcc-stage1.log |
53 |
* Emerging cross-gcc-stage1 ... |
54 |
[ ok ] |
55 |
* Log: |
56 |
/var/log/elog//cross-armv4t-maverick-linux-gnueabi-linux-headers.log |
57 |
* Emerging cross-linux-headers ... |
58 |
[ ok ] |
59 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-glibc.log |
60 |
* Emerging cross-glibc ... |
61 |
[ ok ] |
62 |
* Log: /var/log/elog//cross-armv4t-maverick-linux-gnueabi-gcc-stage2.log |
63 |
* Emerging cross-gcc-stage2 ... |
64 |
|
65 |
* gcc failed :( |
66 |
* If you file a bug, please attach the following logfiles: |
67 |
* /var/log/elog//cross-armv4t-maverick-linux-gnueabi-info.log |
68 |
* /var/log/elog//cross-armv4t-maverick-linux-gnueabi-gcc-stage2.log |
69 |
|
70 |
|
71 |
|
72 |
|
73 |
> (these options can be passed to the gcc configure script, see |
74 |
> gcc*/INSTALL/index.html -> configure) |
75 |
|
76 |
I'm not sure where exactly how to pass these options. |
77 |
|
78 |
> Sorry, are you having problems creating an i686 -> |
79 |
Same trouble by my workstation is a AMD64 (x86_64-pc-linux-gnu). |
80 |
|
81 |
> arm-softfloat-linux-gnu cross-compiler or cross-compiling gcc for |
82 |
> softfloat? Softfloat should compile cleanly, but I've had to apply two |
83 |
> patches (1 of which should definitely be upstream) |
84 |
> |
85 |
> 1) externalize jar and 2) @progbits patch for arm/sysv.S |
86 |
> |
87 |
> The externalize jar patch is only necessary for libjava / gcj ... and |
88 |
> from what I've seen, it's pretty damn slow on the arm anyway, so I'll |
89 |
> probably forget about it. |
90 |
|
91 |
Can you explain in a little bit more detail how these patches are applied? |
92 |
|
93 |
> I'll let you know if I have any success with my overlay, but sorting |
94 |
> through all of the patches for gcc might take quite a bit of time. |
95 |
> |
96 |
> ~/Chris |
97 |
|
98 |
|
99 |
James |
100 |
|
101 |
-- |
102 |
gentoo-embedded@l.g.o mailing list |