https://sourceware.org/bugzilla/show_bug.cgi?id=23906
--- Comment #29 from David Ledger <davidledger at live dot com.au> --- I just realised there was a flag: “CP_DYNAMIC_ARRAYS” In the cp-demangle.c source file in question. When this flag isn’t present the demangler allocates with alloc. I don’t really know how to integrate this into my compiler... Can I pass that as a compiler flag or something... Or do I need to recompile GCC entirely after deleting the flag? [cid:image001.png@01D448F4.339F3940] David Ledger - Electronics Design Engineer www.eevblog.com<http://www.eevblog.com> Skype: david.j.ledger ________________________________ From: tnfchris at sourceware dot org <sourceware-bugzi...@sourceware.org> Sent: Friday, December 14, 2018 10:01:32 PM To: davidled...@live.com.au Subject: [Bug ld/23906] LD Bug : Undocumented exit status 253 https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceware.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D23906&data=02%7C01%7C%7C9ad3aa2986c3400b1f8308d661b38527%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636803820988634130&sdata=YbDk3oOCYPAF9ACnvBU0yXaz5AuOf%2FvmxOSuxXJxUt4%3D&reserved=0 --- Comment #28 from Tamar Christina <tnfchris at sourceware dot org> --- No, it's the only thing I changed. ---- /d/t/t/p/usupply-firmware> ulimit -a | grep "\-s" Maximum stack size (kB, -s) 8192 /d/t/t/p/usupply-firmware> make clean; and make -j48 [ 2%] Building .... [100%] Linking CXX executable STM32F072.elf collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. make[2]: *** [STM32F072.elf] Error 1 make[2]: *** Deleting file 'STM32F072.elf' CMakeFiles/STM32F072.elf.dir/build.make:653: recipe for target 'STM32F072.elf' failed make[1]: *** [CMakeFiles/STM32F072.elf.dir/all] Error 2 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/STM32F072.elf.dir/all' failed make: *** [all] Error 2 Makefile:83: recipe for target 'all' failed /d/t/t/p/usupply-firmware> ulimit -s unlimited /d/t/t/p/usupply-firmware> ulimit -a | grep "\-s" Fri 10:47 Maximum stack size (kB, -s) unlimited /d/t/t/p/usupply-firmware> make [ 2%] Linking CXX executable STM32F072.elf [100%] Built target STM32F072.elf text data bss dec hex filename 38248 400 6440 45088 b020 STM32F072.elf [100%] Built target size ---- It would fail if you don't have enough free memory to back it though. -- You are receiving this mail because: You reported the bug. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils