Skip to content

Commit e596844

Browse files
committed
fix line too long error
Co-authored by: [email protected];
1 parent a41297c commit e596844

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

setup.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,14 @@ def prepare_static_build(self, build_platform):
429429
# on openssl 3.5.2, When building for riscv64, ASM code is used by default.
430430
# However, this version of the assembly code will report during the build:
431431

432-
# relocation truncated to fit: R_RISCV_JAL against symbol `AES_set_encrypt_key' defined in .text section in /project/build/tmp/prefix/lib/libcrypto.a(libcrypto-lib-aes-riscv64.o)
433-
434-
# This [line](https://github.com/openssl/openssl/blob/0893a62353583343eb712adef6debdfbe597c227/crypto/aes/asm/aes-riscv64.pl#L1069) of code cannot be completed normally because the jump address of the static link library used by xmlsec is too large.
432+
# relocation truncated to fit: \
433+
# R_RISCV_JAL against symbol `AES_set_encrypt_key' defined in .text section \
434+
# in /project/build/tmp/prefix/lib/libcrypto.a(libcrypto-lib-aes-riscv64.o)
435+
436+
# This [line] \
437+
# (https://github.com/openssl/openssl/blob/0893a62353583343eb712adef6debdfbe597c227/crypto/aes/asm/aes-riscv64.pl#L1069)
438+
# of code cannot be completed normally \
439+
# because the jump address of the static link library used by xmlsec is too large.
435440
# may be we can consider filing a related issue with OpenSSL later.
436441
# However, for now, for convenience, we can simply disable ASM for riscv64.
437442
# This will result in some performance degradation, but this is acceptable.

0 commit comments

Comments
 (0)