Diff of the two buildlogs: -- --- b1/build.log 2025-03-10 11:59:50.549218831 +0000 +++ b2/build.log 2025-03-10 12:00:47.994637697 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 9 23:58:51 -12 2025 -I: pbuilder-time-stamp: 1741607931 +I: Current time: Mon Apr 13 08:22:52 +14 2026 +I: pbuilder-time-stamp: 1776018172 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ 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/1871447/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/532118/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 Apr 12 18:23 /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/532118/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/532118/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='experimental' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='66e088ccf66b44d79a1bcec736764eb8' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1871447' - PS1='# ' - PS2='> ' + INVOCATION_ID=2c174697c5ce47c9b37857fdd4a0e429 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=532118 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.cuFRDOGJ/pbuilderrc_ZnIY --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.cuFRDOGJ/b1 --logfile b1/build.log xilinx-bootgen_2024.2-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.cuFRDOGJ/pbuilderrc_1cC3 --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.cuFRDOGJ/b2 --logfile b2/build.log xilinx-bootgen_2024.2-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1871447/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/532118/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -136,7 +168,7 @@ Get: 29 http://deb.debian.org/debian unstable/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian unstable/main arm64 debhelper all 13.24.1 [920 kB] Get: 31 http://deb.debian.org/debian unstable/main arm64 libssl-dev arm64 3.4.1-1 [3232 kB] -Fetched 23.3 MB in 0s (115 MB/s) +Fetched 23.3 MB in 0s (171 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 ... 19897 files and directories currently installed.) @@ -275,7 +307,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/532118/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/532118/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 @@ -327,15 +363,15 @@ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. binfile.cpp In file included from authentication.h:44, - from authentication-zynq.h:27, - from authentication-zynq.cpp:28: + 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 authentication.h:36: + 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); | ^~~~~~~~~~~ @@ -343,7 +379,7 @@ 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); | ^~~~~~~~ @@ -368,72 +404,9 @@ /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: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 authentication-versal.h:41, - from authkeys-versal.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-versal.h:32, - from authkeys-versal.cpp:27: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -In file included from authentication-versal.h: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] - 95 | RSA_free(rsa); - | ~~~~~~~~^~~~~ 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); - | ^~~~~~~~~~~ -In file included from authkeys-versal.h:30: -/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 authentication.cpp:27: + 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); } @@ -452,31 +425,18 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -In file included from authentication.h:44, - from imageheadertable.h:32, - from bootheader.h:29, - from partitionheadertable.h:28, - from bootimage.h:36, - from ../s/bif.y:55: +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 authkeys.h:33, - from bootimage.h:35: + 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 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 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); @@ -604,10 +564,39 @@ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ +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: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); + | ^~~~~~~~~~~ +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: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 bifoptions.h:29, - from binary.cpp:31: + 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); } @@ -656,7 +645,7 @@ In file included from authentication.h:44, from imageheadertable.h:32, from bifoptions.h:29, - from bifoptions.cpp:26: + 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); } @@ -677,6 +666,191 @@ | ^~~~~~~~ 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); + | ^~~~~~~~~~~ +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); + | ^~~~~~~~ +../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] +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. bitutils-versal.cpp +../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] +In file included from authentication-versal.h:41, + from authkeys-versal.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-versal.h:32, + from authkeys-versal.cpp:27: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +In file included from authentication-versal.h: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 authkeys-versal.h:30: +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': +authentication-versal.cpp:1119:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1119 | EC_KEY* eckeyN = EC_KEY_new(); + | ~~~~~~~~~~^~ +In file included from /usr/include/openssl/x509.h:33: +/usr/include/openssl/ec.h:987:31: note: declared here + 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); + | ^~~~~~~~~~ +authentication-versal.cpp:1121:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1121 | EC_KEY_set_group(eckeyN, ecgroup); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1061:27: note: declared here + 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); + | ^~~~~~~~~~~~~~~~ +authentication-versal.cpp:1122:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1122 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1106:28: note: declared here + 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); + | ^~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1125:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1125 | prv = EC_KEY_get0_private_key(eckeyU); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/openssl/ec.h:1067:37: note: declared here + 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1126:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1126 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/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-versal.cpp:1129:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1129 | EC_KEY_set_private_key(eckeyN, prv); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1075:27: note: declared here + 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); + | ^~~~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1130:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1130 | EC_KEY_set_public_key(eckeyN, pub); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1089:27: note: declared here + 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); + | ^~~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1133:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1133 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1384:34: note: declared here + 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, + | ^~~~~~~~~~~~~ +authentication-versal.cpp:1165:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1165 | EC_KEY_free(eckeyN); + | ~~~~~~~~~~~^~~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +authentication-versal.cpp: In member function 'void ECDSAP521AuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': +authentication-versal.cpp:1172:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1172 | EC_KEY* eckeyN = EC_KEY_new(); + | ~~~~~~~~~~^~ +/usr/include/openssl/ec.h:987:31: note: declared here + 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); + | ^~~~~~~~~~ +authentication-versal.cpp:1174:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1174 | EC_KEY_set_group(eckeyN, ecgroup); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1061:27: note: declared here + 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); + | ^~~~~~~~~~~~~~~~ +authentication-versal.cpp:1175:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1175 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1106:28: note: declared here + 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); + | ^~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1178:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1178 | prv = EC_KEY_get0_private_key(eckeyU); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/usr/include/openssl/ec.h:1067:37: note: declared here + 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1179:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1179 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +/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-versal.cpp:1182:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1182 | EC_KEY_set_private_key(eckeyN, prv); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1075:27: note: declared here + 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); + | ^~~~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1183:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1183 | EC_KEY_set_public_key(eckeyN, pub); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1089:27: note: declared here + 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); + | ^~~~~~~~~~~~~~~~~~~~~ +authentication-versal.cpp:1186:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1186 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1384:34: note: declared here + 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, + | ^~~~~~~~~~~~~ +authentication-versal.cpp:1275:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 1275 | EC_KEY_free(eckeyN); + | ~~~~~~~~~~~^~~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +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()': @@ -823,149 +997,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -authentication-versal.cpp: In member function 'void ECDSAAuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': -authentication-versal.cpp:1119:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1119 | EC_KEY* eckeyN = EC_KEY_new(); - | ~~~~~~~~~~^~ -In file included from /usr/include/openssl/x509.h:33: -/usr/include/openssl/ec.h:987:31: note: declared here - 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); - | ^~~~~~~~~~ -authentication-versal.cpp:1121:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1121 | EC_KEY_set_group(eckeyN, ecgroup); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1061:27: note: declared here - 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); - | ^~~~~~~~~~~~~~~~ -authentication-versal.cpp:1122:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1122 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1106:28: note: declared here - 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); - | ^~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1125:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1125 | prv = EC_KEY_get0_private_key(eckeyU); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/openssl/ec.h:1067:37: note: declared here - 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1126:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1126 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/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-versal.cpp:1129:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1129 | EC_KEY_set_private_key(eckeyN, prv); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1075:27: note: declared here - 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); - | ^~~~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1130:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1130 | EC_KEY_set_public_key(eckeyN, pub); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1089:27: note: declared here - 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); - | ^~~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1133:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1133 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1384:34: note: declared here - 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, - | ^~~~~~~~~~~~~ -authentication-versal.cpp:1165:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1165 | EC_KEY_free(eckeyN); - | ~~~~~~~~~~~^~~~~~~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -authentication-versal.cpp: In member function 'void ECDSAP521AuthenticationAlgorithm::ECDSASignature(const uint8_t*, EC_KEY*, uint8_t*)': -authentication-versal.cpp:1172:32: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1172 | EC_KEY* eckeyN = EC_KEY_new(); - | ~~~~~~~~~~^~ -/usr/include/openssl/ec.h:987:31: note: declared here - 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); - | ^~~~~~~~~~ -authentication-versal.cpp:1174:21: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1174 | EC_KEY_set_group(eckeyN, ecgroup); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1061:27: note: declared here - 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); - | ^~~~~~~~~~~~~~~~ -authentication-versal.cpp:1175:25: warning: 'void EC_KEY_set_asn1_flag(EC_KEY*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1175 | EC_KEY_set_asn1_flag(eckeyN, OPENSSL_EC_NAMED_CURVE); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1106:28: note: declared here - 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); - | ^~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1178:34: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1178 | prv = EC_KEY_get0_private_key(eckeyU); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/usr/include/openssl/ec.h:1067:37: note: declared here - 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1179:49: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1179 | const EC_POINT *pub = EC_KEY_get0_public_key(eckeyU); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -/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-versal.cpp:1182:27: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1182 | EC_KEY_set_private_key(eckeyN, prv); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1075:27: note: declared here - 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); - | ^~~~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1183:26: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1183 | EC_KEY_set_public_key(eckeyN, pub); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1089:27: note: declared here - 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); - | ^~~~~~~~~~~~~~~~~~~~~ -authentication-versal.cpp:1186:41: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1186 | ECDSA_SIG* signature = ECDSA_do_sign(base, 48, eckeyN); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1384:34: note: declared here - 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, - | ^~~~~~~~~~~~~ -authentication-versal.cpp:1275:16: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 1275 | EC_KEY_free(eckeyN); - | ~~~~~~~~~~~^~~~~~~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *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] -../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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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, @@ -993,13 +1025,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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: + 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); } @@ -1021,32 +1057,6 @@ 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); - | ^~~~~~~~ -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()': @@ -1067,20 +1077,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-versal.h:29, - from bootheader-versal.cpp:24: + 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 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); | ^~~~~~~~~~~ @@ -1088,10 +1099,12 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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, @@ -1170,6 +1183,7 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. checksum.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); @@ -1183,6 +1197,25 @@ /usr/include/openssl/pem.h:468:1: note: declared here 468 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~~^~~~~ 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); @@ -1193,6 +1226,10 @@ bootimage-versal.cpp:1701: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] 1701 | EC_KEY *eckeyLocal = PEM_read_EC_PUBKEY(f, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~ /usr/include/openssl/pem.h:468:1: note: declared here 468 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ @@ -1247,7 +1284,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. cmdoptions.yy.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1273,10 +1311,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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, @@ -1303,6 +1337,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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, @@ -1315,14 +1350,27 @@ 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 ../../s/cmdoptions.y:40, - from cmdoptionsscanner.h:41, - from ../s/cmdoptions.l:24: + from checksum.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); } @@ -1334,6 +1382,27 @@ /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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 ../../s/cmdoptions.y:40, + from cmdoptionsscanner.h:41, + from ../s/cmdoptions.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, @@ -1345,18 +1414,18 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -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 authkeys.h:31: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +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, + | ^~~ ../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] @@ -1383,31 +1452,8 @@ ../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 checksum.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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. encryption-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from elftools.cpp:26: @@ -1429,14 +1475,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -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, @@ -1462,43 +1500,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.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] - 85 | void InitHash(void) { SHA256_Init(&ctx); } - | ~~~~~~~~~~~^~~~~~ -In file included from hash.h:28: -/usr/include/openssl/sha.h:73:27: note: declared here - 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); - | ^~~~~~~~~~~ -hash.cpp: In member function 'virtual uint8_t HashSha2::UpdateHash(const void*, size_t)': -hash.cpp:40:38: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 40 | uint8_t errorCode = SHA256_Update(&ctx, data, length); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:74:27: note: declared here - 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, - | ^~~~~~~~~~~~~ -hash.cpp: In member function 'virtual uint8_t HashSha2::FinalHash(uint8_t*)': -hash.cpp:49:37: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 49 | uint8_t errorCode = SHA256_Final(hashout, &ctx); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/openssl/sha.h:76:27: note: declared here - 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); - | ^~~~~~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-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 encryption.cpp:24: + 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); } @@ -1518,6 +1526,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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, @@ -1543,6 +1552,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. hash.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-versal.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1568,13 +1581,35 @@ /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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. imageheadertable-zynqmp.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] + 85 | void InitHash(void) { SHA256_Init(&ctx); } + | ~~~~~~~~~~~^~~~~~ +In file included from hash.h:28: +/usr/include/openssl/sha.h:73:27: note: declared here + 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); + | ^~~~~~~~~~~ +hash.cpp: In member function 'virtual uint8_t HashSha2::UpdateHash(const void*, size_t)': +hash.cpp:40:38: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 40 | uint8_t errorCode = SHA256_Update(&ctx, data, length); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:74:27: note: declared here + 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, + | ^~~~~~~~~~~~~ +hash.cpp: In member function 'virtual uint8_t HashSha2::FinalHash(uint8_t*)': +hash.cpp:49:37: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 49 | uint8_t errorCode = SHA256_Final(hashout, &ctx); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/usr/include/openssl/sha.h:76:27: note: declared here + 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, 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 encryption-zynq.cpp:37: + 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); } @@ -1594,10 +1629,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. logger.cpp In file included from authentication.h:44, from imageheadertable.h:32, - from imageheadertable-versal.h:28, - from imageheadertable-versal.cpp:23: + 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); } @@ -1616,12 +1655,10 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. kdf.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); } @@ -1640,6 +1677,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. main.cpp In file included from authentication.h:44, from imageheadertable.h:32, from imageheadertable-zynqmp.h:28, @@ -1662,7 +1700,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. mcsfile.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1688,8 +1726,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. options.cpp In file included from authentication.h:44, from imageheadertable.h:32, @@ -1720,7 +1756,6 @@ g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partition.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, @@ -1748,8 +1783,28 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-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 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, @@ -1775,15 +1830,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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. partitionheadertable.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: +/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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. postprocess.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from partitionheadertable-versal.h:28, - from partitionheadertable-versal.cpp:22: + from partitionheadertable-zynqmp.h:28, + from partitionheadertable-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); } @@ -1831,18 +1892,15 @@ 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 partitionheadertable-zynq.h:29, + from partitionheadertable-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); | ^~~~~~~~~~~ @@ -1850,7 +1908,7 @@ 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); | ^~~~~~~~ @@ -1859,7 +1917,7 @@ from bootheader.h:29, from partitionheadertable.h:28, from bootimage.h:36, - from partition-versal.cpp:25: + from partitionheadertable.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); } @@ -1880,12 +1938,13 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-zynq.cpp In file included from authentication.h:44, from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from partitionheadertable-zynqmp.h:28, - from partitionheadertable-zynqmp.cpp:23: + 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); } @@ -1909,7 +1968,9 @@ 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); } @@ -1933,33 +1994,8 @@ from imageheadertable.h:32, from bootheader.h:29, from partitionheadertable.h:28, - from partitionheadertable-zynq.h:29, - from partitionheadertable-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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. readimage-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 partitionheadertable.cpp:23: + 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); } @@ -2025,12 +2061,10 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.tab.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); } @@ -2045,25 +2079,30 @@ authentication.h:95:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | RSA_free(rsa); | ~~~~~~~~^~~~~ -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. reginit.yy.cpp 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-aligned-new -Wno-misleading-indentation -Wno-class-memaccess -I. verifyimage-versal.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cJSON.c In file included from authentication.h:44, - from readimage.h:33, - from readimage-zynq.h:30, - from readimage-zynq.cpp:24: + from imageheadertable.h:32, + from bootheader.h:29, + from partitionheadertable.h:28, + from bootimage.h:36, + from reginit.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); | ^~~~~~~~~~~ @@ -2071,7 +2110,7 @@ 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); | ^~~~~~~~ @@ -2103,32 +2142,7 @@ from bootimage.h:36, from ../../s/reginit.y:45, from reginitscanner.h:41, - from ../../s/reginit.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); - | ^~~~~~~~~~~ -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 reginit.cpp:25: + from ../s/reginit.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); } @@ -2149,21 +2163,16 @@ 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/reginit.y:45, - from reginitscanner.h:41, - from ../s/reginit.l:24: + from readimage.h:33, + 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); } | ~~~~~~~~~~~^~~~~~ 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); | ^~~~~~~~~~~ @@ -2171,7 +2180,7 @@ 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); | ^~~~~~~~ @@ -2189,6 +2198,12 @@ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *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] +../bisonflex/reginit.yy.cpp:721:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/reginit.yy.cpp:722:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] +../bisonflex/reginit.yy.cpp:786:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 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); @@ -2197,12 +2212,6 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -../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] -../bisonflex/reginit.yy.cpp:721:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/reginit.yy.cpp:722:15: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] -../bisonflex/reginit.yy.cpp:786:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp: In member function 'int reginitFlexLexer::yy_get_next_buffer()': ../bisonflex/reginit.yy.cpp:1222:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] ../bisonflex/reginit.yy.cpp:1223:17: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] @@ -2223,64 +2232,19 @@ ../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] -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)); - | ^~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-alloc.c -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)); - | ^~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-command.c -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); +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-zynqmp.h:30: + 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)); | ^~~~~~ -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); - | ^~~~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-alloc.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); @@ -2375,9 +2339,76 @@ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-binary.c +gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-command.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 ../../s/reginit.y:45, + from reginitscanner.h:41, + from ../../s/reginit.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); + | ^~~~~~~~~~~ +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 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); + | ^~~~~~~~ gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-metadata.c +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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-source.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(); @@ -2421,38 +2452,43 @@ /usr/include/openssl/rsa.h:244:37: note: declared here 244 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ -gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xilinx-bootgen-2024.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-overlay.c -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -I. cdo-source.c -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); +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-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); +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::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.h:30: + 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-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); + | ~~~~~~^~~~~~~~~ /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)); | ^~~~~~ @@ -2496,12 +2532,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/532118/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/532118/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/1871447 and its subdirectories -I: Current time: Sun Mar 9 23:59:49 -12 2025 -I: pbuilder-time-stamp: 1741607989 +I: removing directory /srv/workspace/pbuilder/532118 and its subdirectories +I: Current time: Mon Apr 13 08:23:44 +14 2026 +I: pbuilder-time-stamp: 1776018224