openssl: openssl 3.x compilation errors with icx and nvc
Hello,
openssl 3.0.12 and 3.1.4 fail to compile with icc (now oneapi) 2023 and pgi (now nvidia hpc) 23. both show the same error:
crypto/x86_64cpuid.s:492:31: error: expected string
.section .note.gnu.property, #alloc
crypto/md5/md5-x86_64.s:684:31: error: expected string
.section .note.gnu.property, #alloc
openssl 1.1.1w works fine.
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Comments: 23 (12 by maintainers)
Commits related to this issue
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes ##22594 — committed to t8m/openssl by t8m 8 months ago
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 — committed to t8m/openssl by t8m 8 months ago
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl... — committed to openssl/openssl by t8m 8 months ago
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl... — committed to openssl/openssl by t8m 8 months ago
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl... — committed to openssl/openssl by t8m 8 months ago
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl... — committed to wbeck10/openssl by t8m 8 months ago
- x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl... — committed to rsbeckerca/openssl by t8m 8 months ago
x86_64-xlate.patch.txt
Please try this
I may be misreading the as manual, but It looks like it may be there for solaris compatibility
As I mentioned above, The only thing in the configs that I see as noteworthy is the enabling of the asm feature, and while disabling that would be a potential workaround, it doesn’t really address the compiler issue.
FWIW:
That said, The gnu assembler manual , indicates support for using #alloc, #write, etc in the flags field instead of quoted strings. It seems like nvc/icx declined/neglected to support those flags. Thats likely what you need to report to the developers there.