-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODR violation issue in 24.26.30049.6 #763
Comments
Hi @bl4ckb0ne |
could you narrow-down which cpp files causes the definition mismatch ? |
@JablonskiMateusz still failing with
Seems to happen during linking, could it be an issue with LTO? |
I tried the option
|
|
@bl4ckb0ne build with LTO is optional, can be disabled with the flag you mentioned. However I still wonder which cpp files introduced conflicting definitions. Based on the log you shared:
it is difference on |
could you try to patch sku_wa.h to remove |
I had to remove both https://github.com/intel/gmmlib/blob/master/Source/inc/common/sku_wa.h#L197 and https://github.com/intel/gmmlib/blob/master/Source/inc/common/sku_wa.h#L206 to build with LTO. Should I report the issue there? |
@johnmach please take a look |
@bl4ckb0ne Could you please try to build using this patch: |
Issue seems fixed but it fails later on
Tried with 24.35.30872.22 and the following CMake config
|
@bl4ckb0ne what changed since these comments were added #763 (comment) #763 (comment)? |
In #763 (comment) I manually edited the header on my system to build it locally In my previous message I used the latest release of the project and intel-gmmlib 22.5.2 + the patch provided in intel/gmmlib#123 |
@bl4ckb0ne so it seems like the gmmlib patch fixes the initial issue? |
Yep, the patch fixes the first issue. From the CI with the latest 24.39 release https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1570764
|
@bl4ckb0ne could you share more details on used compiler and used compile options? |
I'm building with GCC 14.2.0 with the |
Fails early on, probably something I can patch locally
|
ICE with clang
|
Hi,
I'm currently packaging the project for Alpine Linux (see 1) and I'm encountering ODR violation issue at the end of the build. I picked this version because of issue with BMG and LUNARLAKE in the latest version.
Here's the logs:
I noticed it's coming from the
windows
part but I'm building on Linux, is this caused by an error somewhere in CMake? The error also occurs with24.22.29735.20
, intel-gmmlib version is22.5.1
.Thanks
The text was updated successfully, but these errors were encountered: