Roy's Blog

A Hacker's musings on Code | Tech | Life

He's my hero!OK, so I hosed my laptops root (don't ask how - ok, I was trying to be overly clever with /dev nodes in a very experimental baselayout ebuild) so I thought, well, as my entire config has gone may as well wipe everything except for /home and start over. So I unpacked a stage 3, rebuilt my toolchain with the nice --as-needed LDFLAG and emerged system. Nice! Nothing needed unstable keywords bar binutils, glibc and gcc :)So why is Flameeyes my hero? Read on .....xorg-7.0 then built nicely and I thought that all my --as-needed issues where over, but things went horribly wrong when it got to kdelibs-3.5.3. Which was very odd as it built fine with the same toolchain and flags before. What as really odd is that it couldn't find a library that it was building itself! That had me stumped.Luckily, Flameeyes blogs about nearly every aspect he fixes, and it was his blog post about --as-needed that told me that binutils needed a patch as it wasn't checking the search path given to it. So Flameeyes is my hero for blogging about up and comming fixes - with patches too! :DWell, he said the patch was in his overlay, but I couldn't find it. However, it is archived in an email here and a simple copy & paste and voila - one patch :)Anyways, hopefully my laptop will be working for me by the end of today .....

Continue reading...