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)

AapoRantalainen 2012-05-22 19:40

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.

marmistrz 2012-05-22 19:48

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

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

Strange, these are still old 2.5 packages, as in fremantle.
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

AapoRantalainen 2012-05-22 19:58

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by marmistrz (Post 1210933)
Strange, these are still old 2.5 packages, as in fremantle.

You are right, I messed with my targets. Yes, last one was fremantle packages for fremantle (not very excited).

AapoRantalainen 2012-05-22 20:45

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
and
Code:

ldd /usr/binutils2.22/bin/ld.bfd
->  /usr/binutils2.22/lib/libbfd-2.22-system.so

So LD_LIBRARY_PATH might be useless.

At least this is working:
Code:

PATH=/usr/binutils2.22/bin:$PATH ld --version
-> 2.22


AapoRantalainen 2012-05-24 05:23

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)

marmistrz 2012-05-24 12:20

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

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

Seems hard.
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.

marmistrz 2012-05-24 13:02

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by AapoRantalainen (Post 1210964)
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
and
Code:

ldd /usr/binutils2.22/bin/ld.bfd
->  /usr/binutils2.22/lib/libbfd-2.22-system.so

So LD_LIBRARY_PATH might be useless.

At least this is working:
Code:

PATH=/usr/binutils2.22/bin:$PATH ld --version
-> 2.22


after apt-get update I'm getting this:
Code:

Ignoring Provides line with DepCompareOp for package binutils
Doesn't seem fatal, but just letting you know.

marmistrz 2012-05-25 18:19

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
On both gcc 4.2 and your 4.6

Here are the last lines from 4.6
http://pastebin.com/6vmEE8Uh

AapoRantalainen 2012-05-26 07:18

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by marmistrz (Post 1212478)
Code:

:1: sorry, unimplemented: -mfloat-abi=hard and VFP

pass --host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi to configure. (debian/rules uses that, and it starts compiling)

marmistrz 2012-05-26 10:08

Re: gcc-4.6 and Fremantle, WIP
 
Quote:

Originally Posted by AapoRantalainen (Post 1212713)
pass --host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi to configure. (debian/rules uses that, and it starts compiling)

This is the modified debian/rules.d/build.mk
http://pastebin.com/USC6y5xq

Still gettin' this error.


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8