![]() |
Re: gcc-4.6 and Fremantle, WIP
Quote:
Comment above assert is Quote:
I don't know what are these requirements, what they should be, where or how they should be defined. *when gcc is compiled? *when binutils is compiled? *when gcc and binutils are used? -- Assertation is easily disabled, just remove mentioned line on mentioned file and recompile binutils. It will work same way after that, without nagging. But there might be good reason for that assertation failing and that should be fixed. |
Re: gcc-4.6 and Fremantle, WIP
Could it be possible to, at least, upgrade the OBS and Scratchbox to gcc4.4?
That would be a point to start with. Rebuild CSSU, then start rebuildong some application in extras-devel, finally every new application pushed to extras could then be built with a newer version of the compiler. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
Here is how to add the harmattan repository. Libstdc++6 v4.4 is out there. I'm downloading Aapo's stuff, and will check it out. EDIT: has anyone tried installing this directly on device? |
Re: gcc-4.6 and Fremantle, WIP
Has anyone tried to compile libc6 >= 2.10?
I managed to run lots of harmattan apps using meego binaries + Aapo's libstdc++6, but now newer libc6 is missing. Binary ver. from meego not working |
Re: gcc-4.6 and Fremantle, WIP
Quote:
(I have binutils2.22 installed, not sure is it needed. More info later) You need newer gcc than 4.2. Libc needs autoconf2.68. Autoconf2.68 needs: m4 1.4.13, but we have only 1.4.8-2. pkg-config 0.26, but we have only 0.22 Compiling m4 1.4.13: Based on ubuntu 12.04 package lower dependency of texi2html Code:
#this check is failing Code:
fakeroot dpkg -i Compiling pkg-config 0.26 Based on ubuntu 12.04 package Fetch debian/rules from Fremantles version installing pkg-config Code:
fakeroot dpkg -i ../pkg-config_0.26-1ubuntu1_armel.deb Compiling autoconf2.68 Based on ubuntu 12.04 package Code:
echo 5 > /debian/compat Installing autoconf Code:
fakeroot dpkg -i ../autoconf_2.68-1ubuntu2_all.deb Compiling eglibc Code:
svn co svn://svn.eglibc.org/branches/eglibc-2_14 eglibc |
Re: gcc-4.6 and Fremantle, WIP
@marmistrz Four weeks ago you advised me how to get binutils2.22 to the repository, now I'm trying to achieve it (some issues with autobuilder).
Package name is binutils2.22 (no conflicts with existing package names). It's files goes to the /usr/binutils2.22/bin, /usr/binutils2.22/lib and ... (no conflicts with existing files). And name of binaries is still as expected, e.g. ld. And it is used: Code:
PATH=/usr/binutils2.22/bin:$PATH |
Re: gcc-4.6 and Fremantle, WIP
Quote:
I could test whether it works with forum-tmo from meego. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
http://cc.oulu.fi/~rantalai/maemo/libc.so It seems to work when used with LD_LIBRARY_PATH. I don't know how to overwrite system's libc (system reboots when I tried). |
Re: gcc-4.6 and Fremantle, WIP
Quote:
this gives Segmentation fault. Even running meecolay, which is just a modified /usr/bin/preenv script. (diff. vars & preloads) there is Segmentation fault The same happens with MeeGo's libc6 (2.10 or 2.9 iirc) is newer libstdc++ > 4.6 required or some other lib? |
Re: gcc-4.6 and Fremantle, WIP
@AapoRantalainen
hope you don't mind this: http://talk.maemo.org/showthread.php?t=84322&page=7 :) though i don't think that's really the official nomination thread. just so you know that your effort's being appreciated. sorry for being off-topic. :p |
Re: gcc-4.6 and Fremantle, WIP
With harmattan target I fetch apt-get source libc6 and compiled it for fremantle target.
http://cc.oulu.fi/~rantalai/maemo/glibc_from_harmattan/ There are debs and raw libc.so. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
I was talking about these packages. Was it a typo or did you build eglibc v2.5? note: if you want exact details about the harmattan repo, they're right there: http://forum.meego.com/showpost.php?p=27649&postcount=2 marmistrz |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Package binutils2.22 are in extras-devel. It doesn't conflict with any package (no names, no files).
Code:
/usr/binutils2.22/bin/ld is symlink to the ld.bfd Code:
ldd /usr/binutils2.22/bin/ld.bfd At least this is working: Code:
PATH=/usr/binutils2.22/bin:$PATH ld --version |
Re: gcc-4.6 and Fremantle, WIP
Compiling Harmattan's libc6 keeps qemu crashing. I decided to compile it straight on the phone. It could take days, 10 hours back already. (And I'm not still sure will it compile, and will result work as expected)
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
I'll fire up my maemo sdk, just to check whether it's a sb2-connected problem N' I've got an idea, why the libc > 2.11 doesn't work. Harmattan's is eglibc. The ubuntu's/debian's/whatever's is normal glibc. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
Code:
Ignoring Provides line with DepCompareOp for package binutils |
Re: gcc-4.6 and Fremantle, WIP
My Scratchbox doesn't crash, but I'm getting this:
Code:
:1: sorry, unimplemented: -mfloat-abi=hard and VFP Here are the last lines from 4.6 http://pastebin.com/6vmEE8Uh |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
http://pastebin.com/USC6y5xq Still gettin' this error. |
Re: gcc-4.6 and Fremantle, WIP
I think I'm nearly there,
I removed the line with -mfloat-abi=hard and VFP from debian/sysdeps/armel.mk And it seems to compile. It requires debhelper7, as in sdk dh5 there's dh_lintian missing |
Re: gcc-4.6 and Fremantle, WIP
Yes!!!!!
I compiled it!!!!!! I'll upload it 2moro!! |
Re: gcc-4.6 and Fremantle, WIP
OK, I copied the libc stuff to /opt/meecolay/* and still segmentation fault.
Seems that it's not as easy to tame as libstdc++6. Do you have any idea why it causes seg fault? I'm not @ home, so I'll upload only libc6 and libc-bin. I'll upload the rest later. It's here: http://marmistrz.net63.net/meecolay/libc6 |
Re: gcc-4.6 and Fremantle, WIP
I'm proceeding with gcc-4.6!
I dropped i386 version entirely ( It tries to compile i386-version with 64bit multilib support, and that is very hard to turn off. It was easier to me to just drop i386 version. Do we need this? ) Now extras-devel has gcc-4.6 package which contains working binary for gcc-4.6. It still has some dependencies for non-existing packages, so it can't be installed (but can be downloaded and extracted). http://maemo.org/packages/package_in.../4.6.1-maemo5/ Next version is on builder already, but it takes some 48h to compile. Packaging of gcc is tricky as it generates/modifies own packaging files during packeting. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
Is the new libstdc++ and libgcc1 safe enough to install it on device (upgrade)? |
Re: gcc-4.6 and Fremantle, WIP
Quote:
I upgraded my device and it is still booting (without RD-mode) and working. I have tested only couple of applications, but they worked as earlier. |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Has anyone tried to replace the stock libc6 with mine?
Maybe in other path it doesn't work but may work in normal path (/usr/*) Btw. I uploaded the source I built. The depends have to be modified, as I used -d flag It's the md5sum, as I had problems uploading 76d4e0b20b5573738604298c886a07fe eglibc_2.10-0maemo18.1+0m6.tar.gz I'll upload the rest of built packages soon. download it here: http://marmistrz.net63.net/meecolay/libc6 It runs OK on scratchbox |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
I barely uploaded eglibc source. And debs weren't uploaded @home Here are the 2 libs needed. http://marmistrz.net63.net/meecolay/libc6 it's libc6 and libc-bin both the compiled version. I didn't test them on-device |
Re: gcc-4.6 and Fremantle, WIP
Quote:
anyone up for the test?? those of you with more than one N900 (or time to reflash ;) ) |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
Heh... I was wondering where did the 4.6 come from in apt-get. Sadly fighting to get a working automake/conf I forced a thing or two too many and my testing device no longer boots. Will test the libc6 as soon as I get it flashed (laptop also crashed, so unless I can flash with the second N900, might take a while... this has been a bad week for tech)
|
Re: gcc-4.6 and Fremantle, WIP
Quote:
[OT] I have to say the idea of flashing an N900 with another N900 is pretty cool. So long as you have hostmode and a compiled version of flasher-3.5 it should be perfectly doable :) [/OT] |
Re: gcc-4.6 and Fremantle, WIP
[OT] Or even better, Pali's FOSS flasher replacement. I also agree, that idea is cool. But do we have necessary modules in kernel? Shall we start another thread about it?[/OT]
/Estel |
Re: gcc-4.6 and Fremantle, WIP
[OT] Or even better, Pali's FOSS flasher replacement. I also agree, that idea is cool. But do we have necessary modules in kernel? Shall we start another thread about it?[/OT]
/Estel |
Re: gcc-4.6 and Fremantle, WIP
Quote:
I made test: Code:
wget http://marmistrz.net63.net/meecolay/libc6/libc6_2.10-0maemo18.1+0m6_armel.deb |
Re: gcc-4.6 and Fremantle, WIP
Quote:
|
Re: gcc-4.6 and Fremantle, WIP
did apt-get gcc-4.6....bad idea in my case. Phone would not restart. Hung on the nokia logo. Repartitioned, reinstalling and will have about 2 hours of sleep before work FML.
|
All times are GMT. The time now is 19:05. |
vBulletin® Version 3.8.8