HISE Logo Forum
    • Categories
    • Register
    • Login

    LLVM Error building on OSX

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 718 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by

      I'm getting an error I've never come across before on MacOS. It occurs during the linking and I see that all my system memory is being eaten up by the linking process which is what I assume is leading to this error.

      I've tried limiting the number of linking threads to 1 but it still eats up the RAM and the build fails. Any ideas?

      LLVM ERROR: SmallVector unable to grow. Requested capacity (4294967296) is larger than the maximum value for size type (429496795)

      Screenshot 2022-04-16 at 23.19.43.png

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by d.healey

        I ran a build from the command line and got a little more info.

        It's very strange because I was building last week without any issue. I've tried reinstalling Xcode, I also tried rolling back to an older version of Xcode, I've tried re-downloading the HISE source code too, but no luck.

        Debug build works just fine.

        ▸ Linking HISE
        
        ❌  clang: error: unable to execute command: Abort trap: 6
        
        
        
        ❌  clang: error: linker command failed due to signal (use -v to see invocation)
        
        
        ** BUILD FAILED **
        
        
        The following build commands failed:
        	Ld /Volumes/Shared/HISE/projects/standalone/Builds/MacOSX/build/Release/HISE.app/Contents/MacOS/HISE normal (in target 'HISE Standalone - App' from project 'HISE Standalone')
        (1 failure)
        
         xcodebuild[11233:169074] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
        2022-04-17 16:46:06.664 xcodebuild[11233:169074] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
        

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by d.healey

          Woohoo, solved it!

          There appears to be a bug in Xcode 13.3.x, a few people have reported it in various places on the interwebs. I just downgraded to 13.2.1 and the build succeeded.

          I also noticed that I had auto-update enabled which I assume explains how I ended up with Xcode 13.3

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          Dan KorneffD 1 Reply Last reply Reply Quote 3
          • Dan KorneffD
            Dan Korneff @d.healey
            last edited by Dan Korneff

            @d-healey was just gonna say I had a ton of issues with 13.3. Downgraded until I have time to sort them out.

            Dan Korneff - Producer / Mixer / Audio Nerd

            E 1 Reply Last reply Reply Quote 1
            • E
              eggnog @Dan Korneff
              last edited by

              @dustbro @d-healey Quick update, I stumbled upon this bug while archiving my app too. Just tried with Xcode 14 beta 2 and it works. It took a LONG time to link though, but at least it doesn't SIGTRAP!
              Cheers.
              E.

              1 Reply Last reply Reply Quote 3
              • First post
                Last post

              48

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts