Active Topics

 


Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#131
First of all: do not install the libqtm-12-dbg unless you know what debug symbols mean and what they're used for. The same for libqtm-12-dev - don't install it unless you know what development headers are (for).

And as for testing: for me installs cleanly, MaeLyrica works.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#132
Aapo: found a bug in updated qtm-12, probably build-related: libQtLocation.so.1: symbol _isoc99_fscanf, version GLIBC_2.7 not defined in file libc.so.6 with link time reference

found this while using modrana qml
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#133
Originally Posted by marmistrz View Post
Aapo: found a bug in updated qtm-12, probably build-related: libQtLocation.so.1: symbol _isoc99_fscanf, version GLIBC_2.7 not defined in file libc.so.6 with link time reference

found this while using modrana qml
Maybe something similar to https://gitorious.org/community-ssu/...a4643931cbb3c9 should be implemented

Just a wild guess
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#134
I had libc6=2.10.90-maemo1 installed when I built these debs, and then they depend on that version (but for some reason didn't add it to the formal Depends).

I downgraded libc6=2.5.1-1eglibc27+0m5 (the stock Fremantle), rebuilt qtm, and seems it is not needing _isoc99_fscanf anymore. New version uploaded.

Keep bug reports coming.

----
Originally Posted by freemangordon View Post
Maybe something similar to https://gitorious.org/community-ssu/...a4643931cbb3c9 should be implemented
Seems this will be solution for one of my hacky workarounds. Will try that for the next build.
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#135
Originally Posted by freemangordon View Post
Maybe something similar to https://gitorious.org/community-ssu/...a4643931cbb3c9 should be implemented
I'm not sure is this anyhow related or what to do about it.

Error is:
Code:
/targets/FREMANTLE_ARMEL_GCC472/usr/include/QtCore/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
tools/icheck/parser/src/libs/cplusplus/CppDocument.cpp:101: undefined reference to `QString::vsprintf(char const*, std::__va_list)'
(file /usr/include/QtCore/qstring.h comes from package libqt4-dev, which is version 1:4.7.4~git20110505+cssu10

Line in error:
Code:
/usr/include/QtCore/qstring.h:187
   QString    &vsprintf(const char *format, va_list ap)
Recursively grepping over qtm /CppDocument.cpp:101 is the only occurrence of vsprintf (which is currently just commented out).
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#136
Which workarounds are most hacky and need to be fixed at most?

And would anything stop use now to replace libqtm-* 1.0.2?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#137
Originally Posted by AapoRantalainen View Post
I'm not sure is this anyhow related or what to do about it.

Error is:
Code:
/targets/FREMANTLE_ARMEL_GCC472/usr/include/QtCore/qstring.h:187:14: note: the mangling of 'va_list' has changed in GCC 4.4
tools/icheck/parser/src/libs/cplusplus/CppDocument.cpp:101: undefined reference to `QString::vsprintf(char const*, std::__va_list)'
(file /usr/include/QtCore/qstring.h comes from package libqt4-dev, which is version 1:4.7.4~git20110505+cssu10

Line in error:
Code:
/usr/include/QtCore/qstring.h:187
   QString    &vsprintf(const char *format, va_list ap)
Recursively grepping over qtm /CppDocument.cpp:101 is the only occurrence of vsprintf (which is currently just commented out).
That's exactly the same problem that commit (in CSSU Qt) workarounds, see http://www.emdebian.org/svn/current/...st_compat.diff for a better explanation

In short, gcc >= 4.4 changes the mangling of vararg functions, effectively breaking the ABI. The workaround is to alias the "new" function name with the "old" function name.

However, your problem is that you use gcc 4.7.2 to build against Qt which is build with gcc 4.2 - gcc tries to find a symbol with the new mangling but it (of course) is missing in the old gcc compiled lib.

So, you should either compile with gcc 4.2 or use Qt from cssu-thumb

Or maybe you could alias the new name with the old name, maybe something like:

Code:
#if defined(__ARM_EABI__) && defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 4)
__asm__(".symver _ZN7QString8vsprintfEPKcPv@, _ZN7QString8vsprintfEPKcSt9__va_list@");
#endif
would do the job. I don't know how smart are gcc and ld.

EDIT:
it seems you could pass
Code:
--defsym=_ZN7QString8vsprintfEPKcSt9__va_list=_ZN7QString8vsprintfEPKcPv@
to the linker:
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer


Last edited by freemangordon; 2013-11-05 at 17:09.
 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#138
Originally Posted by marmistrz View Post
Which workarounds are most hacky and need to be fixed at most?
I think I have now ironed hacky parts out. Or what you think?

Non-trivial (trivial = adding missing headers and missing std:: (of cource they can still cause bugs too)) modifications:

--------------------------------------
commit 2fbfaac4a1784c646fae07fe0160719dfc55b881
Author: Aapo Rantalainen <aapo.rantalainen@gmail.com>
Date: Sun Oct 6 13:21:44 2013 +0300

Maemo5: no magnetometer

Modified file: doc/src/snippets/sensors/creating.cpp
---------------------------------------------------------------------
commit c3ddd697cfe03e410c0e8ec1159003fd58aa0185
Author: Aapo Rantalainen <aapo.rantalainen@gmail.com>
Date: Sun Oct 6 13:28:45 2013 +0300

Maemo5: drop iphb_I_woke_up

Modified file: src/systeminfo/qsystemalignedtimer_meego.cpp
dropped
iphb_I_woke_up(m_iphbdHandler);
iphb_discard_wakeups(m_iphbdHandler);

Because <iphbd/libiphb.h> doesn't have them (too old version)
New version will have it:
https://gitorious.org/meego-middleware/libiphb
and even first evre source release also:
https://gitorious.org/dsme/libiphb
---------------------------------------------------------------------
commit 2bcc057a98294260cb2020ea233c8c45c1e30cfc
Author: Aapo Rantalainen <aapo.rantalainen@gmail.com>
Date: Sun Oct 6 13:29:18 2013 +0300

Maemo5: blkid_enabled should not trigger

Maemo's libblkid is too old - 1.41.3-1maemo6+0m5, so we are not using it all.
---------------------------------------------------------------------

New packages on the same place: http://talk.maemo.org/showpost.php?p...&postcount=127
-fremantle3. This time compiled with gcc-4.2.
 

The Following 6 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#139
@aapo - there is pretty much recent libblkid1 version in cssu-devel, it should go in the next cssu-testing update:
https://gitorious.org/community-ssu/...bian/changelog
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 6 Users Say Thank You to freemangordon For This Useful Post:
Posts: 238 | Thanked: 131 times | Joined on May 2011 @ Bulgaria
#140
Originally Posted by marmistrz
First of all: do not install the libqtm-12-dbg unless you know what debug symbols mean and what they're used for. The same for libqtm-12-dev - don't install it unless you know what development headers are (for).
First of all marmistrz,it's not bad to remember who gives you those 2 important links,from which you able to take advantage of the maximum,don't forget this,I want only for test with above files,I am not to deep on linux world,however.
 
Reply

Tags
bluetooth, nfc-api, qtmobility


 
Forum Jump


All times are GMT. The time now is 10:44.