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