> It it possible to split the object file? Just move some functions to 
> their own implementation file, and link those together. There might be 
> less automagical inlining, but overall difference in performance 
> should be negligible, and a single object's size should decrease 
> significantly. The linker should be able to cope with GBs of total 
> object size if it's 64-bit and the final output file isn't too big.
I will try to do that, thanks for advice. It is a bit tedious, and many 
templates are declared in headers, so I am not sure how far I will get 
with that.
>
> It seems you are running into a binutils "as" implementation limit.
I think it might be related to the PE+ object format, which probably 
cannot handle more than 2**15 sections (all the errors have numbers like 
38k sections and such)? I've never ever seen this problem in Linux (ELF).

Ok, got it: 
http://waleedassar.blogspot.cz/2012/04/ollydbg-numberofsections-crash.html 
(that mentions 65239 (0xFEFF) however); there is link to MSDN 
(http://msdn.microsoft.com/en-us/windows/hardware/gg463119.aspx) as well.

Cheers, Vaclav


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to