From: Day, J. <jc...@ma...> - 2012-09-30 15:18:38
|
Hi, I've been looking to add serialization to my project via boost's serialization library. This was working for a time, but as I added serialization capabilities to more and more classes, I eventually hit a wall, and could not compile my project anymore: c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/as.exe: obj\Debug\engine\serialization\source\TemplateSerialization.o: too many sections (37616) C:\Users\Julian\AppData\Local\Temp\ccWiA9Ih.s: Assembler messages: C:\Users\Julian\AppData\Local\Temp\ccWiA9Ih.s: Fatal error: can't write obj\Debug\engine\serialization\source\TemplateSerialization.o: File too big c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/as.exe: obj\Debug\engine\serialization\source\TemplateSerialization.o: too many sections (37616) C:\Users\Julian\AppData\Local\Temp\ccWiA9Ih.s: Fatal error: can't close obj\Debug\engine\serialization\source\TemplateSerialization.o: File too big Process terminated with status 1 (5 minutes, 28 seconds) 0 errors, 0 warnings Has anyone had this sort of error before? I do have a lot of types of objects that need to be serialized (a few hundred classes, anyway), but it seems like the build system should be able to handle the code generated in this sort of situation. Is there something I'm likely doing wrong? Thanks, Julian |