maemo.org Bugzilla – Bug 4594
Failed to build libosso-2.19 from Fremantle repo (ggc 4.3.2)
Last modified: 2010-01-14 12:27:57 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: Libosso-2.19 from the Fremantle repo. [http://repository.maemo.org/pool/fremantle/free/libo/libosso/] STEPS TO REPRODUCE THE PROBLEM: Just a normal attempt to build with ./autogen.sh,configure and make. My system specs: ggc 4.3.2 32-bit ubuntu 8.10 maemo-gtk, mce and other deps installed - so no issues there. EXPECTED OUTCOME: No error ! ACTUAL OUTCOME: Build fails at link stage : http://pastebin.com/f64a17d8a The attributes setting of the muali function is the culprit. The function it cannot find is in osso-rpc.c What worked for me : Changes to osso-rpc.c http://dpaste.com/48890/ Changes to osso-init.c http://dpaste.com/48893/ This error could be due to my gcc version or something else, but this: (http://projects.linuxtogo.org/pipermail/openembedded-commits/2009-March/025457.html) has similar changes. REPRODUCIBILITY: Always (always/sometimes/once) EXTRA SOFTWARE INSTALLED: none OTHER COMMENTS: changelog for version 2.19 is missing. :) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/8.10 (intrepid) Firefox/3.0.10
I don't have that compiler. Please attach a patch that works and I'll fix it...
Created an attachment (id=1209) [details] Patch to remove hidden attribute from 2 functions: osso-rpc.c and osso-init.c Added the patch which worked for me. Can somebody please confirm if this is the correct approach ? I checked with other alternatives for attribute similar to hidden which might be appropriate here - but doesnt work that way. [Also, this build is without outo support. If I have outo on my system, libtool cribs about run-paths not being absolute.]
Kimmo: Willing to integrate this, or shall I open an internal ticket?
Maybe it's combining "inline" and hidden attribute that is the problem. Could the reporter try just removing "inline"? Hiding the symbol is desired.
moreinfo as per last comment. Kirtika, can you please test this (and remove the moreinfo keyword again after commenting here)?
@Andre, Kimmo: I am extremely sorry for the huge latency in the reply. Yes, doing what Kimmo suggested works {removing the inline}.
Created an attachment (id=1256) [details] Patch to avoid inlining functions Too trivial to be needed here, but attached the revised patch just in case.
Kimmo, so is this worth importing or can you quickly integrate it?
Fixed in internal week 43 build. Any public update released with or after this build version (x.2009.43-y) will include the fix. Please verify that the new version fixes the bug by marking this bug report as VERIFIED after the public update has been released and if you have some time.
The problem reported here should be fixed in the update released today for public: The Maemo5 update version 2.2009.51-1 (also called "PR1.1" sometimes). Please leave a comment if the problem is not fixed for you in this update version.