<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>r6b should not be a problem for plan A<br></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> Thomas Senyk <thomas.senyk@nokia.com><br><b><span style="font-weight: bold;">To:</span></b> ext mingw android <mingw.android@gmail.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 6:01 PM<br><b><span
style="font-weight: bold;">Subject:</span></b> Re: android-ndk-6b<br></font><br>+1 :)<br><br><br>Not sure tough how much they change between "alphabetic" release...<br>If those are small patch releases, I guess it's not problem to use them for <br>our next release.<br><br><br>(If we do planB we should go for r6b anyway!)<br><br><br>Greets<br>Thomas<br><br>On Monday, September 19, 2011 03:20:48 PM ext mingw android wrote:<br>> I dont think we should support old ndks at all... Opinions?<br>> <br>> On Sep 19, 2011 1:28 PM, "Thomas Senyk" <<a ymailto="mailto:thomas.senyk@nokia.com" 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<br>> <br>> master<br>> <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 href="http://quickgit.kde.org/?p=android-" target="_blank">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 ymailto="mailto:bog_dan_ro@yahoo.com" 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 ymailto="mailto:thomas.senyk@nokia.com" href="mailto:thomas.senyk@nokia.com">thomas.senyk@nokia.com</a>><br>> >> >> To: ext mingw android <<a ymailto="mailto:mingw.android@gmail.com" href="mailto:mingw.android@gmail.com">mingw.android@gmail.com</a>><br>> >> >> Cc: <a ymailto="mailto:necessitas-devel@kde.org"
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<br>> >> >> couple of multiple-definitions<br>> >> >> <br>> >> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-<br>> >> >> 9/arch -<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-<br>> >> >> 9/arch -<br>> >> >> arm//usr/lib/crtbegin_so.o:(.bss+0x0): first defined here<br>> >> >>
/home/tsenyk/projects/android/android-ndk-r6b/platforms/android-<br>> >> >> 9/arch -<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-<br>> >> >> 9/arch -<br>> >> >> arm//usr/lib/crtbegin_so.o:(.init_array+0x0): first defined here<br>> >> >> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-<br>> >> >> 9/arch -<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-<br>> >> >> 9/arch -<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<br>> >> >> 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 ...<br>> >> >> 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 href="http://developer.android.com/sdk/ndk/index.html" target="_blank">http://developer.android.com/sdk/ndk/index.html</a> .. mentions this<br>> >> >> for<br>> >> <br>> >> NDK-6b:<br>> >> >> "Fixed the standalone toolchain linker warnings about missing<br>> >> >> 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<br>> >> >> .. 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 ymailto="mailto:Necessitas-devel@kde.org" href="mailto:Necessitas-devel@kde.org">Necessitas-devel@kde.org</a><br>> >> >> <a href="https://mail.kde.org/mailman/listinfo/necessitas-devel" target="_blank">https://mail.kde.org/mailman/listinfo/necessitas-devel</a><br><br><br></div></div></blockquote></div></div></body></html>