diff options
author | Orgad Shaneh <orgads@gmail.com> | 2024-09-12 22:23:46 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2024-09-17 07:19:33 +0200 |
commit | 6288aa440c1ba111eaf52cf79659a25329205022 (patch) | |
tree | 38356da505a356a03678faba88e2ab9482e4fb10 /NOTES-NONSTOP.md | |
parent | feat: use ossl_serial_number_print in X509_print_ex (diff) | |
download | openssl-6288aa440c1ba111eaf52cf79659a25329205022.tar.xz openssl-6288aa440c1ba111eaf52cf79659a25329205022.zip |
Build: Fix circular object deps with old GCC
When both -o and -MT are used, GCC 4.1 prints the object file twice in
the dependency file. e.g.:
foo.o foo.o: foo.c
If the file name is long, then the second occurrence moves to the next
line. e.g.:
ssl/statem/libssl-shlib-statem_dtls.o \
ssl/statem/libssl-shlib-statem_dtls.o: ../ssl/statem/statem_dtls.c \
add-depends script scans one line at a time, so when the first line is
processed, the object file becomes a dependency itself.
Fix by removing -MT altogether.
This also fixes makedepend for nonstop platform.
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25455)
Diffstat (limited to 'NOTES-NONSTOP.md')
-rw-r--r-- | NOTES-NONSTOP.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/NOTES-NONSTOP.md b/NOTES-NONSTOP.md index 3fc5bffb1c..30deed20b8 100644 --- a/NOTES-NONSTOP.md +++ b/NOTES-NONSTOP.md @@ -131,12 +131,9 @@ correctly, you also need the `COMP_ROOT` set, as in: `COMP_ROOT` needs to be in Windows form. -`Configure` must specify the `no-makedepend` option otherwise errors will -result when running the build because the c99 cross-compiler does not support -the `gcc -MT` option. An example of a `Configure` command to be run from the -OpenSSL directory is: +An example of a `Configure` command to be run from the OpenSSL directory is: - ./Configure nonstop-nsx_64 no-makedepend --with-rand-seed=rdcpu + ./Configure nonstop-nsx_64 --with-rand-seed=rdcpu Do not forget to include any OpenSSL cross-compiling prefix and certificate options when creating your libraries. |