Created attachment 51526 [details] error log stddef.h is missing. do not know what's wrong with the build script of libssp
libc is newlib-cygwin
How did you configure and invoke make? Was newlib installed already or you building a combined tree?
Created attachment 51527 [details] config file
(In reply to Andrew Pinski from comment #2) > How did you configure and invoke make? > Was newlib installed already or you building a combined tree? of course it is installed. no it is completely separate. Even libstdc++ was successfully built. if I remembered correctly I saw that issue months ago with picolibc too.
Can you attach the config.log from the libssp directory?
Created attachment 51528 [details] libssp configs configs
configure:3409: /home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/xgcc -B/home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/ -B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/bin/ -B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/lib/ -isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include -isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/sys-include -o conftest -g -O2 conftest.c >&5 conftest.c:11:10: fatal error: stdio.h: No such file or directory 11 | #include <stdio.h> | ^~~~~~~~~ Well the newly build compiler is not finding the headers. This looks wrong: -isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include How did you config/build newlib? and is the directory "/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include" or "/home/cqwrteur/cross/arm-none-eabi/include"
arm/arm Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________ From: pinskia at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org> Sent: Friday, October 1, 2021 2:12:28 AM To: unlvsur@live.com <unlvsur@live.com> Subject: [Bug other/102550] libssp cannot find size_t. they do not include stddef.h https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D102550&data=04%7C01%7C%7Cc0f0d6306be849f87f0f08d984a272c0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637686655521708926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OoJExyZ2%2BKftCJf3JlWzH4gop15tPeFac7vc3MLpxJ4%3D&reserved=0 --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- configure:3409: /home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/xgcc -B/home/cqwrteur/myhome/arm_build/cross/gcc/./gcc/ -B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/bin/ -B/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/lib/ -isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include -isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/sys-include -o conftest -g -O2 conftest.c >&5 conftest.c:11:10: fatal error: stdio.h: No such file or directory 11 | #include <stdio.h> | ^~~~~~~~~ Well the newly build compiler is not finding the headers. This looks wrong: -isystem /home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include How did you config/build newlib? and is the directory "/home/cqwrteur/cross/arm-none-eabi/arm-none-eabi/include" or "/home/cqwrteur/cross/arm-none-eabi/include" -- You are receiving this mail because: You reported the bug. You are on the CC list for the bug.
Never supplied full configure line for either GCC nor newlib in over a year so closing.