Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: None
    • Labels:

      Description

      PowerPC hardware reached "obsolete" status in August 2013 - https://en.wikipedia.org/wiki/Apple%27s_transition_to_Intel_processors

      Also similarly to a reasons for SONAR-4968 and SONAR-6110 - Oracle doesn't provide JVM for this architecture:

      $ lipo -info java
      Non-fat file: java is architecture: x86_64
      

      So that this architecture can be removed from

      $ file bin/macosx-universal-64/wrapper
      bin/macosx-universal-64/wrapper: Mach-O universal binary with 2 architectures
      bin/macosx-universal-64/wrapper (for architecture ppc64):	Mach-O 64-bit executable ppc64
      bin/macosx-universal-64/wrapper (for architecture x86_64):	Mach-O 64-bit executable x86_64
      
      $ lipo -info bin/macosx-universal-64/wrapper
      Architectures in the fat file: bin/macosx-universal-64/wrapper are: ppc64 x86_64
      
      $ du --bytes bin/macosx-universal-64/wrapper
      253432	bin/macosx-universal-64/wrapper
      

      Especially that this causes failure of integrity checks - see https://github.com/Homebrew/homebrew-core/pull/3613

      Procedure of extraction:

      $ lipo bin/macosx-universal-64/wrapper -extract_family x86_64 -output bin/macosx-universal-64/wrapper
      
      $ file bin/macosx-universal-64/wrapper
      bin/macosx-universal-64/wrapper: Mach-O 64-bit executable x86_64
      
      $ lipo -info bin/macosx-universal-64/wrapper
      Non-fat file: bin/macosx-universal-64/wrapper is architecture: x86_64
      
      $ du --bytes bin/macosx-universal-64/wrapper
      126456	bin/macosx-universal-64/wrapper
      

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              evgeny.mandrikov Evgeny Mandrikov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: