But with all those versiosn the issue still happens.
In addition I ran make clean, did a reconfigure with the same arguments and built again - still the same in schroot breaks missing the sizeof while in the VM it works.
P.S. for later tests I went back to the latest version in Bionic
It also was found that the compiler versions changed: 18.04.1 18.04
good build 7.4.0-1ubuntu1~
bad build 7.5.0-3ubuntu1~
Since it is easier available I first tried the one in 18.04-release.
v="7.3. 0-16ubuntu3" ; 3.0-3ubuntu2" ;
v2="4:7.
apt install cpp-7=$v g++-7=$v gcc-7=$v gcc-7-base=$v libasan4=$v libcilkrts5=$v libgcc-7-dev=$v libstdc++-7-dev=$v libubsan0=$v cpp=$v2 g++=$v2 gcc=$v2
I further tried gcc-8 8.4.0-1ubuntu1~ 18.04
But with all those versiosn the issue still happens.
In addition I ran make clean, did a reconfigure with the same arguments and built again - still the same in schroot breaks missing the sizeof while in the VM it works.
P.S. for later tests I went back to the latest version in Bionic