sed -i 's/= nullptr;/= VK_NULL_HANDLE;/g' dom/media/platforms/ffmpeg/FFmpegVulkanVideoDecoder.cpp You are exactly right—the build flag --disable-vulkan does not exist in Firefox's build system. Firefox hardcodes the compilation of its FFmpeg platform backends dynamically, so there is no configure script option to switch it off. [1] Since you are building an i686 (32-bit) package on Slackware -current, your only option is to directly fix the invalid C++ syntax inside the file. [1] You can resolve this instantly by inserting a simple search-and-replace command into your build workflow. ## The Fix for your Build Script Open your mozilla-firefox.SlackBuild script and find the section where the source tarball is unpacked (usually right after tar xf or cd firefox-${VERSION}). Add the following two lines right below the cd command: # Fix 32-bit i686 build failure where Vulkan handles are illegally assigned to nullptr sed -i 's/mNv12Image\[buf\] = nullptr;/mNv12Image[buf] = VK_NULL_HANDLE;/g' dom/media/platforms/ffmpeg/FFmpegVulkanVideoDecoder.cpp sed -i 's/mNv12Image\[i\] = nullptr;/mNv12Image[i] = VK_NULL_HANDLE;/g' dom/media/platforms/ffmpeg/FFmpegVulkanVideoDecoder.cpp ## Why this works: On 32-bit platforms, Vulkan handles like VkImage are defined as a uint64_t (a raw integer). In strict modern C++, you cannot assign nullptr to an integer variable. Swapping it out for VK_NULL_HANDLE tells the compiler to assign a proper numerical 0, allowing the 32-bit compiler to complete successfully just like your 151.0.4 build did. [2, 3] Make sure to clean out any broken components by running ./mach clobber before starting the script again. Let me know if you run into any other type mismatch errors inside that file or if the build succeeds! [1] [https://forums.developer.nvidia.com](https://forums.developer.nvidia.com/t/simulation-app-error-with-isaac-sim-2023-1-0/271278) [2] [https://github.com](https://github.com/KhronosGroup/Vulkan-Hpp/blob/main/docs/Usage.md) [3] [https://www.reddit.com](https://www.reddit.com/r/vulkan/comments/1k8km0r/i_cant_compile_my_vulkan_program_to_x86_on/)