libgo patch committed: Fix for changes to <sys/resource.h>

Ian Lance Taylor iant@google.com
Tue Jun 5 05:33:00 GMT 2012


Recently the version of <sys/resource.h> in glibc changed to pick up
some anonymous unions:

http://sourceware.org/git/?p=glibc.git;a=blobdiff;f=sysdeps/unix/sysv/linux/bits/resource.h;h=62cb257410cb294799eddf83602fdd8de30f772f;hp=be852e52472e8f3cd721cc0201a275fcbea89558;hb=5e1a27a96de16ad0cd67a81e25741790b32e2c25;hpb=46259beccca5f4b3a6c64a1b84b2c09f079eb3ae

Frankly I think it would have been better to simply add padding.  But
since the change was made, I have committed this patch to change
mksysinfo to work with it.  This patch is not fully tested, as I am not
running the develoment version of glibc, but it appears to work in
limited testing.  Bootstrapped and committed on x86_64-unknown-linux-gnu
running eglibc 2.11.1.  Committed to mainline and 4.7 branch.

Ian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 564 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120605/c3708369/attachment.bin>


More information about the Gcc-patches mailing list