Acknowledged
Created: May 17, 2021
Updated: May 25, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Build & Config, Userspace
Get the same sizeof* settings for 32 and 64 bit site-config. It's not correct.
This is specific to 32-bit Multilib SDK, not regular 32-bit SDK.
$ cat site-config-corei7-32-wrsmllib32-linux | grep sizeof
ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
ac_cv_sizeof__int64=${ac_cv_sizeof__int64=0}
ac_cv_sizeof_long=${ac_cv_sizeof_long=8}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=8}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=8}
ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4}
ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4}
ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=40}
glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=8}
glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=8}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=8}
$cat site-config-corei7-32-wrsmllib32-linux | grep sizeof >32
$cat site-config-corei7-64-wrs-linux | grep sizeof >64
$diff 32 64
0
1. Create project
../setup.sh --machines=intel-x86-64 --dl-layers --distros=wrlinux
2. Build project
$echo EXTRA_IMAGE_FEATURES += \" eclipse-debug tools-debug tools-profile\" >> conf/local.conf
$bitbake wrlinux-image-glibc-std
$ bitbake wrlinux-image-glibc-std -c populate_sdk
Extract sdk and check the site-config files