android-ndk-6b
mingw android
mingw.android at gmail.com
Fri Sep 16 14:17:49 UTC 2011
Yeah, google messed up a bit there and we worked around it.
On Sep 16, 2011 2:24 PM, "BogDan" <bog_dan_ro at yahoo.com> wrote:
> Try to remove "!contains(ANDROID_PLATFORM, android-4):
!contains(ANDROID_PLATFORM, android-5): !contains(ANDROID_PLATFORM,
android-8): QMAKE_LFLAGS += $$ANDROID_PLATFORM_PATH/lib/crtbegin_so.o
$$ANDROID_PLATFORM_PATH/lib/crtend_so.o"
> from qt.prf file.
>
> Cheers,
> BogDan.
>
>
>
> ----- Original Message -----
>> From: Thomas Senyk <thomas.senyk at nokia.com>
>> To: ext mingw android <mingw.android at gmail.com>
>> Cc: necessitas-devel at kde.org
>> Sent: Friday, September 16, 2011 2:29 PM
>> Subject: android-ndk-6b
>>
>> Hi Ray,
>>
>> i tried to compile for android-9 on android-ndk-6b but had a couple of
>> multiple-definitions
>>
>> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch-
>> arm//usr/lib/crtbegin_so.o: In function `__dso_handle':
>> (.bss+0x0): multiple definition of `__dso_handle'
>> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch-
>> arm//usr/lib/crtbegin_so.o:(.bss+0x0): first defined here
>> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch-
>> arm//usr/lib/crtbegin_so.o: In function `__INIT_ARRAY__':
>> (.init_array+0x0): multiple definition of `__INIT_ARRAY__'
>> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch-
>> arm//usr/lib/crtbegin_so.o:(.init_array+0x0): first defined here
>> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch-
>> arm//usr/lib/crtbegin_so.o: In function `__FINI_ARRAY__':
>> (.fini_array+0x0): multiple definition of `__FINI_ARRAY__'
>> /home/tsenyk/projects/android/android-ndk-r6b/platforms/android-9/arch-
>> arm//usr/lib/crtbegin_so.o:(.fini_array+0x0): first defined here
>> collect2: ld returned 1 exit status
>>
>>
>>
>> The same checkout is building with 6, so it's some difference in the NDK.
>> It also builds for android-9 with 6b.
>>
>> So only the combination android-9 + ndk-6b is failing.
>>
>> So I guessed it's in
android-ndk-r6(b)/platforms/android-9/arch-arm/usr/lib/
>>
>> I did a objdump -x on all file for each ndk and did a diff ... it's
>> attached.
>> The only diff I can identify are regarding __dso_handle
>> .. maybe the rest is just follow-up error?
>>
>> http://developer.android.com/sdk/ndk/index.html .. mentions this for
NDK-6b:
>> "Fixed the standalone toolchain linker warnings about missing the
>> definition
>> and size for the __dso_handle symbol (ARM only)."
>>
>> This is somewhat in line with what I can read from the objdump .. but I
got no
>> idea how to fix it :)
>>
>>
>>
>> Greets
>> Thomas
>> _______________________________________________
>> Necessitas-devel mailing list
>> Necessitas-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20110916/545806f4/attachment.html>
More information about the Necessitas-devel
mailing list