Quote:
|
Originally Posted by teilo
I can confirm that GCC 4.1.1 will not compile on a Link3. Same out of memory issues that were reported in the FP. I built a binary package for it (-march=pentium4) on one of my dedicated servers. That worked fine.
|
I strongly caution against using
-march here. If VPSLink ever migrates your virtual server to a physical server with different arch optimizations (opteron for example), it's possible that GCC will generate broken code and that can bite you in myriad ugly ways. I recommend using
-mtune=pentium4 instead. This will give you similar optimizations but it won't tie GCC to that arch and will gracefully fall back to unoptimized i386 compilation if those optimizations aren't available.
This obviously costs a little in performance compared to
-march, but that's better than facing significant downtime to re-compile everything installed on your server.