Diff of the two buildlogs: -- --- b1/build.log 2024-05-25 16:16:47.963968696 +0000 +++ b2/build.log 2024-05-25 16:35:42.011660926 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 25 04:06:34 -12 2024 -I: pbuilder-time-stamp: 1716653194 +I: Current time: Sun May 26 06:17:13 +14 2024 +I: pbuilder-time-stamp: 1716653833 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking xilinx-bootgen_2022.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19336/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 25 16:18 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='458c1d2e2089404493a3ae86bbe7ed40' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='19336' - PS1='# ' - PS2='> ' + INVOCATION_ID=82900e7af29b4929bbf7cdbd0d8d1fb3 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=26667 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jPDo6Wjf/pbuilderrc_tDVB --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jPDo6Wjf/b1 --logfile b1/build.log xilinx-bootgen_2022.2-2.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.jPDo6Wjf/pbuilderrc_U3nc --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jPDo6Wjf/b2 --logfile b2/build.log xilinx-bootgen_2022.2-2.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4a 6.1.0-21-armmp #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 24 11:27 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19336/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -144,7 +176,7 @@ Get: 34 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf libssl-dev armhf 3.2.1-3 [2348 kB] -Fetched 20.8 MB in 1s (15.0 MB/s) +Fetched 20.8 MB in 2s (9479 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19445 files and directories currently installed.) @@ -303,7 +335,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xilinx-bootgen-2022.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../xilinx-bootgen_2022.2-2_source.changes +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xilinx-bootgen-2022.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xilinx-bootgen_2022.2-2_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2022.2-2 dpkg-buildpackage: info: source distribution unstable @@ -313,7 +349,7 @@ debian/rules clean dh clean --with autoreconf --exclude=.la dh_auto_clean -O--exclude=.la - make -j3 clean + make -j6 clean make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' echo @@ -338,13 +374,36 @@ dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2022.2' dh_auto_build -O--exclude=.la - make -j3 "INSTALL=install --strip-program=true" + make -j6 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2022.2' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynq.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp +In file included from authentication.h:43, + from authentication.cpp:26: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authentication.h:35: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:33: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ In file included from authentication-versal.h:40, from authentication-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': @@ -357,6 +416,19 @@ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ +In file included from authentication-versal.h:40, + from authkeys-versal.cpp:27: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authkeys-versal.h:31, + from authkeys-versal.cpp:26: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ In file included from authentication-versal.h:42: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -366,9 +438,18 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +In file included from authentication-versal.h:42: +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys-versal.h:29: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ In file included from authentication.h:43, - from authentication-zynq.h:26, - from authentication-zynq.cpp:27: + from authentication-zynqmp.h:27, + from authentication-zynqmp.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -388,8 +469,8 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, - from authentication-zynqmp.h:27, - from authentication-zynqmp.cpp:27: + from authentication-zynq.h:26, + from authentication-zynq.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -408,6 +489,27 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +In file included from authentication.h:43, + from authkeys.cpp:26: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authkeys.h:32, + from authkeys.cpp:25: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:30: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1017:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1017 | EC_KEY* eckeyN = EC_KEY_new(); @@ -519,51 +621,6 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authentication.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys-versal.cpp -In file included from authentication.h:43, - from authentication.cpp:26: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authentication.h:35: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. authkeys.cpp -In file included from authentication-versal.h:40, - from authkeys-versal.cpp:27: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authkeys-versal.h:31, - from authkeys-versal.cpp:26: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -In file included from authentication-versal.h:42: -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys-versal.h:29: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': authkeys-versal.cpp:46:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -585,136 +642,16 @@ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ +authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': +authkeys.cpp:191:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ authkeys-versal.cpp:72:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckey = EC_KEY_new_by_curve_name(NID_secp521r1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp: In destructor 'virtual VersalKey::~VersalKey()': -authkeys-versal.cpp:95:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | EC_KEY_free(eckey); - | ~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -authkeys-versal.cpp: In member function 'uint8_t VersalKey::ParseECDSAOpenSSLKey(const std::string&)': -authkeys-versal.cpp:268:38: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 268 | eckey = PEM_read_ECPrivateKey(file, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:466:1: note: declared here - 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) - | ^~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:269:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 269 | if (!EC_KEY_check_key(eckey)) - | ~~~~~~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1126:27: note: declared here - 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~ -authkeys-versal.cpp:287:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 287 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1081:39: note: declared here - 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:288:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 288 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:678:27: note: declared here - 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:311:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 311 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1081:39: note: declared here - 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:312:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 312 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:678:27: note: declared here - 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:344:35: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 344 | eckey = PEM_read_EC_PUBKEY(file, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:467:1: note: declared here - 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) - | ^~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:345:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 345 | if (!EC_KEY_check_key(eckey)) - | ~~~~~~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1126:27: note: declared here - 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~ -authkeys-versal.cpp:363:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 363 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1081:39: note: declared here - 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:364:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 364 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:678:27: note: declared here - 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:387:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 387 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -/usr/include/openssl/ec.h:1081:39: note: declared here - 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:388:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 388 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:678:27: note: declared here - 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp: In member function 'virtual void VersalKey::Parse(const std::string&, bool)': -authkeys-versal.cpp:442:39: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 442 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:453:1: note: declared here - 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) - | ^~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:449:48: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 449 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:467:1: note: declared here - 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) - | ^~~~~~~~~~~~~~~~~~~ -authkeys-versal.cpp:456:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 456 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -In file included from authentication.h:43, - from authkeys.cpp:26: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authkeys.h:32, - from authkeys.cpp:25: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': -authkeys.cpp:191:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 191 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ @@ -755,6 +692,13 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ +authkeys-versal.cpp: In destructor 'virtual VersalKey::~VersalKey()': +authkeys-versal.cpp:95:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | EC_KEY_free(eckey); + | ~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::WriteRsaFile(std::string, const RSA*, bool, uint16_t)': authkeys.cpp:404:32: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | memcpy(temp, RSA_get0_n(rsa)->d, keyLength); @@ -806,12 +750,49 @@ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ +authkeys-versal.cpp: In member function 'uint8_t VersalKey::ParseECDSAOpenSSLKey(const std::string&)': +authkeys-versal.cpp:268:38: warning: 'EC_KEY* PEM_read_ECPrivateKey(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 268 | eckey = PEM_read_ECPrivateKey(file, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:466:1: note: declared here + 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) + | ^~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp:556:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 556 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ +authkeys-versal.cpp:269:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 269 | if (!EC_KEY_check_key(eckey)) + | ~~~~~~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1126:27: note: declared here + 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~ +authkeys-versal.cpp:287:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 287 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1081:39: note: declared here + 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:288:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 288 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:678:27: note: declared here + 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:311:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 311 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1081:39: note: declared here + 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:312:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 312 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:678:27: note: declared here + 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateEcdsaKeys(KeyGenerationStruct*)': authkeys.cpp:605:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 605 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -832,14 +813,72 @@ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:344:35: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 344 | eckey = PEM_read_EC_PUBKEY(file, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:467:1: note: declared here + 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) + | ^~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:345:30: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 345 | if (!EC_KEY_check_key(eckey)) + | ~~~~~~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1126:27: note: declared here + 1126 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~ authkeys.cpp:639:33: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 639 | if ((EC_KEY_generate_key(eckey)) == 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:363:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 363 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1081:39: note: declared here + 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:364:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 364 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:678:27: note: declared here + 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:387:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 387 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/usr/include/openssl/ec.h:1081:39: note: declared here + 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:388:56: warning: 'int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP*, const EC_POINT*, BIGNUM*, BIGNUM*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 388 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:678:27: note: declared here + 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp: In member function 'virtual void VersalKey::Parse(const std::string&, bool)': +authkeys-versal.cpp:442:39: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 442 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:453:1: note: declared here + 453 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) + | ^~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:449:48: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 449 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:467:1: note: declared here + 467 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) + | ^~~~~~~~~~~~~~~~~~~ +authkeys-versal.cpp:456:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 456 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.tab.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bif.yy.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -865,23 +904,18 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bifoptions.cpp In file included from authentication.h:43, from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from ../s/bif.y:42, - from bifscanner.h:39, - from ../s/bif.l:23: + from imageheadertable-versal.h:27, + from bifoptions.h:28, + from bifoptions.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authkeys.h:32, - from bootimage.h:34: + from authentication.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -889,48 +923,26 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': -../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': -../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': -../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': -../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: At global scope: -../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': -../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-versal.h:27, - from bifoptions.h:28, - from bifoptions.cpp:25: + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from ../s/bif.y:42, + from bifscanner.h:39, + from ../s/bif.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authentication.h:35: + from authkeys.h:32, + from bootimage.h:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -938,11 +950,10 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:33: +In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, @@ -966,8 +977,13 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binary.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp +../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': +../bisonflex/bif.yy.cpp:1632:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1633:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1633:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1634:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1698:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, @@ -983,6 +999,11 @@ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ +../bisonflex/bif.yy.cpp: In member function 'int bifFlexLexer::yy_get_next_buffer()': +../bisonflex/bif.yy.cpp:3309:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3310:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3311:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3311:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); @@ -991,6 +1012,21 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_get_previous_state()': +../bisonflex/bif.yy.cpp:3449:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3450:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3458:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: In member function 'yy_state_type bifFlexLexer::yy_try_NUL_trans(yy_state_type)': +../bisonflex/bif.yy.cpp:3487:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3489:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3491:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: At global scope: +../bisonflex/bif.yy.cpp:3512:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: In member function 'void bifFlexLexer::yyunput(int, char*)': +../bisonflex/bif.yy.cpp:3515:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3525:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3526:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3528:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp @@ -1021,6 +1057,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1047,7 +1084,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1071,6 +1107,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1094,9 +1131,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1120,6 +1154,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1145,6 +1183,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1222,8 +1261,7 @@ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1250,6 +1288,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1276,8 +1315,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1329,7 +1366,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1355,7 +1391,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.tab.cpp checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': checksum.cpp:58:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5( data, length, cksum_data); @@ -1364,6 +1399,11 @@ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.tab.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1391,24 +1431,16 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp In file included from authentication.h:43, from imageheadertable.h:31, - from bootheader.h:28, - from partitionheadertable.h:27, - from bootimage.h:35, - from ../../s/cmdoptions.y:39, - from cmdoptionsscanner.h:40, - from ../s/cmdoptions.l:23: + from elftools.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authkeys.h:32, - from bootimage.h:34: + from authentication.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1416,20 +1448,26 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:30: +In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, - from elftools.cpp:25: + from bootheader.h:28, + from partitionheadertable.h:27, + from bootimage.h:35, + from ../../s/cmdoptions.y:39, + from cmdoptionsscanner.h:40, + from ../s/cmdoptions.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, - from authentication.h:35: + from authkeys.h:32, + from bootimage.h:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1437,7 +1475,7 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:33: +In file included from authkeys.h:30: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ @@ -1467,14 +1505,12 @@ ../bisonflex/cmdoptions.yy.cpp:2816:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2817:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/cmdoptions.yy.cpp:2819:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption-versal.cpp:23: + from encryption-versalnet.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1499,7 +1535,7 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption-versalnet.cpp:24: + from encryption-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1520,6 +1556,8 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1545,14 +1583,12 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynqmp.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption.cpp:23: + from encryption-zynqmp.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1577,7 +1613,7 @@ from bootheader.h:28, from partitionheadertable.h:27, from bootimage.h:35, - from encryption-zynqmp.cpp:23: + from encryption.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1599,7 +1635,6 @@ | ^~~~~~~~ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from hash.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -1623,7 +1658,11 @@ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, @@ -1648,8 +1687,8 @@ | ^~~~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-zynq.h:27, - from imageheadertable-zynq.cpp:22: + from imageheadertable-zynqmp.h:27, + from imageheadertable-zynqmp.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1668,12 +1707,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, - from imageheadertable-zynqmp.h:27, - from imageheadertable-zynqmp.cpp:22: + from imageheadertable-zynq.h:27, + from imageheadertable-zynq.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1717,10 +1754,11 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1746,9 +1784,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1801,6 +1836,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1826,7 +1865,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. parsing.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1854,9 +1892,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1907,6 +1942,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1931,8 +1970,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1957,6 +1994,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -1981,9 +2019,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -2009,6 +2044,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp In file included from authentication.h:43, from imageheadertable.h:31, from imageheadertable-versal.h:27, @@ -2031,6 +2067,8 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-versal.h:29, @@ -2053,8 +2091,8 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp In file included from authentication.h:43, from readimage.h:32, from readimage-zynq.h:30, @@ -2079,8 +2117,7 @@ | ^~~~~~~~ In file included from authentication.h:43, from readimage.h:32, - from readimage-zynqmp.h:33, - from readimage-zynqmp.cpp:24: + from readimage.cpp:30: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2091,33 +2128,10 @@ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -readimage-versal.cpp: In member function 'void VersalReadImage::ReadHeaderTableDetails()': -readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] - 182 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -In file included from readimage-versal.cpp:23: -/usr/include/stdio.h:183:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 183 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': -readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] - 82 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -/usr/include/stdio.h:183:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 183 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp In file included from authentication.h:43, from readimage.h:32, - from readimage.cpp:30: + from readimage-zynqmp.h:33, + from readimage-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2132,13 +2146,19 @@ authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | RSA_free(rsa); | ~~~~~~~~^~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:33: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ In file included from authentication.h:33: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -2164,6 +2184,23 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp +readimage-versal.cpp: In member function 'void VersalReadImage::ReadHeaderTableDetails()': +readimage-versal.cpp:182:15: warning: argument 1 null where non-null expected [-Wnonnull] + 182 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +In file included from readimage-versal.cpp:23: +/usr/include/stdio.h:183:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 183 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp +readimage-versal.cpp: In member function 'void VersalReadImage::ReadPartitions()': +readimage-versal.cpp:82:15: warning: argument 1 null where non-null expected [-Wnonnull] + 82 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +/usr/include/stdio.h:183:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 183 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -2171,7 +2208,7 @@ from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, - from ../../s/reginit.y:54: + from ../s/reginit.l:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2191,7 +2228,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp In file included from authentication.h:43, from imageheadertable.h:31, from bootheader.h:28, @@ -2199,7 +2236,7 @@ from bootimage.h:35, from ../../s/reginit.y:44, from reginitscanner.h:40, - from ../s/reginit.l:23: + from ../../s/reginit.y:54: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 84 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2267,7 +2304,28 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp +In file included from authentication.h:43, + from readimage.h:32, + from readimage-zynqmp.h:33, + from verifyimage-zynqmp.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 84 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from /usr/include/openssl/x509.h:41, + from /usr/include/openssl/pem.h:23, + from authentication.h:35: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 94 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:33: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ verifyimage-versal.cpp: In member function 'bool VersalReadImage::VerifyECDSASignature(bool, uint8_t*, size_t, ACKeyECDSA*, uint8_t*)': verifyimage-versal.cpp:72:42: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | eckeyLocal = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -2362,44 +2420,7 @@ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ -verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] - 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from readimage-versal.h:34: -authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' - 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); - | ^~~~~~~~~~~~~~~~~~~~~~ -verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] - 228 | m1 = s -> AttachSHA3Padding(mPad, 104); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' - 247 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); - | ^~~~~~~~~~~~~~~~~ gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cJSON.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-alloc.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-binary.c -In file included from authentication.h:43, - from readimage.h:32, - from readimage-zynqmp.h:33, - from verifyimage-zynqmp.cpp:23: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:84:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 84 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from /usr/include/openssl/x509.h:41, - from /usr/include/openssl/pem.h:23, - from authentication.h:35: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:94:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 94 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:33: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ verifyimage-zynqmp.cpp: In member function 'bool ZynqMpReadImage::VerifySignature(bool, uint8_t*, size_t, ACKey4096*, uint8_t*)': verifyimage-zynqmp.cpp:94:18: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | rsa = RSA_new(); @@ -2443,6 +2464,21 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ +verifyimage-versal.cpp:199:34: warning: 'this' pointer is null [-Wnonnull] + 199 | if (s->MaskGenerationFunction(masK, maskedDBLen, Buffer, 48, EVP_sha384()) == -1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from readimage-versal.h:34: +authentication-versal.h:248:9: note: in a call to non-static member function 'int RSA4096Sha3PaddingAuthenticationAlgorithm::MaskGenerationFunction(unsigned char*, long int, const unsigned char*, long int, const EVP_MD*)' + 248 | int MaskGenerationFunction(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); + | ^~~~~~~~~~~~~~~~~~~~~~ +verifyimage-versal.cpp:228:32: warning: 'this' pointer is null [-Wnonnull] + 228 | m1 = s -> AttachSHA3Padding(mPad, 104); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +authentication-versal.h:247:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' + 247 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); + | ^~~~~~~~~~~~~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-alloc.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-binary.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-command.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-load.c gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2022.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I. cdo-npi.c @@ -2486,12 +2522,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26667/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/19336 and its subdirectories -I: Current time: Sat May 25 04:16:43 -12 2024 -I: pbuilder-time-stamp: 1716653803 +I: removing directory /srv/workspace/pbuilder/26667 and its subdirectories +I: Current time: Sun May 26 06:35:34 +14 2024 +I: pbuilder-time-stamp: 1716654934