![]() |
2012-03-25
, 17:01
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#42
|
The Following 2 Users Say Thank You to ivgalvez For This Useful Post: | ||
![]() |
2012-04-15
, 11:26
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#43
|
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.
![]() |
2012-05-20
, 16:06
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#44
|
![]() |
2012-05-22
, 10:39
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#45
|
#this check is failing rm ./checks/005.command_li #this test is failing rm ./tests/test-spawn-pipe.sh
fakeroot dpkg -i
fakeroot dpkg -i ../pkg-config_0.26-1ubuntu1_armel.deb #outside of scratchbox sudo rm /scratchbox/devkits/autotools-legacy/bin/pkg-config sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/pkg-config /scratchbox/devkits/autotools-legacy/bin/pkg-config
echo 5 > /debian/compat
fakeroot dpkg -i ../autoconf_2.68-1ubuntu2_all.deb #outside of scratchbox sudo rm /scratchbox/devkits/autotools-legacy/bin/autoconf sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/autoconf /scratchbox/devkits/autotools-legacy/bin/autoconf
svn co svn://svn.eglibc.org/branches/eglibc-2_14 eglibc mkdir eglibc_build cd eglibc_build CC=gcc-4.6 ../eglibc/libc/configure --enable-add-ons=nptl,../eglibc/ports --prefix=/opt/ make
The Following 7 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2012-05-22
, 10:46
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#46
|
PATH=/usr/binutils2.22/bin:$PATH LD_LIBRARY_PATH=/usr/binutils2.22/lib:$LD_LIBRARY_PATH
The Following 11 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2012-05-22
, 11:22
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#47
|
I'm on it, namely on trunk of elibc (version > 2.15). I'm not fully tested results or checked steps, but here comes sketch how it should go (my vision).
(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
Installing m4Code:#this check is failing rm ./checks/005.command_li #this test is failing rm ./tests/test-spawn-pipe.sh
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 #outside of scratchbox sudo rm /scratchbox/devkits/autotools-legacy/bin/pkg-config sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/pkg-config /scratchbox/devkits/autotools-legacy/bin/pkg-config
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 #outside of scratchbox sudo rm /scratchbox/devkits/autotools-legacy/bin/autoconf sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/autoconf /scratchbox/devkits/autotools-legacy/bin/autoconf
Compiling eglibc
Code:svn co svn://svn.eglibc.org/branches/eglibc-2_14 eglibc mkdir eglibc_build cd eglibc_build CC=gcc-4.6 ../eglibc/libc/configure --enable-add-ons=nptl,../eglibc/ports --prefix=/opt/ make
![]() |
2012-05-22
, 14:04
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#48
|
The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2012-05-22
, 14:20
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#49
|
eglibc-svn-r18520 (2012-05-12 18:44:41)
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).
![]() |
2012-05-22
, 14:33
|
Posts: 535 |
Thanked: 598 times |
Joined on Apr 2011
@ Republic of the Philippines
|
#50
|
Comment above assert is
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.