Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54368 - Coreutils-5.2.1 crashes durning build, saying "checking for C compiler default output file name... configure: error: C compiler cannot create executables"
Summary: Coreutils-5.2.1 crashes durning build, saying "checking for C compiler defaul...
Status: RESOLVED DUPLICATE of bug 49363
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-18 15:56 UTC by David Hipple
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
Here is the config log (config.log,8.50 KB, text/plain)
2004-06-22 14:25 UTC, David Hipple
Details
The Output of 'emerge info' (EmergeInfo.out,1.79 KB, text/plain)
2004-06-22 14:28 UTC, David Hipple
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Hipple 2004-06-18 15:56:07 UTC
When i try do emerge -uD world, it stops on coreutils-5.2.1. nothing else will emerge either all giving errors avout gcc. gcc will not event emerge.

Reproducible: Always
Steps to Reproduce:
1.emerge coreutils
2.
3.

Actual Results:  
>>> md5 src_uri ;-) coreutils-5.2.1.tar.bz2
>>> md5 src_uri ;-) coreutils-5.2.1-gentoo-0.3.tar.bz2
>>> md5 src_uri ;-) coreutils-5.2.1-i18n-0.1.patch.gz
>>> Unpacking source...
>>> Unpacking coreutils-5.2.1.tar.bz2 to /var/tmp/portage/coreutils-5.2.1/work
>>> Unpacking coreutils-5.2.1-gentoo-0.3.tar.bz2 to
/var/tmp/portage/coreutils-5.2.1/work
>>> Unpacking coreutils-5.2.1-i18n-0.1.patch.gz to
/var/tmp/portage/coreutils-5.2.1/work
 * Applying various patches (bugfixes/updates)...
 *   001_all_coreutils-mdk-lug.patch...                                      [ ok ]
 *   002_all_coreutils-mdk-spacedir.patch...                                 [ ok ]
 *   003_all_coreutils-mdk-sparc.patch...                                    [ ok ]
 *   005_all_coreutils-mdk-timestyle.patch...                                [ ok ]
 *   006_all_coreutils-mdk-afs.patch...                                      [ ok ]
 *   007_all_coreutils-mdk-dumbterm.patch...                                 [ ok ]
 *   008_all_coreutils-mdk-glibc22.patch...                                  [ ok ]
 *   009_all_coreutils-mdk-restore-color.patch...                            [ ok ]
 *   011_all_coreutils-mdk-force-option-override-interactive-option.patch..  [ ok ]
 *   012_all_coreutils-mdk-dircolors-c.patch...                              [ ok ]
 *   013_all_coreutils-mdk-ls.c.patch...                                     [ ok ]
 *   014_all_coreutils-mdk-ls.h.patch...                                     [ ok ]
 *   015_all_coreutils-mdk-touch-errno.patch...                              [ ok ]
 *   016_all_coreutils-mdk-utmp.patch...                                     [ ok ]
 *   017_all_coreutils-mdk-mem.patch...                                      [ ok ]
 *   019_all_coreutils-mdk-dateman.patch...                                  [ ok ]
 *   020_all_coreutils-mdk-paths.patch...                                    [ ok ]
 *   021_all_coreutils-mdk-pam.patch...                                      [ ok ]
 *   022_all_coreutils-mdk-rfc822.patch...                                   [ ok ]
 *   023_all_coreutils-mdk-signal.patch...                                   [ ok ]
 *   024_all_coreutils-mdk-allow-old-options.patch...                        [ ok ]
 *   026_all_coreutils-mdk-64bit-fixes.patch...                              [ ok ]
 *   027_all_coreutils-mdk-build-fix.patch...                                [ ok ]
 * Done with patching
 * Applying coreutils-5.2.1-i18n-0.1.patch...                                [ ok ]
 * Applying various patches (bugfixes/updates)...
 *   001_all_coreutils-gen-progress-bar.patch...                             [ ok ]
 *   002_all_coreutils-gen-remove-su_hostname_groups_kill_uptime.patch...    [ ok ]
 *   003_all_coreutils-gentoo-uname.patch...                                 [ ok ]
 *   004_all_coreutils-gen-remove-some-manpages.patch...                     [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates)...
 *   001_all_coreutils-warning-head.c.patch...                               [ ok ]
 *   002_all_coreutils-warning-tail.c.patch...                               [ ok ]
 *   003_all_coreutils-warning-nice.c.patch...                               [ ok ]
 *   004_all_coreutils-warning-userspec.c.patch...                           [ ok ]
 *   005_all_coreutils-warning-seq.c.patch...                                [ ok ]
 *   006_all_coreutils-mbrtowc-join.c-cut.c.patch...                         [ ok ]
 * Done with patching
>>> Source unpacked.
 * Reconfiguring configure scripts (be patient)...                           [ ok ]
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for desired default level of POSIX conformance... none-specified
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.

!!! ERROR: sys-apps/coreutils-5.2.1 failed.
!!! Function econf, Line 365, Exitcode 77
!!! econf failed



Expected Results:  
a complete build
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-18 18:54:58 UTC
can you attach the config.log please?  and also please paste the output of `emerge info`
Comment 2 David Hipple 2004-06-22 14:25:12 UTC
Created attachment 33902 [details]
Here is the config log
Comment 3 David Hipple 2004-06-22 14:28:40 UTC
Created attachment 33906 [details]
The Output of 'emerge info'
Comment 4 solar (RETIRED) gentoo-dev 2004-07-02 15:44:09 UTC
Marking dup as this is another one of the --as-needed bugs.

# The error from the David's config.log

configure:2217: gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer   conftest.c  >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--as-needed'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information

David follow the update instructions on bug #49363
At this point all you really have to do is remerge gcc first

*** This bug has been marked as a duplicate of 49363 ***