maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   gcc-4.6 and Fremantle, WIP (https://talk.maemo.org/showthread.php?t=81861)

marmistrz 2012-06-02 14:23

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by bsd1101 (Post 1216324)
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.

Which kernel, which version, are you using CSSU, which flavor, busybox-power?
The same questions to Aapo.

AapoRantalainen 2012-06-02 17:25

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by marmistrz (Post 1216435)
Which kernel, which version, are you using CSSU, which flavor, busybox-power?
The same questions to Aapo.

Nokia kernel, no CSSU, no busybox-power.
But no calendar (uninstalled).

bsd1101 2012-06-03 14:57

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by marmistrz (Post 1216435)
Which kernel, which version, are you using CSSU, which flavor, busybox-power?
The same questions to Aapo.


no busybox, CSSU testing, Kernel-Power latest version

marmistrz 2012-06-03 16:14

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by AapoRantalainen (Post 1216487)
Nokia kernel, no CSSU, no busybox-power.
But no calendar (uninstalled).

Can you try whether it boots with kernel-power, then if yes, without kp and with CSSU?

szopin 2012-06-04 17:43

Re: gcc-4.6 and Fremantle, WIP
 
[OT]Flashing worked flawlessly. What wfm: kp49/h-e-n 0.4.1 highspeed connection. Attached after VBUS ON, when dim nokia/usb logo appeared ran enumerate and then flasher (standard one 2.8.2 that is provided out of the box I believe). Great stuff, no need to wait for returning home after heavier/unluckier testing. Takes same amount of time as desktop (~2 minutes).
[/OT]

Installed gcc-4.6 on freshly flashed (only rootsh installed). Rebooted without problem. Strangely enough g++ cannot be installed, depends on libstdc++6-4.6-dev which is available but depends on libc6-dev, which is not (or am I missing SDK repo... going to check)

pablocrossa 2012-06-04 17:45

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by szopin (Post 1217361)
[OT]Flashing worked flawlessly. What wfm: kp49/h-e-n 0.4.1 highspeed connection. Attached after VBUS ON, when dim nokia/usb logo appeared ran enumerate and then flasher (standard one 2.8.2 that is provided out of the box I believe). Great stuff, no need to wait for returning home after heavier/unluckier testing. Takes same amount of time as desktop (~2 minutes).
[/OT]

Installed gcc-4.6 on freshly flashed (only rootsh installed). Rebooted without problem. Strangely enough g++ cannot be installed, depends on libstdc++6-4.6-dev which is available but depends on libc6-dev, which is not (or am I missing SDK repo... going to check)

Mind trying power kernel?? You can now reflash from phone ;) pretty cool :D

szopin 2012-06-04 18:01

Re: gcc-4.6 and Fremantle, WIP
 
Ok, for g++ sdk repo is required, installing right now, sadly after adding it and update the 'Ignoring Provides line with DepCompareOp' warning showed up. Binutils might need fixing according to this thread:
http://talk.maemo.org/showthread.php?t=84400


EDIT: g++ installed, still no issues with rebooting, now for KP

EDIT2: With KP50 now, no issues, though even though I installed libtcod-dev first thing I tried to compile cries lack of libtcod.hpp, not sure if related, but seems includes might be a bit off, also worth noting gcc/++-4.6 take some 36mb of rootfs.

szopin 2012-06-04 18:28

Re: gcc-4.6 and Fremantle, WIP
 
Ok... even libc6 and libc-bin from marmistrz do not cause a problem. CSSU time (this might take a while with this connection though)

EDIT: haha... spoke too soon. Internal error: Application 'Calendar' closed all over the place now. Thought it was suspicious Aapo mentioned uninstalling calendar. Not good. Though for email it was lack of ARM errata, maybe this needs to be taken into account when compiling libc

EDIT2: Uninstalled libc-bin (this is useless it seems), reinstalled libc6 from sdk repo and calendar, back to normal... almost. First of all, installing marmistrz's libc6(or -bin, not sure as did both) tried removing /sys in postinst... :/ After reinstall it cries lack of ldconfig. Guess it's time for another flash. GCC/++ so far no issues (assuming missing includes were from bad prog, will give it another try with something lighter)

pablocrossa 2012-06-04 19:38

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by szopin (Post 1217387)
Ok... even libc6 and libc-bin from marmistrz do not cause a problem. CSSU time (this might take a while with this connection though)

EDIT: haha... spoke too soon. Internal error: Application 'Calendar' closed all over the place now. Thought it was suspicious Aapo mentioned uninstalling calendar. Not good. Though for email it was lack of ARM errata, maybe this needs to be taken into account when compiling libc

EDIT2: Uninstalled libc-bin (this is useless it seems), reinstalled libc6 from sdk repo and calendar, back to normal... almost. First of all, installing marmistrz's libc6(or -bin, not sure as did both) tried removing /sys in postinst... :/ After reinstall it cries lack of ldconfig. Guess it's time for another flash. GCC/++ so far no issues (assuming missing includes were from bad prog, will give it another try with something lighter)

I guess calendar is closed source and cannot be ported/recompiled... shame
Thank you very much for the testing, next step someone must compile with the 4.6gcc and give it a shot :)
Thank you again for your time

szopin 2012-06-04 19:55

Re: gcc-4.6 and Fremantle, WIP
 
Anytime (srsly, flashing is a breeze now, getting all the needed packages to be able to do something takes ages in comparison, hope there is a way to make flashable img with rootsh, repos, busybox-power, bash, nano/joe, mc and all other basic goodies included, backupmenu might help, updating all cool repos alone takes 3x more than flashing)


All times are GMT. The time now is 13:30.

vBulletin® Version 3.8.8