The message you quoted only indicates that glibc failed at the compile stage.
There must be more errors in the preceding output. Look into
build_<your_target_board_name>/tmp/log/ to identify the root cause. bitbake
normally tells you which exactly log file to look at for errors.
There are no known problems with glibc in BSP 28.0. It is a fundamental
package everything in the target userspace depends on. Any problem with it
would have been noticed and fixed long ago.
If you are just trying to build in a default configuration and with no code
changes, make sure you are building on a supported Linux host distribution.
Check the output of host-prepare.sh script to ensure your host is ready to
build the BSP. If that script completes with no errors, try 'bitbake -c
cleanall glibc' followed by 'bitbake -c build glibc'. If nothing helps, remove
all BSP files and directories and install everything anew.
Note that the BSP 28.0 is obsolete. Consider moving to the most recent BSP 30.0
Use Automotive Package Manager to download it.
Best Regards,
Platon