Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54841 - x11-misc/fireflies fails to emerge with: checking for C compiler default output... configure: error: C compiler cannot create executables
Summary: x11-misc/fireflies fails to emerge with: checking for C compiler default outp...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 18:58 UTC by Jason Mansfield
Modified: 2004-07-03 08:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.