Calling "setfont" on my machine, as user, without any argument produces: setfont: Input file: trailing garbage This has been happenening for a few days, and I don't know what might be the cause (maybe my fault too !!) The error also happens at boot when setting my lat9w-14 font specified in rc.conf. I've attached a strace and the output of my emerge info, in case someone wants to look :-) Thanks
Created attachment 47770 [details] Output of "emerge info"
Created attachment 47771 [details] Output of "strace setfont" run as user
what version of baselayout ? what version of kbd ? if you run `setfont lat9w-14` on the console, does it work ? if you re-emerge kbd, does it still break ? has this only started happening since you upgraded to a newer kernel ?
Thanks for your answer ! No, when I try to do "setfont lat9w-14", it displays the same error message. I have baselayout-1.11.8 and kbd-1.12-r3. But I think I just found the cause: it's in the CFLAGS. If I rebuild 'kbd' with just "-O2 --param max-gcse-passes=2" it produces a nonworking 'setfont'. If I remove the '--param max-gcse-passes=2' and I rebuild 'kbd', it works. Now, I've been using this 'max-gcse-passes' parameter because it improved the speed on some loops (in my programs), but I'm not sure whether it's really supposed to be stable or not. Anyway, I'm using gcc-3.4.3-r1. I could test with other gcc and/or kbd versions if needed. Do you think this could be worth mentioning for the gcc people ?
if there's a bug to be filed, i'd ask you to do it (since you can easily reproduce on your system :]) at any rate, we dont track '--param' CFLAGS in Gentoo; it's up to the user to fix those kind of bugs if you do file a bug, please post the URL here so we can keep track of it :)