Version 5 (April 1, 2014): * Support RDRAND capable systems that don't have AES-NI * Man page spelling fixes * Add BUGS document * Don't use fixed AES key for data reduction * Platform: Support x32. x86-64 micro-optimizations. * Fix RDRAND data reduction * Enable RDSEED instruction
This patch does not apply anymore, but seems to be unfixed in version 5. fix-textrels-on-PIC-x86.patch
Created attachment 387000 [details, diff] Patch to port the
Created attachment 387002 [details, diff] Patch to port the PIC fixes Sorry for previous mess up, resending patch
Created attachment 387004 [details, diff] Patch to port the PIC fixes Okay previous patch had broken code, that's what you get when you code this late. Blueness, if you can test the patch as you did with the one for version 4 it'd be nice though this should work (only significant change is that I keep the ebx register as recommended by the ELF ABI).
(In reply to Francisco Blas Izquierdo Riera from comment #4) > Created attachment 387004 [details, diff] [details, diff] > Patch to port the PIC fixes > > Okay previous patch had broken code, that's what you get when you code this > late. > > Blueness, if you can test the patch as you did with the one for version 4 > it'd be nice though this should work (only significant change is that I keep > the ebx register as recommended by the ELF ABI). This patch is no applying cleanly. I just bumped rng-tools-4-r7.ebuild to -5- removed the old textrel patch and then tried to apply this one. No good. Can you provide both patch and ebuild just in case I'm doing this wrong.
Created attachment 387140 [details, diff] Patch to port the PIC fixes I messed up with the white spaces when creating the new patch, sorry. I have added an ebuild to my overlay including the fixed patch git://git.overlays.gentoo.org/user/klondike.git
(In reply to Francisco Blas Izquierdo Riera from comment #6) since the section name has changed, you no longer need to '#undef i686'
Created attachment 387142 [details, diff] Patch to port the PIC fixes v4 (In reply to SpanKY from comment #7) > (In reply to Francisco Blas Izquierdo Riera from comment #6) > > since the section name has changed, you no longer need to '#undef i686' True, I should also update the PIC fixing guide on the wiki as the method used by newer versions of gcc has changed (it may use %ecx at times too, the reason why this isn't done here is I wanted something cleaner :) since some of their pointer handling is a bit messy). Added new patch and updated the overlay.
(In reply to Francisco Blas Izquierdo Riera from comment #8) > Created attachment 387142 [details, diff] [details, diff] > Patch to port the PIC fixes v4 > > (In reply to SpanKY from comment #7) > > (In reply to Francisco Blas Izquierdo Riera from comment #6) > > > > since the section name has changed, you no longer need to '#undef i686' > > True, I should also update the PIC fixing guide on the wiki as the method > used by newer versions of gcc has changed (it may use %ecx at times too, the > reason why this isn't done here is I wanted something cleaner :) since some > of their pointer handling is a bit messy). Added new patch and updated the > overlay. This works. I did a run test and used randstat to check that it stays above the water mark.
Created attachment 387158 [details, diff] Patch to port the PIC fixes v5 Thanks blueness, I added it as tested by you :)
I have mailed this to Jeff and Henrique in the hope it gets merged, we'll see what they have to say :)
Jeff told me he isn't maintaining the package anymore and told me who to forward the patch to instead. I have done so, I'll come back once HPA or Ricardo Neri answer back.
*rng-tools-5 (18 Nov 2014) 18 Nov 2014; Manuel Rüger <mrueg@gentoo.org> +files/rng-tools-5-fix-textrels-on-PIC-x86.patch, +rng-tools-5.ebuild, -files/2/rngd, -files/2/rngd-conf, -files/rngd-confd-3, -files/rngd-confd-4, -files/rngd-initd-3, -files/rngd-initd-4, -rng-tools-2-r1.ebuild, -rng-tools-3-r1.ebuild, -rng-tools-3.ebuild, -rng-tools-4-r1.ebuild, -rng-tools-4-r5.ebuild, -rng-tools-4-r6.ebuild: Version bump. Thanks to klondike for updating the textrel patch. Fixes bug #518210. Cleanup old.