Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 54841

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 packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Mansfield 2004-06-22 18:58:51 UTC
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.
Comment 1 Jason Mansfield 2004-06-22 19:00:54 UTC
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"
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2004-07-03 08:04:51 UTC
you must be kidding.

1. removing all cflags isn't the way to go
2. your cflags are supposed to not work.