Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76202

Adding OpenSSL Support for Android does not work with openssl 1.1

    Details

    • Platform/s:
      Android, Linux/X11
    • Commits:
      2fa86c42799b05f73797073061de1b1cbc7caefc (qt/qtdoc/5.12)

      Description

      https://doc-snapshots.qt.io/qt5-5.13/android-openssl-support.html does not work to build openssl 1.1.0k for android with ndk r18b and sdk 28

       

      First it does not find .o files

      /usr/bin/ld: cannot find crtbegin_so.o: No such file or directory
      

      if I link it directly to target platform lib

      ln -s .../android-ndk-r18b/platforms/android-28/arch-arm/usr/lib/crtbegin_so.o
      

      , the output error is

      /usr/bin/ld: crtbegin_so.o: relocations in generic ELF (EM: 40) /usr/bin/ld: crtbegin_so.o: relocations in generic ELF (EM: 40) /usr/bin/ld: crtbegin_so.o: relocations in generic ELF (EM: 40) /usr/bin/ld: crtbegin_so.o: relocations in generic ELF (EM: 40) /usr/bin/ld: crtbegin_so.o: relocations in generic ELF (EM: 40) /usr/bin/ld: crtbegin_so.o: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status
      

       

      So, I could not build open ssl 1.1 for 5.13 beta 4

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                taipan BogDan Vatra
                Reporter:
                powerballk66 powerballk66
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes