Closed kwizart closed 1 year ago
Hi @kwizart, Thank you for raising this issue. We will look into this and provide fix.
@johnmach suggested fix in #104 Thanks for the feedback.
Hi @kwizart, Could you please provide more details of the env in which the failure is found? Even I have tried building on fedora38, its building fine without errors. Need more details such as , OS version, Build Flags used, G++ compiler version and cmake version
@johnmach It's reproducible using 32bit x86 build, (also reported to fix issue with nixos according to PR).
x86_32 cflags: "-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection"
x86_64 cflags: "-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
@johnmach This PR is really a no-brainer (1), can you please merge it ASAP ?
(1) You can't have a different prototype for a function.
Hi @kwizart,
The PR is already merged as in https://github.com/intel/gmmlib/commit/bd7379952f721974f5c24a1946f90275bf3e28e1
With 22.3.7 (compared with 22.3.5), there is a build error using fedora-38 as following:
Patch coming...