Qt
  1. Qt
  2. QTBUG-59352

iOS release build -fembed-bitcode-marker

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Not Evaluated Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Qt 5.8
      QtCreator 4.2.1
      XCode 8.2
      OSX 10.11.6
      iPhone iOS 10.2.1

      Description

      after moving my projects from Qt 5.7 to 5.8 I just did the first release builds.
      Android works well, but iOS Release Build gives me 192 Issues of:

      :-1: warning: argument unused during compilation: '-fembed-bitcode-marker'
      
      CompileC MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/Objects-normal/armv7/applicationui.o /daten/_qt_workspaces/work_580/MoToiMa_qt/cpp/applicationui.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
          cd /daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release
          export LANG=en_US.US-ASCII
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -miphoneos-version-min=8.2 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -fembed-bitcode-marker -I/daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/MoToiMa_qt.hmap -I/daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/Release-iphoneos/include -I../MoToiMa_qt -I. -I../../../_qt_sdks/sdk_580/5.8/ios/mkspecs/common/uikit -I../../../_qt_sdks/sdk_580/5.8/ios/include -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtQuick -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtGui -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtQml -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtNetwork -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtCore -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtQml/5.8.0 -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtQml/5.8.0/QtQml -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtCore/5.8.0 -I../../../_qt_sdks/sdk_580/5.8/ios/include/QtCore/5.8.0/QtCore -I../../../_qt_sdks/sdk_580/5.8/ios/mkspecs/macx-ios-clang -I/daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/DerivedSources/armv7 -I/daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/DerivedSources -F/daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/Release-iphoneos -pipe -stdlib=libc++ -fvisibility=hidden -fpascal-strings -fmessage-length=0 -Wno-trigraphs -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -Wno-sign-conversion -fexceptions -fasm-blocks -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wno-unused-function -Wno-unused-label -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wpointer-sign -Wno-newline-eof -Wdeprecated-declarations -Winvalid-offsetof -Wno-conversion -fvisibility-inlines-hidden -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -O2 -std=gnu++11 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -Wno-deprecated-implementations -Wprotocol -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -fembed-bitcode -Wall -W -fPIC -DDARWIN_NO_CARBON -DQT_COMPILER_SUPPORTS_SSE2 -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -MMD -MT dependencies -MF /daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/Objects-normal/armv7/applicationui.d --serialize-diagnostics /daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/Objects-normal/armv7/applicationui.dia -c /daten/_qt_workspaces/work_580/MoToiMa_qt/cpp/applicationui.cpp -o /daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Release/MoToiMa_qt.build/Release-iphoneos/MoToiMa_qt.build/Objects-normal/armv7/applicationui.o
      

      the App was build and I could upload from XCode to Apples TestFlight, iTunesConnect processing was done, and added build for Beta.
      si it seems all is ok

      can I ignore all these issues ?
      they don't appear for debug builds

        Issue Links

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

          Activity

          Hide
          Ekkehard added a comment -

          doing a debug build I'm getting 2 Issues of

          :-1: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
          

          I reported this to creator-list and got info that I can ignore this (https://codereview.qt-project.org/#/c/185929/)

          doing again a release build I'm only getting 4 Issues of

          :-1: warning: argument unused during compilation: '-fembed-bitcode-marker'
          

          so only the very first release build logs 192 issues

          Show
          Ekkehard added a comment - doing a debug build I'm getting 2 Issues of :-1: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) I reported this to creator-list and got info that I can ignore this ( https://codereview.qt-project.org/#/c/185929/ ) doing again a release build I'm only getting 4 Issues of :-1: warning: argument unused during compilation: '-fembed-bitcode-marker' so only the very first release build logs 192 issues

            People

            • Assignee:
              Jake Petroules
              Reporter:
              Ekkehard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes