Summary: | media-libs/netpbm-10.61.00 partially ignores CC flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <horhe> |
Component: | [OLD] Library | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: |
build.log
environment |
Description
Marcin Mirosław
2013-01-07 09:41:49 UTC
Created attachment 334722 [details]
environment
please do a bit more analysis besides `grep gcc`. those things are building host tools (BUILD_CC), not target tools. I'm not sure what kind of analysis you are expecting from me? I just only wanted to compile media-libs/netpbm using clang. I added to CFLAGS "-Oz" which isn't supported by gcc and noticed that gcc is invoked instead clang. Next I changed "-Oz" to "-O4" and started emerging once again. And I can see that sometimes gcc is invoked and sometimes clang (as you can see in build.log). (In reply to comment #3) like i said, doing `CC=clang emerge foo` and seeing gcc being run does *not* mean there is a bug. you must look at *how* gcc is being invoked. in this case, it's because of $BUILD_CC, not $CC, being used to generate *build time* tools. those tools are not installed. |