Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14821 - static keyword not working for binutils-2.13.90.0.18.ebuild
Summary: static keyword not working for binutils-2.13.90.0.18.ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 22:32 UTC by Derek Dolney
Modified: 2004-09-23 18:46 UTC (History)
1 user (show)

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 Derek Dolney 2003-01-30 22:32:55 UTC
Just for fun, I tried to recompile binutils-2.13.90.0.18.ebuild after turning on
the static keyword. The build dies eventually when it tries to pass the option
"-all-static" to gcc:

checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=athlon-tbird -O3  -pipe -all-static)
works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make: *** [configure-binutils] Error 1

!!! ERROR: sys-devel/binutils-2.13.90.0.18 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! (no error message)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-03 14:37:18 UTC
Yep, -all-static is not valid for gcc3.  Static support in binutils dont work
anyhow, so ill rip it when I get the time.
Comment 2 Derek Dolney 2003-02-03 14:44:33 UTC
I tried binutils-2.13.90.0.16-r1 with the static use variable, and it compiles fine. I did not figure out what the configure scripts are doing differently with LDFLAGS, though.

Derek
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-03 17:53:11 UTC
Prob do not use LDFLAGS in internal ./configure's as it does in .18.  Anyhow,
even though it does compile, you still do not get statically linked binaries ...
Comment 4 solar (RETIRED) gentoo-dev 2004-02-28 10:52:02 UTC
Martin,
Is this a blocker for getting .8-r1 to stable?
Comment 5 Alexander Gabert (RETIRED) gentoo-dev 2004-09-23 18:46:34 UTC
one and a half year is enough.

Either the problem became imminent or disappeared.

Apparently it did not become imminent, otherwise the bug would have been treated with more attention.

Sincerely,

Alex