2010/9/11 Ruben Van Boxem <[email protected]> > Hi, > > Recently I started messing around with GCC and attempted to build it many > times. I first had lots of trouble with the 4.5 snapshots, but have now > moved to 4.6 and all seems well. I put all the instructions in a single file > (not quite a script, but almost, if you're willing to call a file with > commands a script). > > The goal is to build an optimized GCC for myself and perhaps later (when > I'm confident about the quality of it) I can upload it to Sourceforge. > > The commands are loosely based on makebuildroot.sh from mingw-w64 svn. For > now no multilib, but I have enabled lto and whole-program optimization, > along with -mtune=core2 for all parts of the process. > > I do have some specific questions though: > 1. Is there still an installation and/or other issue with multilib and GCC > 4.6 or is that all fixed now? > 2. Would -fomit-frame-pointer help optimization? > 3. Is it smart to enable 4.5's lto to a 4.6 source, or should I first get a > 4.6 GCC built without it? > > Thanks! > > Ruben >
I've run into a rather crappy problem: Creating library file: ./shlib/libgcc_s.a.tmp > lto1.exe: internal compiler error: bytecode stream: trying to read 0 bytes > after the end of the input buffer > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. > lto-wrapper: M:\Development\msys\home\Ruben\mingw64\build\gcc\gcc\xgcc.exe > returned 1 exit status > collect2: lto-wrapper returned 1 exit status > make[3]: *** [libgcc_s.dll] Error 1 > I think this is the bootstrapped compiler trying to compile libgcc with lto failing (right?). I'll try disabling the lto in stage1 and see what that gives. Ruben
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
