<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>+1</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> mingw android <mingw.android@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Thomas Senyk <thomas.senyk@nokia.com><br><b><span style="font-weight: bold;">Cc:</span></b> BogDan <bog_dan_ro@yahoo.com>; "necessitas-devel@kde.org" <necessitas-devel@kde.org><br><b><span style="font-weight: bold;">Sent:</span></b> Monday, September 19, 2011 5:20 PM<br><b><span style="font-weight: bold;">Subject:</span></b>
Re: android-ndk-6b<br></font><br><div id="yiv234694280"><div>I dont think we should support old ndks at all... Opinions?</div>
<div class="yiv234694280gmail_quote">On Sep 19, 2011 1:28 PM, "Thomas Senyk" <<a rel="nofollow" ymailto="mailto:thomas.senyk@nokia.com" target="_blank" href="mailto:thomas.senyk@nokia.com">thomas.senyk@nokia.com</a>> wrote:<br>> Another one in qmake.conf<br>> After removing both it worked.<br>
> <br>> <br>> I pushed the change to experimental ... how the work/update/merges to master <br>> should be done currently.<br>> <br>> My changes:<br>> - I changed default version to r6b (qmake.conf)<br>
> - I enable the additional link only for <r6b (qmake.conf and qt.prf)<br>> (I only considered r6 and r5* .. I guess/hope nobody used r4 anymore?)<br>> <br>> <br>> <a rel="nofollow" target="_blank" href="http://quickgit.kde.org/?p=android-">http://quickgit.kde.org/?p=android-</a><br>
> qt.git&a=commit&h=7c4288f24b73c8f6562f64a49ab27e023cbb97c4<br>> <br>> <br>> <br>> Greets<br>> Thomas<br>> <br>> On Friday, September 16, 2011 03:17:49 PM ext mingw android wrote:<br>>> Yeah, google messed up a bit there and we worked around it.<br>
>> <br>>> On Sep 16, 2011 2:24 PM, "BogDan" <<a rel="nofollow" ymailto="mailto:bog_dan_ro@yahoo.com" target="_blank" href="mailto:bog_dan_ro@yahoo.com">bog_dan_ro@yahoo.com</a>> wrote:<br>>> > Try to remove "!contains(ANDROID_PLATFORM, android-4):<br>
>> !contains(ANDROID_PLATFORM, android-5): !contains(ANDROID_PLATFORM,<br>>> android-8): QMAKE_LFLAGS += $$ANDROID_PLATFORM_PATH/lib/crtbegin_so.o<br>>> $$ANDROID_PLATFORM_PATH/lib/crtend_so.o"<br>
>> <br>>> > from qt.prf file.<br>>> > <br>>> > Cheers,<br>>> > BogDan.<br>>> > <br>>> > <br>>> > <br>>> > ----- Original Message -----<br>>> > <br>
>> >> From: Thomas Senyk <<a rel="nofollow" ymailto="mailto:thomas.senyk@nokia.com" target="_blank" href="mailto:thomas.senyk@nokia.com">thomas.senyk@nokia.com</a>><br>>> >> To: ext mingw android <<a rel="nofollow" ymailto="mailto:mingw.android@gmail.com" target="_blank" href="mailto:mingw.android@gmail.com">mingw.android@gmail.com</a>><br>
>> >> Cc: <a rel="nofollow" ymailto="mailto:necessitas-devel@kde.org" target="_blank" href="mailto:necessitas-devel@kde.org">necessitas-devel@kde.org</a><br>>> >> Sent: Friday, September 16, 2011 2:29 PM<br>>> >> Subject: android-ndk-6b<br>>> >> <br>
>> >> Hi Ray,<br>>> >> <br>>> >> i tried to compile for android-9 on android-ndk-6b but had a couple of<br>>> >> multiple-definitions<br>>> >> <br>>> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch<br>
>> >> -<br>>> >> arm//usr/lib/crtbegin_so.o: In function `__dso_handle':<br>>> >> (.bss+0x0): multiple definition of `__dso_handle'<br>>> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch<br>
>> >> -<br>>> >> arm//usr/lib/crtbegin_so.o:(.bss+0x0): first defined here<br>>> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch<br>>> >> -<br>>> >> arm//usr/lib/crtbegin_so.o: In function `__INIT_ARRAY__':<br>
>> >> (.init_array+0x0): multiple definition of `__INIT_ARRAY__'<br>>> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch<br>>> >> -<br>>> >> arm//usr/lib/crtbegin_so.o:(.init_array+0x0): first defined here<br>
>> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch<br>>> >> -<br>>> >> arm//usr/lib/crtbegin_so.o: In function `__FINI_ARRAY__':<br>>> >> (.fini_array+0x0): multiple definition of `__FINI_ARRAY__'<br>
>> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch<br>>> >> -<br>>> >> arm//usr/lib/crtbegin_so.o:(.fini_array+0x0): first defined here<br>>> >> collect2: ld returned 1 exit status<br>
>> >> <br>>> >> <br>>> >> <br>>> >> The same checkout is building with 6, so it's some difference in the<br>>> >> NDK. It also builds for android-9 with 6b.<br>
>> >> <br>>> >> So only the combination android-9 + ndk-6b is failing.<br>>> >> <br>>> >> So I guessed it's in<br>>> <br>>> android-ndk-r6(b)/platforms/android-9/arch-arm/usr/lib/<br>
>> <br>>> >> I did a objdump -x on all file for each ndk and did a diff ... it's<br>>> >> attached.<br>>> >> The only diff I can identify are regarding __dso_handle<br>>> >> .. maybe the rest is just follow-up error?<br>
>> >> <br>>> >> <a rel="nofollow" target="_blank" href="http://developer.android.com/sdk/ndk/index.html">http://developer.android.com/sdk/ndk/index.html</a> .. mentions this for<br>>> <br>>> NDK-6b:<br>>> >> "Fixed the standalone toolchain linker warnings about missing the<br>
>> >> definition<br>>> >> and size for the __dso_handle symbol (ARM only)."<br>>> >> <br>>> >> This is somewhat in line with what I can read from the objdump .. but<br>
>> >> I<br>>> <br>>> got no<br>>> <br>>> >> idea how to fix it :)<br>>> >> <br>>> >> <br>>> >> <br>>> >> Greets<br>>> >> Thomas<br>
>> >> _______________________________________________<br>>> >> Necessitas-devel mailing list<br>>> >> <a rel="nofollow" ymailto="mailto:Necessitas-devel@kde.org" target="_blank" href="mailto:Necessitas-devel@kde.org">Necessitas-devel@kde.org</a><br>>> >> <a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/necessitas-devel">https://mail.kde.org/mailman/listinfo/necessitas-devel</a><br>
</div>
</div><br><br></div></div></blockquote></div></div></body></html>