NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/57519: awk syntax error in crypto/external/bsd/openssl/lib/libcrypto/gen when building on Solaris 11.4 host system
>Number: 57519
>Category: toolchain
>Synopsis: awk syntax error in crypto/external/bsd/openssl/lib/libcrypto/gen when building on Solaris 11.4 host system
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 11 18:40:00 +0000 2023
>Originator: Palle Lyckegaard
>Release: current
>Organization:
NetBSD
>Environment:
SunOS gcc106.fsffrance.org 5.11 11.4.57.144.3 sun4v sparc sun4v logical-domain
>Description:
The awk script seems to have issues when building on a Solaris 11.4 host.
T ere are several versions of awk on a Solaris 11.4 host, including gawk.
Apparently the awk version picked up does not accept the syntax in the gen script.
>How-To-Repeat:
Run a buils.sh tools on a Solaris 11.4 host
>Fix:
The following patch has been applied on a Solaris 11.4 host and a NetBSD 9.1 host for verification.
diff --git a/crypto/external/bsd/openssl/lib/libcrypto/gen b/crypto/external/bsd/openssl/lib/libcrypto/gen
index acc5bc97a6c7..06937a8087e1 100755
--- a/crypto/external/bsd/openssl/lib/libcrypto/gen
+++ b/crypto/external/bsd/openssl/lib/libcrypto/gen
@@ -11,10 +11,10 @@ awk '
/use OpenSSL/ {
next;
}
-/^{-/ {
+/^\{-/ {
next;
}
-/^-}/ {
+/^-\}/ {
next;
}
/generate_stack_string_macros\(/ {
Home |
Main Index |
Thread Index |
Old Index