![]() |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
The best way out now would be making it work in other path, e.g. /opt/meecolay/lib. But this one gives seg fault. What may cause this? On the way from home I had a bit free time and I realized that newer libc6 is required by libaegis-crypto. some Apps wont work without it, e.g. forum-tmo PS. I'm not at home so my internet access is limited. |
Re: gcc-4.6 and Fremantle, WIP
Critical bins/libs (lib(stdc++)c, libglib... all pretty much are) might expect to be placed in static dirs. Segfaulting when accessing ../etc which is not in /opt/../ could be a thing. Same for optifying -dev packages, good luck building something on multilayered symbolic links. Please try incorporating thumb errata when building libc(6) in any case. If that is an option of course
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Before installing gcc4.6 I had 20mb of rootfs space.
After, just 2mb. Apt-clean got me back to 9mb, but this didn't cut for me. Is it ok? I mean, should it use 10mb of rootfs space? |
Re: gcc-4.6 and Fremantle, WIP
Quote:
Could you give some practical examples? =================== By the way, I think I know what may be the problem in runtime! There was an option Code:
-mfloat-abi=hard and VFP Btw. I'll try compiling with gcc4.6, as this was compiled with gcc4.2. This may cause problems too. |
Re: gcc-4.6 and Fremantle, WIP
Thumb2 is an extension on ARM architecture that basically allows binaries and libraries to be smaller.
Our TI processor has a bug that didn't allow Thumb2 compiled binaries to run properly (they crash). To avoid that, a workaround (the errata) must be introduced in the kernel. freemangordon is now leading an effort to build CSSU with community kernel with Thumb2 enabled. Until then, you won't be able to use any Thumb2 binary in Fremantle. To build properly in Fremantle, you need to deactivate hardfp and thumb2 in compiler flags. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
(Using -mfp=vfp is fine, as the OMAP supports that, and there have been no crashes reported from using the floating point unit. You may want to try -mfp=vfpv3 though, as we also apparently support that) Side note - GCC 4.7.0 is available. Anyone up to try that? |
All times are GMT. The time now is 14:59. |
vBulletin® Version 3.8.8