systems-nuts / unifico

Compiler and build harness for heterogeneous-ISA binaries with the same stack layout.
3 stars 1 forks source link

`mg-inter-umaddl` test breaks for -O0 #293

Open blackgeorge-boom opened 10 months ago

blackgeorge-boom commented 10 months ago
make clean; make stackmaps-check -j10 OBJDUMP_FLAGS= OPT_LEVEL=-O0

 [STACKMAPS CHECK] Checking stackmaps for main_aarch64_aligned.out main_x86_64_aligned.out
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/home/blackgeorge/Documents/phd/unified_abi/stack-metadata'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/blackgeorge/Documents/phd/unified_abi/stack-metadata'
WARNING: interp: callsite 0, value locations 5/5 have different location type (1 vs. 3)
WARNING: interp: callsite 0, value locations 5/5 have different location offset or  different constant (0 vs. -104)
WARNING: interp: callsite 0, value locations 6/6 have different location type (3 vs. 1)
WARNING: interp: callsite 0, value locations 6/6 have different location offset or  different constant (-104 vs. 0)
WARNING: interp: callsite 0, value locations 7/7 have different location type (1 vs. 3)
WARNING: interp: callsite 0, value locations 7/7 have different location offset or  different constant (0 vs. -112)
WARNING: interp: callsite 0, value locations 8/8 have different location type (3 vs. 1)
WARNING: interp: callsite 0, value locations 8/8 have different location offset or  different constant (-112 vs. 0)
ERROR: stackmaps in 'main_aarch64_aligned.out' & 'main_x86_64_aligned.out' differ - different stack layout!
make: *** [../../common/common.mk:248: stackmaps-check] Error 1

This is not super urgent now as it works for -O1, but we need to fix this soon.