Blarg. Gcc.

I kept having a horrible error building collectd 4.10.x on my Source Mage servers:

libiptc.c:85: error: redefinition of ‘struct xt_error_target’

The internets couldn’t really help me with the error, I think I was searching for the wrong words. There was also issues regarding warnings that gcc now treats as errors.

I ended up spending probably about an hour cloning their git repo, cherry-picking a few commits into the 4.10.3 tag, and then submitting the patches to the bug I created.

End result is that collectd-4.10.3 now builds on gcc 4.4.3 and 4.6.1. The fix is in the Grimoire on Source Mage, and should trickle out to stable eventually. I think I’m the only one who uses collectd, so it’s not all that important, heh.

 

Finally!

From the official page:

The Xen 4.0 release contains a number of important new features and updates including:

  • Blktap2 – High performance VHD implementation supporting snaphots and clonces including live snapshots
  • Netchannel2 – Support for new Smart NICs with multi-queue and SR-IOV functionality
  • Fault Tolerance – Live transactional synchronization of VM state between physical servers
  • Libxenlight – New library providing higher-level control of Xen between various toolstacks
  • PV-USB and VGA Pass-through

SourceMage has already updated packages for it.

There’s a repository and src RPMs available for Fedora here. Specifically the Xen 4.0 src RPM. I’ll try to remember to fire up a build on my xen DomU that I use to build RPMs for me :)

 

http://shlrm.org/xenstats/ (original scripts here)

Now you can view the stats on who’s doing the most work in my Xen hosts. Yay.

It explodes if there’s a halted vm. It’s not built to handle the new xen 3.0 lifestyle of things. I guess I’ll be learning myself some python. Or I’ll translate it all to bash ;) I could probably do it in bash. Not that python isn’t used for everything in xen anyway. Okay, now I’m rambling.

© 2011 Shlrm.org Blag Suffusion theme by Sayontan Sinha