Summary: | x11-drivers/linuxwacom-0.8.2 doesn't compile with gcc-4.3.2 and -combine | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Bezrukov <phmagic> |
Component: | [OLD] Unspecified | Assignee: | Robert Buchholz (RETIRED) <rbu> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | ikelos, x11-drivers |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | A quick patch which removes '-combine` from CFLAGS at dependency generation stage |
Description
Alexander Bezrukov
2009-04-10 23:34:01 UTC
Alexander, the best advice is to simply not use this flag (see bug 149210 for precedence). There's unlikely to be a fix for it anytime soon (although upstream will accept patches if you make your case for them)... Also, please try to provide accurate output in "emerge --info", the info you provided doesn't feature the combine flag anywhere. We can't help you if you don't give us accurate information of the build environment where you're experiencing the problem. Mike, sorry, this was my fault that I supplied the incorrect emerge --info. The one I supplied is a result of temporarily removing '-combine' from CFLAGS in order to see if this option is the cause of the failure, otherwise it is correct. It would be pity if users are not given this choice with Gentoo (Gentoo is all about choice, right?). I mean that this particular flag does a very right thing allowing inter procedural analysis beyond translation unit boundaries yet doesn't do anything which changes semantics (as opposed to aggressive optimization options which violate the 14882 and 9899 stds). Of course this all holds if this option does what is documented and I haven't done any thorough testing. This particular issue is because this option shouldn't be given at dependency generation phase. I will try to look into and prepare a quick patch. Perhaps a more consistent way would be to filter out this option at dependency generation but allow it at the compilation stage. But I know very little about portage and given the variety of packages and ways these are built I don't know how feasible it is. Created attachment 188871 [details, diff]
A quick patch which removes '-combine` from CFLAGS at dependency generation stage
This patch is not of much worth but can save someone's frustration with failed build.
|