Summary: | x11-misc/fireflies fails to emerge with: checking for C compiler default output... configure: error: C compiler cannot create executables | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Mansfield <mansfieldj> |
Component: | Current packages | Assignee: | Desktop Misc. Team <desktop-misc> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Doh! I realize now I should have posted my C/CPPFLAGS: CXXFLAGS="${CFLAGS}" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -finline-functions -finline-limit=200 -fmerge-all-constants -ffast-math -ftracer" you must be kidding. 1. removing all cflags isn't the way to go 2. your cflags are supposed to not work. |
Attempting to emerge fireflies, I get the following: [snip] config.status: creating fireflies.spec config.status: creating config.h gunzip -c libgfx-1.0.1.tar.gz | tar x cd libgfx && ./configure && cd src && make checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables make: *** [libgfx/src/libgfx.a] Error 77 [snip] Reproducible: Always Steps to Reproduce: 1. emerge -v fireflies Actual Results: listed in details Expected Results: Emerge fireflies I've made an alchemical fix by editing the ebuild: 47d46 < CPPFLAGS="$CPPFLAGS ${mycppflags}" \ 48a48,49 > # CPPFLAGS="$CPPFLAGS ${mycppflags}" \ > # || die and it emerges fine.