https://sourceware.org/bugzilla/show_bug.cgi?id=23906
--- Comment #24 from David Ledger <davidledger at live dot com.au> --- Should I raise the bug with them or does your team do that? David Ledger - Electronics Design Engineer Skype: david.j.ledger ________________________________ From: tnfchris at sourceware dot org <sourceware-bugzi...@sourceware.org> Sent: Thursday, December 13, 2018 9:17:10 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%7Cc4d42d5362ab4c12938108d660e42791%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636802930366926937&sdata=xPnBO8%2F%2F44Pa0dnjLrE2mr4XwFPeHw44Va8wIe1mwrE%3D&reserved=0 --- Comment #23 from Tamar Christina <tnfchris at sourceware dot org> --- > Anyway to get it to work within windows, I tried EditBin.exe but it didn’t > work. I set the reserve stack to 512Mb. I suspect the reason that isn't working is that setting the reserve stack just reserves the virtual memory but doesn't change the committed memory, and so the OS only has allocated still the original amount. On windows when the stack is allocated you're not allowed to do it more than a pagesize at a time. Normally applications emit a __chkstk_ms call for this but I can't find any such calls in the ld binary. Ofcourse it is likely the case that I can't find it because the binaries have been fully stripped.. You could try using editbin but also specifying the commit size. This will only work if you actually have enough physical memory to back the requested size. But I believe it should work then too. > How did you get ld. from GCC9 to work for this target? The LD was actually the same, it's the compiler that generated less symbols. But it's not a clean migration as GCC9 no longer allows SP to be clobbered via inline assembly. So I had to comment out some parts of the code. A bug needs to be raised against libiberty in GCC for a proper fix. -- 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