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
Unfortunately, database creation on M1-based Macintoshes does not currently work reliably.
We're actively working on the matter, but it's going to take some time yet to resolve some fascinating interactions between how CodeQL instruments the build environment to observe what is being compiled, and how MacOS supports mix-and-matching between binaries compiled for Intel and ones compiled natively for M1.
Unfortunately, database creation on M1-based Macintoshes does not currently work reliably.
We're actively working on the matter, but it's going to take some time yet to resolve some fascinating interactions between how CodeQL instruments the build environment to observe what is being compiled, and how MacOS supports mix-and-matching between binaries compiled for Intel and ones compiled natively for M1.
Thank you for showing me what the problem is, creation of databases in other languages (such as Python) is working :-)
Yes -- the difference is that for Python there's no "build process" we can attempt to observe, so CodeQL will just gobble up all the .py files it finds in the source tree and assume they're part of the program. With Java we can (usually) do better than that, but a side effect of that is that we have no "take all of the .java files" workflow ready to fall back on when the better solution fails, such as on M1 macs for the time being.
Activity
hmakholm commentedon Nov 3, 2021
Unfortunately, database creation on M1-based Macintoshes does not currently work reliably.
We're actively working on the matter, but it's going to take some time yet to resolve some fascinating interactions between how CodeQL instruments the build environment to observe what is being compiled, and how MacOS supports mix-and-matching between binaries compiled for Intel and ones compiled natively for M1.
fade03 commentedon Nov 3, 2021
Thank you for showing me what the problem is, creation of databases in other languages (such as Python) is working :-)
hmakholm commentedon Nov 3, 2021
Yes -- the difference is that for Python there's no "build process" we can attempt to observe, so CodeQL will just gobble up all the
.pyfiles it finds in the source tree and assume they're part of the program. With Java we can (usually) do better than that, but a side effect of that is that we have no "take all of the.javafiles" workflow ready to fall back on when the better solution fails, such as on M1 macs for the time being.