You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows native-module build regression (__builtin_frame_address in headers) #51678
changed the title [-]Electron 42 Windows native-module build regression[/-][+]Windows native-module build regression (`__builtin_frame_address` in headers)[/+]on May 18, 2026
@timfish, thanks for reporting this and isolating a repro. If you wouldn't mind, could you try tweaking your repro to use the --use-electron-clang flag with electron-rebuild and see if that helps?
With --use-electron-clang I get a 404 error fetching clang:
electron-rebuild checking @sentry-internal/node-native-stacktrace against [] +13ms
electron-rebuild fetching clang for Electron: 42.1.0 +0ms
electron-rebuild downloading: https://raw.githubusercontent.com/electron/electron/v42.1.0/DEPS +0ms
electron-rebuild response came back OK +93ms
electron-rebuild fetching clang for Chromium: 148.0.7778.97 +97ms
electron-rebuild downloading: https://chromium.googlesource.com/chromium/src.git/+/148.0.7778.97/tools/clang/scripts/update.py?format=TEXT +4ms
electron-rebuild response came back OK +204ms
electron-rebuild fetching clang: llvmorg-23-init-5669-g8a0be0bc-4 +208ms
electron-rebuild downloading: https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-23-init-5669-g8a0be0bc-4.tgz +4ms
electron-rebuild got bad status code: 404 +200ms
electron-rebuild downloading: https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-23-init-5669-g8a0be0bc-4.tgz +2s
electron-rebuild got bad status code: 404 +138ms
electron-rebuild downloading: https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-23-init-5669-g8a0be0bc-4.tgz +2s
electron-rebuild got bad status code: 404 +141ms
✖ Rebuild Failed
An unhandled error occurred inside electron-rebuild
Failed to fetch a clang resource, run with DEBUG=electron-rebuild for more information
Error: Failed to fetch a clang resource
Activity
[-]Electron 42 Windows native-module build regression[/-][+]Windows native-module build regression (`__builtin_frame_address` in headers)[/+]nikwen commentedon May 18, 2026
Thanks for reporting!
If you have a minimal repro project for this, that would help a lot with fixing it!
timfish commentedon May 18, 2026
Struggled to reproduce this on my mac before remembering this is Windows only 😂
On my Windows arm64 machine:
npm i && npm run buildwith thispackage.jsonis enough to reproduce the build error:{ "name": "repro", "version": "1.0.0", "main": "index.js", "scripts": { "build": "electron-rebuild -w @sentry-internal/node-native-stacktrace -p all" }, "devDependencies": { "@electron/rebuild": "^4.0.4", "electron": "42.1.0" }, "dependencies": { "@sentry-internal/node-native-stacktrace": "0.5.0" } }Results in:
dsanders11 commentedon May 18, 2026
@timfish, thanks for reporting this and isolating a repro. If you wouldn't mind, could you try tweaking your repro to use the
--use-electron-clangflag withelectron-rebuildand see if that helps?timfish commentedon May 19, 2026
With
--use-electron-clangI get a 404 error fetching clang: