We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build with:
ROOTFS_DIR=`pwd`/.tools/rootfs/x86 ./build.sh --cross --clang9 --arch x86 --configuration Release --subset clr.runtime+clr.corelib+clr.nativecorelib
Output:
In file included from /home/z/Dev/runtime/src/coreclr/src/md/compiler/verifylayouts.cpp:13: In file included from /home/z/Dev/runtime/src/coreclr/src/md/inc/verifylayouts.h:176: /home/z/Dev/runtime/src/coreclr/src/md/inc/VerifyLayouts.inc:158:1: error: static_assert failed due to requirement 'offset_of_field_after_CLiteWeightStgdbRW_m_pStgIO == (((__builtin_offsetof(CLiteWeightStgdbRW, m_pStgIO) + sizeof(void *)) + (alignment_of_field_after_CLiteWeightStgdbRW_m_pStgIO) - 1) & ~((alignment_of_field_after_CLiteWeightStgdbRW_m_pStgIO) - 1))' "offset_of_field_after_CLiteWeightStgdbRW_m_pStgIO == ALIGN_UP(offsetof(CLiteWeightStgdbRW, m_pStgIO) + sizeof(void*), alignment_of_field_after_CLiteWeightStgdbRW_m_pStgIO)" FIELD(CLiteWeightStgdbRW, m_pStgIO, sizeof(void*)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/z/Dev/runtime/src/coreclr/src/md/inc/verifylayouts.h:115:47: note: expanded from macro 'FIELD' #define FIELD(typeName, fieldName, fieldSize) ALIGN_FIELD(typeName, fieldName, fieldSize, fieldSize) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/z/Dev/runtime/src/coreclr/src/md/inc/verifylayouts.h:169:5: note: expanded from macro 'ALIGN_FIELD' static_assert_no_msg(offset_of_field_after_##typeName##_##fieldName == \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/z/Dev/runtime/src/coreclr/src/inc/static_assert.h:24:38: note: expanded from macro 'static_assert_no_msg' #define static_assert_no_msg( cond ) static_assert( cond, #cond ) ^ ~~~~ [ 24%] Building CXX object src/pal/src/eventprovider/lttngprovider/CMakeFiles/eventprovider.dir/lttng/eventprovdotnetruntimestress.cpp.o In file included from /home/z/Dev/runtime/src/coreclr/src/md/compiler/verifylayouts.cpp:13: In file included from /home/z/Dev/runtime/src/coreclr/src/md/inc/verifylayouts.h:176: /home/z/Dev/runtime/src/coreclr/src/md/inc/VerifyLayouts.inc:320:1: error: static_assert failed due to requirement 'expected_offset_of_first_field_in_CMiniMdBase == actual_offset_of_first_field_in_CMiniMdBase' "expected_offset_of_first_field_in_CMiniMdBase == actual_offset_of_first_field_in_CMiniMdBase" BEGIN_TYPE(CMiniMdBase, 8) //vtable ptr and first field 8-byte alignment ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/z/Dev/runtime/src/coreclr/src/md/inc/verifylayouts.h:164:5: note: expanded from macro 'BEGIN_TYPE' static_assert_no_msg(expected_offset_of_first_field_in_##typeName == actual_offset_of_first_field_in_##typeName); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/z/Dev/runtime/src/coreclr/src/inc/static_assert.h:24:38: note: expanded from macro 'static_assert_no_msg' #define static_assert_no_msg( cond ) static_assert( cond, #cond ) ^ ~~~~ 2 errors generated.
Related changes: #37702
cc @alpencolt
The text was updated successfully, but these errors were encountered:
This was fixed by #50836
Sorry, something went wrong.
No branches or pull requests
Build with:
ROOTFS_DIR=`pwd`/.tools/rootfs/x86 ./build.sh --cross --clang9 --arch x86 --configuration Release --subset clr.runtime+clr.corelib+clr.nativecorelib
Output:
Related changes: #37702
cc @alpencolt
The text was updated successfully, but these errors were encountered: