maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Working in progress: upgrading glibc - standard c-library (https://talk.maemo.org/showthread.php?t=89467)

disappear 2013-06-14 08:03

Re: Working in progress: upgrading glibc - standard c-library
 
Hi AapoRantalainen,if you find a time could you answer me to one question
That problem with no sound,when installing the new libc6,still existing or already is resolved
regards
edit:After installing libc6: 2.10.90-maemo1,I noticed than my sygic suddenly stop working,i don't know this problem related with the new libc6,but when downgraded to old libc6,problem is solved

amr.fayz 2013-06-17 10:50

Re: Working in progress: upgrading glibc - standard c-library
 
Quote:

Originally Posted by disappear (Post 1351894)
Hi AapoRantalainen,if you find a time could you answer me to one question
That problem with no sound,when installing the new libc6,still existing or already is resolved
regards


sound Working perfectly with libc6: 2.10.90-maemo1

marmistrz 2013-06-17 13:10

Re: Working in progress: upgrading glibc - standard c-library
 
What about including this into cssu?

Estel 2013-06-17 16:06

Re: Working in progress: upgrading glibc - standard c-library
 
Ask cssu?blabla ten chars

panjgoori 2013-06-17 16:36

Re: Working in progress: upgrading glibc - standard c-library
 
seems like its politics everywhere in Maemo even CSSU ??

edit: please someone create another thread regarding these problems. i don't want to go offtopic here. i want to know what is going on.

Estel 2013-06-17 18:42

Re: Working in progress: upgrading glibc - standard c-library
 
You want new topic with what content? Nothing is going re this inside CSSU, AFAIK. CSSU require people interested in own work getting included to apply actively.

OTOH, after CSSU'ish fiasco with iDont's busybox-power and ade's worldclock inclusion, I don't think that anyone with at least two working brain cells, is going to dance around them to get integrated.

/Estel

freemangordon 2013-06-17 20:06

Re: Working in progress: upgrading glibc - standard c-library
 
Quote:

Originally Posted by panjgoori (Post 1352728)
seems like its politics everywhere in Maemo even CSSU ??

edit: please someone create another thread regarding these problems. i don't want to go offtopic here. i want to know what is going on.

Please create that thread, I'll try to answer to the extent of my knowledge.

Aapo, sorry for the OT

AapoRantalainen 2013-06-18 16:35

Re: Working in progress: upgrading glibc - standard c-library
 
Quote:

Originally Posted by disappear (Post 1351894)
That problem with no sound,when installing the new libc6,still existing or already is resolved

sounds:
2.10.90 working
2.13 working
2.14 not working
2.15 not working

I'm bisecting this...
[EDIT]
Bisection eglibc-svn ->
svn-13059 (actually same than 13054) works
svn-r13060 not working.

13060 is merging/syncing with fsf-glibc -> bisecting glibc-git
Code:

4bff6e0175ed195871f4e01cc4c4c33274b8f6e3 is the first bad commit
commit 4bff6e0175ed195871f4e01cc4c4c33274b8f6e3
Author: Andreas Schwab <schwab@redhat.com>
Date:  Fri Feb 25 20:49:48 2011 -0500

  - Fix memory leak in dlopen with RTLD_NOLOAD (BZ#12509)

http://sourceware.org/ml/libc-hacker.../msg00004.html

--
Which e.g. Ubuntu is reverting for 2.15
eglibc (2.15~pre6-0ubuntu4) precise; urgency=low
* Issue #13579, revert the fix for #12509. LP: #893605.
https://bugs.launchpad.net/bugs/893605

And proper fix is on glibc-2.16:
http://sourceware.org/bugzilla/show_bug.cgi?id=13579
"This is now fixed for 2.16 by my commit 0479b305c5b7c8e3fa8e3002982cf8cac02b842e"

So seems it will be better to get 2.16 working than tried to get it fixed by myself.

AapoRantalainen 2013-06-24 20:38

Re: Working in progress: upgrading glibc - standard c-library
 
1 Attachment(s)
eglibc-2.17.90 debs for Fremantle here: http://www.cs.helsinki.fi/u/rantalai.../libc-2.17.90/

It is latest code from eglibc-svn (24.06.2013 http://www.eglibc.org/cgi-bin/viewvc...revision=23297). Here is source for debs: http://www.cs.helsinki.fi/u/rantalai...maemo1.tar.bz2

*Sounds are working.
*Calendar is not working!
*All other default Maemo5 applications are at least starting (not heavily tested yet).
*localedef needs to be manually run: http://talk.maemo.org/showpost.php?p...78&postcount=4
---
Is there any way to debug why Calendar crashes right after start? gdb, strace and valgrind tested, but without source code (or debug symbols) of Calendar I can't figure anything.

I can bisect what is first commit to cause Calendar to break.

misiak 2013-06-24 21:23

Re: Working in progress: upgrading glibc - standard c-library
 
Quote:

Originally Posted by AapoRantalainen (Post 1354484)
eglibc-2.17.90 debs for Fremantle here: http://www.cs.helsinki.fi/u/rantalai.../libc-2.17.90/

It is latest code from eglibc-svn (24.06.2013 http://www.eglibc.org/cgi-bin/viewvc...revision=23297). Here is source for debs: http://www.cs.helsinki.fi/u/rantalai...maemo1.tar.bz2

*Sounds are working.
*Calendar is not working!
*All other default Maemo5 applications are at least starting (not heavily tested yet).
*localedef needs to be manually run: http://talk.maemo.org/showpost.php?p...78&postcount=4
---
Is there any way to debug why Calendar crashes right after start? gdb, strace and valgrind tested, but without source code (or debug symbols) of Calendar I can't figure anything.

I can bisect what is first commit to cause Calendar to break.

There are some reported backwards compatibility breaking changes in eglibc (as reported in few other projects, e.g. http://us.generation-nt.com/answer/b...205129881.html and http://osdir.com/ml/debian-glibc/2012-11/msg00045.html ).

Taking that to consideration, together with the fact that Debian aims to provide backwards compatibility when possible, I have to ask one question which may sound silly :D Did you try to apply standard Debian patches (e.g. ones from http://packages.debian.org/pl/source/sid/eglibc , file eglibc_2.17-6.debian.tar.xz , directory debian/patches/arm) to the sources and then build and check the Calendar? AFAIK Maemo's eglibc was based on Debian's version, so I would suspect there might be (just might, I'm not saying that for sure) a little chance that, after aplying Debian's fancy patches, the new version will be binary compatible with the previous version. The plain eglibc is known to have ABI incompatibilities even between versions used in Fremantle (2.5) and Harmattan (2.10.1) (see http://linuxtesting.org/compatibilit...at_report.html , "libc.so.6" section and further details for more info).


All times are GMT. The time now is 02:26.

vBulletin® Version 3.8.8