As everyone tried to emerge gnat, I have the following error:
- Code: Select all
checking whether the C compiler (/var/tmp/portage/dev-lang/gnat-gpl-4.1.3.2007/work/usr/bin/gnatgcc -Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32 -L/var/tmp/portage/dev-lang/gnat-gpl-4.1.3.2007/work/usr/lib/gnatgcc/i586-pc-linux-gnu/4.1) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*
* ERROR: dev-lang/gnat-gpl-4.1.3.2007 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called gnatbuild_src_compile
* gnatbuild.eclass, line 371: Called gnatbuild_src_compile 'all'
* gnatbuild.eclass, line 377: Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap' 'gnatlib_and_tools' 'gnatlib-shared'
* gnatbuild.eclass, line 454: Called die
*
* configure failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-lang/gnat-gpl-4.1.3.2007/temp/build.log'.
*
* Messages for package dev-lang/gnat-gpl-4.1.3.2007:
* Fallback PaX marking -E
* /var/tmp/portage/dev-lang/gnat-gpl-4.1.3.2007/work/usr/bin/gnat1
*
* ERROR: dev-lang/gnat-gpl-4.1.3.2007 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called gnatbuild_src_compile
* gnatbuild.eclass, line 371: Called gnatbuild_src_compile 'all'
* gnatbuild.eclass, line 377: Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap' 'gnatlib_and_tools' 'gnatlib-shared'
* gnatbuild.eclass, line 454: Called die
*
* configure failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-lang/gnat-gpl-4.1.3.2007/temp/build.log'.
*
I did an emerge --sync and emerge the last version of gcc without any problem..
Any idee, thanks in advance for your help

