https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #123 from dave.anglin at bell dot net --- On 2020-01-24 10:50 p.m., peter.bisroev at groundlabs dot com wrote: > In the meantime, as per your suggestion, I have used the size tool to check > the > size of the text section, and it was much larger than maxtsiz. By making it > larger, I was successfully able do a 3-stage self bootstrap of 4.7.4 with > 4.7.4 > that was initially compiled with aCC. I did not have to use "-Os" with > STAGE1_CFLAGS. > Excellent. Just for reference, these are the stage1 sizes for cc1 and cc1plus on hpux: gcc-10: -bash-4.4$ /opt/gnu/bin/size cc1 cc1plus text data bss dec hex filename 55224904 5591924 360896 61177724 3a57f7c cc1 61375866 5977916 363928 67717710 4094a4e cc1plus gcc-9: -bash-4.4$ /opt/gnu/bin/size cc1 cc1plus text data bss dec hex filename 43213435 4681964 366408 48261807 2e06aaf cc1 46694968 4986436 369184 52050588 31a3a9c cc1plus On linux, the final -O2 file sizes are about 17M. The ia64 linux sizes are about 35M. Don't know why ia64 sizes are huge.