Forum

    • Register
    • Login
    • Search
    • Categories

    LLVM Error building on OSX

    General Questions
    2
    4
    58
    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.healey
      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.healey
        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.healey
          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

          dustbro 1 Reply Last reply Reply Quote 3
          • dustbro
            dustbro @d.healey last edited by dustbro

            @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

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

            20
            Online

            792
            Users

            5.5k
            Topics

            51.6k
            Posts