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-05-28 18:01

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

marmistrz 2012-05-28 18:34

Re: gcc-4.6 and Fremantle, WIP
 
Yes!!!!!
I compiled it!!!!!!
I'll upload it 2moro!!

marmistrz 2012-05-29 10:01

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

AapoRantalainen 2012-05-30 07:02

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.

marmistrz 2012-05-30 08:45

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by AapoRantalainen (Post 1214776)
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.


Is the new libstdc++ and libgcc1 safe enough to install it on device (upgrade)?

AapoRantalainen 2012-05-30 09:04

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by marmistrz (Post 1214833)
Is the new libstdc++ and libgcc1 safe enough to install it on device (upgrade)?

On developing/hacking device, yes. Maybe not on everyday device.

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.

marmistrz 2012-05-30 11:03

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by AapoRantalainen (Post 1214837)
On developing/hacking device, yes. Maybe not on everyday device.

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.

So I'll wait until it's more sure that it's safe, as N900 is my main device

marmistrz 2012-05-30 14:51

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by AapoRantalainen (Post 1214776)
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.

I think we do for compiling: autobuilder compiles for armel & i386

marmistrz 2012-05-30 15:29

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

pablocrossa 2012-05-30 18:52

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by marmistrz (Post 1214995)
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

Mind attatching a compiled library?? :)


All times are GMT. The time now is 17:19.

vBulletin® Version 3.8.8