Summary: | setfont (from sys-apps/kbd) says "Input file: trailing garbage" (CFLAGS='--param max-gcse-passes=2') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joël <world.root> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Output of "emerge info"
Output of "strace setfont" run as user |
Description
Joël
2005-01-06 09:34:52 UTC
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 :) |