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

Mac: Corewlan plugin built for 64 bit, but not for 32 bit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 4.8.5
    • None
    • macOS

    Description

      ========= 32 bit: ============
      18:42:09 CoreWlan auto-detection... ()
      18:42:09 gcc -c -pipe -O2 -Wall -W -I../../../mkspecs/macx-g++ -I. corewlantest.mm -o corewlantest.o
      18:42:09 <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi
      18:42:09 g++ -headerpad_max_install_names -o corewlan corewlantest.o -arch i386 -framework CoreWLAN -framework Foundation
      18:42:09 ld: warning: ignoring file corewlantest.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): corewlantest.o
      18:42:09 Undefined symbols for architecture i386:
      18:42:09 "_main", referenced from:
      18:42:09 __start in crt1.o
      18:42:09 ld: symbol(s) not found for architecture i386
      18:42:09 collect2: ld returned 1 exit status
      18:42:09 make[1]: *** [corewlan

      ========== 64 bit: ===========
      15:01:27 CoreWlan auto-detection... ()
      15:01:28 gcc -c -pipe -O2 -Wall -W -I../../../mkspecs/macx-g++ -I. corewlantest.mm -o corewlantest.o
      15:01:28 <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi
      15:01:29 g++ -headerpad_max_install_names -o corewlan corewlantest.o -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -arch x86_64 -framework CoreWLAN -framework Foundation
      15:01:29 CoreWlan enabled.

      Attachments

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

        Activity

          People

            peter-har Peter Hartmann
            peter-har Peter Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes