Diff of the two buildlogs: -- --- b1/build.log 2025-02-25 10:23:53.277533593 +0000 +++ b2/build.log 2025-02-25 10:25:14.613893534 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Mar 30 04:46:06 -12 2026 -I: pbuilder-time-stamp: 1774889166 +I: Current time: Wed Feb 26 00:23:55 +14 2025 +I: pbuilder-time-stamp: 1740479035 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ dpkg-source: info: unpacking xilinx-bootgen_2024.2-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/13137/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8378/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 Feb 25 10:24 /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/8378/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8378/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='experimental' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='bc14467537024eae96f782d718d95dc9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='13137' - PS1='# ' - PS2='> ' + INVOCATION_ID=6d0d893746ed49a98f31b6f7eb90b224 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=8378 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.mx3InMPO/pbuilderrc_0AXj --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mx3InMPO/b1 --logfile b1/build.log xilinx-bootgen_2024.2-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.mx3InMPO/pbuilderrc_0vFK --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mx3InMPO/b2 --logfile b2/build.log xilinx-bootgen_2024.2-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/13137/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/8378/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -139,7 +171,7 @@ Get: 29 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 debhelper all 13.24.1 [920 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 libssl-dev i386 3.4.1-1 [2837 kB] -Fetched 23.7 MB in 1s (25.4 MB/s) +Fetched 23.7 MB in 1s (21.3 MB/s) Preconfiguring packages ... 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 ... 19761 files and directories currently installed.) @@ -278,7 +310,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xilinx-bootgen-2024.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_2024.2-1_source.changes +I: user script /srv/workspace/pbuilder/8378/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/8378/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xilinx-bootgen-2024.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_2024.2-1_source.changes dpkg-buildpackage: info: source package xilinx-bootgen dpkg-buildpackage: info: source version 2024.2-1 dpkg-buildpackage: info: source distribution experimental @@ -288,7 +324,7 @@ debian/rules clean dh clean --exclude=.la dh_auto_clean -O--exclude=.la - make -j22 clean + make -j10 clean make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2024.2' echo @@ -313,7 +349,7 @@ dh_auto_configure -- --enable-static make[1]: Leaving directory '/build/reproducible-path/xilinx-bootgen-2024.2' dh_auto_build -O--exclude=.la - make -j22 "INSTALL=install --strip-program=true" + make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/xilinx-bootgen-2024.2' g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. Keccak-compact.cpp @@ -327,23 +363,9 @@ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp In file included from authentication.h:44, - from imageheadertable.h:32, - from bootheader.h:29, - from bootheader-zynq.h:28, - from bootheader-zynq.cpp:23: + from authentication-zynqmp.h:28, + from authentication-zynqmp.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -363,10 +385,8 @@ 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from authentication.h:44, - from imageheadertable.h:32, - from bootheader.h:29, - from bootheader-zynqmp.h:29, - from bootheader-zynqmp.cpp:23: + from authentication-zynq.h:27, + from authentication-zynq.cpp:28: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -391,18 +411,6 @@ hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } | ~~~~~~~~~~~^~~~~~ -In file included from authentication-versal.h:41, - from authentication-versal.cpp:23: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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-versal.h:38: -/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 /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys-versal.h:32, @@ -410,92 +418,18 @@ /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.h:44, - from authkeys.cpp:27: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:33, - from authkeys.cpp:26: -/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: -/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:44, - from imageheadertable.h:32, - from bootheader.h:29, - from bootheader-versal.h:29, - from bootheader-versal.cpp:24: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/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:44, - from authentication.cpp:27: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/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.h:44, - from authentication-zynqmp.h:28, - from authentication-zynqmp.cpp:28: +In file included from authentication-versal.h:41, + from authentication-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:36: + from authentication-versal.h:38: /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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/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:43: -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication-versal.h:36: -/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:43: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -505,87 +439,17 @@ /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:43: authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/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:44, - from authentication-zynq.h:27, - from authentication-zynq.cpp:28: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/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:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from ../s/bif.y:43, - from bifscanner.h:40, - from ../s/bif.l:24: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:33, - from bootimage.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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: +In file included from authentication-versal.h:36: /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:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from bootheader.cpp:23: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:33, - from bootimage.h:35: -/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.h:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from bitutils.h:33, - from bitutils-versal.h:27, - from bitutils-versal.cpp:27: + from authkeys.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -593,7 +457,7 @@ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from authkeys.h:33, - from bootimage.h:35: + from authkeys.cpp:26: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -605,18 +469,8 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: -/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:44, - from imageheadertable.h:32, - from bifoptions.h:29, - from binary-versal.cpp:31: + from authentication.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -640,26 +494,7 @@ from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from bitutils.h:33, - from bitutils.cpp:28: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:33, - from bootimage.h:35: -/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.h:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from bootimage-zynq.h:29, - from bootimage-zynq.cpp:23: + from ../s/bif.y:55: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -679,53 +514,6 @@ /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:44, - from imageheadertable.h:32, - from bifoptions.h:29, - from bifoptions.cpp:26: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/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:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from ../s/bif.y:55: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:33, - from bootimage.h:35: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ authkeys.cpp: In member function 'uint8_t Key::ParseOpenSSLKey(FILE*)': authkeys.cpp:192:45: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | rsaInst.rsa = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); @@ -749,17 +537,9 @@ authkeys.cpp:215:42: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | rsaInst.rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ /usr/include/openssl/pem.h:454:1: note: declared here 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ -In file included from authkeys.h:31: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ authkeys.cpp:221:42: warning: 'const BIGNUM* RSA_get0_n(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 221 | keySzRd = BN_num_bytes(RSA_get0_n(rsaInst.rsa)); | ~~~~~~~~~~^~~~~~~~~~~~~ @@ -791,24 +571,6 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ -In file included from authentication.h:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from bootimage-versal.h:28, - from bootimage-versal.cpp:23: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:33, - from bootimage.h:35: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ authkeys.cpp:425:36: warning: 'const BIGNUM* RSA_get0_d(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 425 | memcpy(temp, RSA_get0_d(rsa)->d, keyLength); | ~~~~~~~~~~^~~~~ @@ -840,14 +602,6 @@ /usr/include/openssl/pem.h:467:1: note: declared here 467 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ -authentication.h: In destructor 'RSA_Class::~RSA_Class()': -authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ authkeys.cpp: In static member function 'static void Key::GenerateRsaKeys(KeyGenerationStruct*)': authkeys.cpp:521:36: warning: 'RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 521 | if ((rsa = RSA_generate_key(keygen->keyLength * 8, RSA_F4, NULL, NULL)) == NULL) @@ -892,8 +646,9 @@ from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from bootimage-zynqmp.h:29, - from bootimage-zynqmp.cpp:23: + from ../s/bif.y:43, + from bifscanner.h:40, + from ../s/bif.l:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -905,21 +660,6 @@ /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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: -/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp -../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': -../bisonflex/bif.yy.cpp:1674:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1675:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1675:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1676:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:1740:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] authkeys-versal.cpp: In constructor 'VersalKey::VersalKey(const std::string&)': authkeys-versal.cpp:47:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -934,6 +674,14 @@ /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); | ^~~~~~~~~~~~~~~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:31: +/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 Key&)': authkeys-versal.cpp:69:41: warning: 'EC_KEY* EC_KEY_new_by_curve_name(int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 69 | eckey = EC_KEY_new_by_curve_name(NID_secp384r1); @@ -979,6 +727,20 @@ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from authentication.h:44, + from imageheadertable.h:32, + from bifoptions.h:29, + from bifoptions.cpp:26: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ authkeys-versal.cpp:312:61: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 312 | const EC_POINT *pub = EC_KEY_get0_public_key(eckey); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ @@ -1021,6 +783,14 @@ /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); | ^~~~~~~~~~~~~~~~~~~~~~ +authentication.h: In destructor 'RSA_Class::~RSA_Class()': +authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ authkeys-versal.cpp:389: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] 389 | if (EC_POINT_get_affine_coordinates_GFp(ecgroup, pub, X, Y, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1046,26 +816,6 @@ /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 'int bifFlexLexer::yy_get_next_buffer()': -../bisonflex/bif.yy.cpp:3396:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3397:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3398:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3398: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:3536:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3537:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3545: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:3574:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3576:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3578:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp: At global scope: -../bisonflex/bif.yy.cpp:3599: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:3602:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3612:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3613:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/bif.yy.cpp:3615:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': authentication-versal.cpp:1119:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1119 | EC_KEY* eckeyN = EC_KEY_new(); @@ -1177,25 +927,241 @@ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ -bootimage-versal.cpp: In member function 'virtual void VersalBootImage::Add(BifOptions*)': -bootimage-versal.cpp:1263:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1263 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:454:1: note: declared here - 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) - | ^~~~~~~~~~~~~~~~~~~ -bootimage-versal.cpp:1271:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1271 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/pem.h:468:1: note: declared here - 468 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) - | ^~~~~~~~~~~~~~~~~~~ +../bisonflex/bif.yy.cpp: In member function 'virtual int BIF::FlexScanner::yylex()': +../bisonflex/bif.yy.cpp:1674:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1675:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1675:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1676:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:1740:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +In file included from authentication.h:44, + from imageheadertable.h:32, + from bifoptions.h:29, + from binary-versal.cpp:31: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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 'int bifFlexLexer::yy_get_next_buffer()': +../bisonflex/bif.yy.cpp:3396:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3397:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3398:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3398: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:3536:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3537:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3545: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:3574:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3576:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3578:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp: At global scope: +../bisonflex/bif.yy.cpp:3599: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:3602:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3612:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3613:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/bif.yy.cpp:3615: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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynq.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader-zynqmp.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from bifoptions.h:29, + from binary.cpp:31: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from bootimage.cpp:27: + from bitutils.h:33, + from bitutils-versal.h:27, + from bitutils-versal.cpp:27: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:33, + from bootimage.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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:31: +/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:44, + from imageheadertable.h:32, + from bootheader.h:29, + from bootheader-versal.h:29, + from bootheader-versal.cpp:24: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootheader.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from bitutils.h:33, + from bitutils.cpp:28: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:33, + from bootimage.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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:31: +/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-versal.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from bootheader.h:29, + from bootheader-zynq.h:28, + from bootheader-zynq.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynq.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from bootheader.h:29, + from bootheader-zynqmp.h:29, + from bootheader-zynqmp.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage-zynqmp.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from bootheader.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:33, + from bootimage.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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:31: +/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:44, + from imageheadertable.h:32, + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from bootimage-versal.h:28, + from bootimage-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1215,6 +1181,20 @@ /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bootimage.cpp +bootimage-versal.cpp: In member function 'virtual void VersalBootImage::Add(BifOptions*)': +bootimage-versal.cpp:1263:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1263 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:454:1: note: declared here + 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) + | ^~~~~~~~~~~~~~~~~~~ +bootimage-versal.cpp:1271:56: warning: 'EC_KEY* PEM_read_EC_PUBKEY(FILE*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1271 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/pem.h:468:1: note: declared here + 468 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) + | ^~~~~~~~~~~~~~~~~~~ bootimage-versal.cpp: In member function 'virtual void VersalBootImage::OutputOptionalEfuseHash()': bootimage-versal.cpp:1693:47: warning: 'RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1693 | RSA* rsa = PEM_read_RSA_PUBKEY(f, NULL, NULL, NULL); @@ -1253,18 +1233,21 @@ /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp In file included from authentication.h:44, from imageheadertable.h:32, - from bifoptions.h:29, - from binary.cpp:31: + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from bootimage-zynq.h:29, + from bootimage-zynq.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:36: + from authkeys.h:33, + from bootimage.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1272,21 +1255,46 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: +In file included from authkeys.h:31: /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from bootimage-zynqmp.h:29, + from bootimage-zynqmp.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:33, + from bootimage.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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authkeys.h:31: +/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from checksum-versal.h:27, - from checksum-versal.cpp:18: + from bootimage.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1306,8 +1314,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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. elftools.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1333,28 +1340,21 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryptutils.cpp -checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': -checksum.cpp:59:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 59 | MD5( data, length, cksum_data); - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from checksum.cpp:33: -/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp In file included from authentication.h:44, from imageheadertable.h:32, - from elftools.cpp:26: + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from checksum-versal.h:27, + from checksum-versal.cpp:18: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:36: + from authkeys.h:33, + from bootimage.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1362,11 +1362,18 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: +In file included from authkeys.h:31: /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp +checksum.cpp: In member function 'virtual void MD5ChecksumContext::Link(bool, const uint8_t*, Binary::Length_t, Section*)': +checksum.cpp:59:8: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 59 | MD5( data, length, cksum_data); + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from checksum.cpp:33: +/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, + | ^~~ In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1421,8 +1428,58 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versal.cpp +../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': +../bisonflex/cmdoptions.yy.cpp:1357:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1358:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1358:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1359:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:1425:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': +../bisonflex/cmdoptions.yy.cpp:2686:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2687:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2688:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2688:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': +../bisonflex/cmdoptions.yy.cpp:2826:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2827:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2835:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': +../bisonflex/cmdoptions.yy.cpp:2864:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2866:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2868:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: At global scope: +../bisonflex/cmdoptions.yy.cpp:2889:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': +../bisonflex/cmdoptions.yy.cpp:2892:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2902:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2903:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/cmdoptions.yy.cpp:2905:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +In file included from authentication.h:44, + from imageheadertable.h:32, + from elftools.cpp:26: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-versalnet.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1448,6 +1505,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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp In file included from hash.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] @@ -1471,38 +1530,12 @@ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ -../bisonflex/cmdoptions.yy.cpp: In member function 'virtual int CO::FlexScanner::yylex()': -../bisonflex/cmdoptions.yy.cpp:1357:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1358:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1358:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1359:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:1425:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'int cmdoptionsFlexLexer::yy_get_next_buffer()': -../bisonflex/cmdoptions.yy.cpp:2686:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2687:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2688:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2688:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_get_previous_state()': -../bisonflex/cmdoptions.yy.cpp:2826:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2827:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2835:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'yy_state_type cmdoptionsFlexLexer::yy_try_NUL_trans(yy_state_type)': -../bisonflex/cmdoptions.yy.cpp:2864:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2866:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2868:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: At global scope: -../bisonflex/cmdoptions.yy.cpp:2889:54: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp: In member function 'void cmdoptionsFlexLexer::yyunput(int, char*)': -../bisonflex/cmdoptions.yy.cpp:2892:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2902:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2903:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/cmdoptions.yy.cpp:2905:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from encryption-zynq.cpp:37: + from encryption-versalnet.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1522,14 +1555,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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from encryption-versalnet.cpp:24: + from encryption-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1554,7 +1585,7 @@ from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from encryption-zynqmp.cpp:24: + from encryption.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1574,21 +1605,21 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, - from imageheadertable-versal.h:28, - from imageheadertable-versal.cpp:23: + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from encryption-zynq.cpp:37: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:36: + from authkeys.h:33, + from bootimage.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1596,14 +1627,17 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: +In file included from authkeys.h:31: /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable.cpp In file included from authentication.h:44, from imageheadertable.h:32, - from imageheadertable-zynq.h:28, - from imageheadertable-zynq.cpp:23: + from imageheadertable-versal.h:28, + from imageheadertable-versal.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1644,22 +1678,17 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile.cpp In file included from authentication.h:44, from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from encryption.cpp:24: + from imageheadertable-zynq.h:28, + from imageheadertable-zynq.cpp:23: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:33, - from bootimage.h:35: + from authentication.h:36: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1667,10 +1696,11 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: +In file included from authentication.h:34: /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1696,7 +1726,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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. outputfile-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1722,12 +1756,19 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from outputfile.cpp:29: + from ../../s/cmdoptions.y:40, + from cmdoptionsscanner.h:41, + from options.cpp:27: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1747,15 +1788,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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from ../../s/cmdoptions.y:40, - from cmdoptionsscanner.h:41, - from options.cpp:27: + from outputfile-versal.cpp:29: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1775,12 +1814,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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable-zynqmp.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from outputfile-versal.cpp:29: + from outputfile.cpp:29: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1800,17 +1840,14 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from partition.cpp:25: + from ../s/bif.y:43, + from parsing.h:27, + from parsing.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1834,16 +1871,15 @@ from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from bootimage.h:36, - from partition-versal.cpp:25: + from partitionheadertable-versal.h:28, + from partitionheadertable-versal.cpp:22: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:33, - from bootimage.h:35: + from authentication.h:36: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1851,25 +1887,16 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: +In file included from authentication.h:34: /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from ../s/bif.y:43, - from parsing.h:27, - from parsing.cpp:24: + from partition-versal.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -1893,15 +1920,16 @@ from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from partitionheadertable-versal.h:28, - from partitionheadertable-versal.cpp:22: + from bootimage.h:36, + from partition.cpp:25: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | 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:36: + from authkeys.h:33, + from bootimage.h:35: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ @@ -1909,10 +1937,11 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: +In file included from authkeys.h:31: /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1937,8 +1966,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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1963,6 +1990,24 @@ /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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynqmp.cpp +In file included from authentication.h:44, + from imageheadertable.h:32, + from imageheadertable-versal.h:28, + from postprocess.cpp:18: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1980,39 +2025,23 @@ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authkeys.h:31: +In file included from authentication.h:34: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cJSON.c -In file included from authentication.h:44, - from imageheadertable.h:32, - from imageheadertable-versal.h:28, - from postprocess.cpp:18: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-alloc.c authentication.h: In destructor 'RSA_Class::~RSA_Class()': authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -In file included from authentication.h:34: +In file included from authkeys.h:31: /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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage.cpp In file included from authentication.h:44, from readimage.h:33, from readimage-versal.h:30, @@ -2035,11 +2064,11 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-binary.c +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.cpp In file included from authentication.h:44, from readimage.h:33, - from readimage-zynqmp.h:33, - from readimage-zynqmp.cpp:24: + from readimage-zynq.h:30, + from readimage-zynq.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2058,10 +2087,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-2024.2=. -fstack-protector-strong -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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp In file included from authentication.h:44, from readimage.h:33, - from readimage-zynq.h:30, - from readimage-zynq.cpp:24: + from readimage-zynqmp.h:33, + from readimage-zynqmp.cpp:24: hash.h: In member function 'virtual void HashSha2::InitHash()': hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | void InitHash(void) { SHA256_Init(&ctx); } @@ -2101,7 +2132,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-command.c +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -2127,8 +2158,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-load.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-metadata.c In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -2156,32 +2185,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-npi.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-overlay.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-raw.c -In file included from authentication.h:44, - from readimage.h:33, - from readimage-versal.h:30, - from verifyimage-versal.cpp:25: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-source.c In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -2209,28 +2212,8 @@ /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:44, - from readimage.h:33, - from readimage-zynqmp.h:33, - from verifyimage-zynqmp.cpp:23: -hash.h: In member function 'virtual void HashSha2::InitHash()': -hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 85 | 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:36: -/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ -In file included from authentication.h:34: -/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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-zynqmp.cpp +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cJSON.c ../bisonflex/reginit.yy.cpp: In member function 'virtual int RE::FlexScanner::yylex()': ../bisonflex/reginit.yy.cpp:720:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:721:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -2257,6 +2240,54 @@ ../bisonflex/reginit.yy.cpp:1438:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1439:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1441:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +In file included from authentication.h:44, + from readimage.h:33, + from readimage-versal.h:30, + from verifyimage-versal.cpp:25: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +readimage-zynqmp.cpp: In member function 'virtual void ZynqMpReadImage::ReadPartitions()': +readimage-zynqmp.cpp:57:15: warning: argument 1 null where non-null expected [-Wnonnull] + 57 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +In file included from /usr/include/c++/14/cstdio:42, + from /usr/include/c++/14/ext/string_conversions.h:45, + from /usr/include/c++/14/bits/basic_string.h:4154, + from /usr/include/c++/14/string:54, + from readimage-zynqmp.h:30: +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +readimage-zynq.cpp: In member function 'virtual void ZynqReadImage::ReadPartitions()': +readimage-zynq.cpp:56:15: warning: argument 1 null where non-null expected [-Wnonnull] + 56 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +In file included from /usr/include/c++/14/cstdio:42, + from /usr/include/c++/14/ext/string_conversions.h:45, + from /usr/include/c++/14/bits/basic_string.h:4154, + from /usr/include/c++/14/string:54, + from readimage.h:30: +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-alloc.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-binary.c 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); @@ -2351,6 +2382,63 @@ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +readimage-versal.cpp: In member function 'void VersalReadImage::DisplayOptionalData()': +readimage-versal.cpp:96:15: warning: argument 1 null where non-null expected [-Wnonnull] + 96 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +In file included from readimage-versal.cpp:23: +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +readimage-versal.cpp:111:15: warning: argument 1 null where non-null expected [-Wnonnull] + 111 | fclose(filePtr); + | ~~~~~~^~~~~~~~~ +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +In file included from authentication.h:44, + from readimage.h:33, + from readimage-zynqmp.h:33, + from verifyimage-zynqmp.cpp:23: +hash.h: In member function 'virtual void HashSha2::InitHash()': +hash.h:85:38: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 85 | 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:36: +/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:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 95 | RSA_free(rsa); + | ~~~~~~~~^~~~~ +In file included from authentication.h:34: +/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 'virtual void VersalReadImage::ReadPartitions()': +readimage-versal.cpp:210:15: warning: argument 1 null where non-null expected [-Wnonnull] + 210 | fclose(binFile); + | ~~~~~~^~~~~~~~~ +/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 184 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ +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:35: +authentication-versal.h:250: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*)' + 250 | 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:249:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' + 249 | 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-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-command.c 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(); @@ -2394,64 +2482,6 @@ /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:35: -authentication-versal.h:250: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*)' - 250 | 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:249:14: note: in a call to non-static member function 'uint8_t* RSA4096Sha3PaddingAuthenticationAlgorithm::AttachSHA3Padding(uint8_t*, Binary::Length_t)' - 249 | uint8_t* AttachSHA3Padding(uint8_t * data, const Binary::Length_t datalength); - | ^~~~~~~~~~~~~~~~~ -readimage-zynqmp.cpp: In member function 'virtual void ZynqMpReadImage::ReadPartitions()': -readimage-zynqmp.cpp:57:15: warning: argument 1 null where non-null expected [-Wnonnull] - 57 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -In file included from /usr/include/c++/14/cstdio:42, - from /usr/include/c++/14/ext/string_conversions.h:45, - from /usr/include/c++/14/bits/basic_string.h:4154, - from /usr/include/c++/14/string:54, - from readimage-zynqmp.h:30: -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-zynq.cpp: In member function 'virtual void ZynqReadImage::ReadPartitions()': -readimage-zynq.cpp:56:15: warning: argument 1 null where non-null expected [-Wnonnull] - 56 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -In file included from /usr/include/c++/14/cstdio:42, - from /usr/include/c++/14/ext/string_conversions.h:45, - from /usr/include/c++/14/bits/basic_string.h:4154, - from /usr/include/c++/14/string:54, - from readimage.h:30: -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-versal.cpp: In member function 'void VersalReadImage::DisplayOptionalData()': -readimage-versal.cpp:96:15: warning: argument 1 null where non-null expected [-Wnonnull] - 96 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -In file included from readimage-versal.cpp:23: -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-versal.cpp:111:15: warning: argument 1 null where non-null expected [-Wnonnull] - 111 | fclose(filePtr); - | ~~~~~~^~~~~~~~~ -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ -readimage-versal.cpp: In member function 'virtual void VersalReadImage::ReadPartitions()': -readimage-versal.cpp:210:15: warning: argument 1 null where non-null expected [-Wnonnull] - 210 | fclose(binFile); - | ~~~~~~^~~~~~~~~ -/usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 184 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ readimage-zynqmp.cpp: In member function 'virtual void ZynqMpReadImage::ReadHeaderTableDetails()': readimage-zynqmp.cpp:123:15: warning: argument 1 null where non-null expected [-Wnonnull] 123 | fclose(binFile); @@ -2459,6 +2489,12 @@ /usr/include/stdio.h:184:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-load.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-metadata.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-npi.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-overlay.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-raw.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -I. cdo-source.c echo Building executable file: bootgen... Building executable file: bootgen... g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -Wl,-z,relro -Wl,-z,now -o bootgen Keccak-compact-versal.o Keccak-compact.o authentication-versal.o authentication-zynq.o authentication-zynqmp.o authentication.o authkeys-versal.o authkeys.o bif.tab.o bif.yy.o bifoptions.o binary-versal.o binary.o binfile.o bitutils-versal.o bitutils.o bootheader-versal.o bootheader-zynq.o bootheader-zynqmp.o bootheader.o bootimage-versal.o bootimage-zynq.o bootimage-zynqmp.o bootimage.o checksum-versal.o checksum.o cmdoptions.tab.o cmdoptions.yy.o elftools.o encryption-versal.o encryption-versalnet.o encryption-zynq.o encryption-zynqmp.o encryption.o encryptutils.o hash.o imageheadertable-versal.o imageheadertable-zynq.o imageheadertable-zynqmp.o imageheadertable.o kdf.o logger.o main.o mcsfile.o options.o outputfile-versal.o outputfile.o parsing.o partition-versal.o partition.o partitionheadertable-versal.o partitionheadertable-zynq.o partitionheadertable-zynqmp.o partitionheadertable.o postprocess.o readimage-versal.o readimage-zynq.o readimage-zynqmp.o readimage.o reginit.o reginit.tab.o reginit.yy.o verifyimage-versal.o verifyimage-zynqmp.o cJSON.o cdo-alloc.o cdo-binary.o cdo-command.o cdo-load.o cdo-metadata.o cdo-npi.o cdo-overlay.o cdo-raw.o cdo-source.o -lssl -lcrypto @@ -2486,8 +2522,8 @@ dh_gencontrol -O--exclude=.la dh_md5sums -O--exclude=.la dh_builddeb -O--exclude=.la -dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2024.2-1_i386.deb'. dpkg-deb: building package 'xilinx-bootgen-dbgsym' in '../xilinx-bootgen-dbgsym_2024.2-1_i386.deb'. +dpkg-deb: building package 'xilinx-bootgen' in '../xilinx-bootgen_2024.2-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../xilinx-bootgen_2024.2-1_i386.buildinfo dpkg-genchanges --build=binary -O../xilinx-bootgen_2024.2-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2495,12 +2531,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/8378/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8378/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/13137 and its subdirectories -I: Current time: Mon Mar 30 04:46:52 -12 2026 -I: pbuilder-time-stamp: 1774889212 +I: removing directory /srv/workspace/pbuilder/8378 and its subdirectories +I: Current time: Wed Feb 26 00:25:13 +14 2025 +I: pbuilder-time-stamp: 1740479113