virtual/ada

Привет всем, решил поставить ada и столкнулся с такой проблемой

 cannot create executables
See `config.log' for more details.
 *
 * ERROR: dev-lang/gnat-gcc-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3779:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *             environment, line 2667:  Called die
 * The specific snippet of code:
 *                       CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" "${S}"/configure --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${INCLUDEPATH} --libdir="${LIBPATH}" --libexecdir="${LIBEXECPATH}" --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --program-prefix=gnat --enable-languages="c,ada" --with-gcc --enable-threads=posix --enable-shared --with-system-zlib ${confgcc} || die "configure failed"
 *  The die message:
 *   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-gcc-4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.2/temp/environment'.
 *

>>> Failed to emerge dev-lang/gnat-gcc-4.3.2, Log file:

>>>  '/var/tmp/portage/dev-lang/gnat-gcc-4.3.2/temp/build.log'

 * Messages for package dev-lang/gnat-gcc-4.3.2:

 * Fallback PaX marking -E
 *      /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/usr/bin/gnat1
 *
 * ERROR: dev-lang/gnat-gcc-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3779:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *             environment, line 2667:  Called die
 * The specific snippet of code:
 *                       CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" "${S}"/configure --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${INCLUDEPATH} --libdir="${LIBPATH}" --libexecdir="${LIBEXECPATH}" --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --program-prefix=gnat --enable-languages="c,ada" --with-gcc --enable-threads=posix --enable-shared --with-system-zlib ${confgcc} || die "configure failed"
 *  The die message:
 *   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-gcc-4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.2/temp/environment'.
 *

А gcc -v

Используются внутренние спецификации.
Целевая архитектура: i686-pc-linux-gnu
Параметры конфигурации: /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 p1.6, pie-10.1.5'
Модель многопотоковости: posix
gcc версия 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5)

В чем может быть проблема?

.

fearuth написал(а):
В чем может быть проблема?

Последовательность сборки и/или конфигурация USE-флагов.

app-admin/eselect-gnat отработал?
Ещё я бы подумал на предмет глобального выставления флага ada.

:wq
--
Live free or die

По поводу eselect-gnat, не

По поводу eselect-gnat, не отробатывал. В make.conf USE="... ada ..." ставил.

Запускал emerge -av virtual/ada

.

Первая строка у вас напоминает
FAQ -> Устранение возникших проблем -> "Попытка ... compiler cannot create executables"
если можно, покажите хотя бы парочку строк ПЕРЕД "cannot create executables"

Это подпись, которую невозможно истолковать неправильно

Установить не может 2

Установить не может 2 пакета:

Calculating dependencies... done!
[ebuild  N    ] dev-lang/gnat-gcc-4.3.2  USE="nls" 0 kB
[ebuild  N    ] virtual/ada-2005  0 kB

А строчки выше это:

* gcc-core-4.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                            [ ok ]
 * gnatboot-4.1-i386.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                         [ ok ]
 * gcc-ada-4.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-core-4.3.2.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work
>>> Unpacking gnatboot-4.1-i386.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work
>>> Unpacking gcc-ada-4.3.2.tar.bz2 to /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work
 * Fallback PaX marking -E
 *      /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/usr/bin/gnat1
 TYPE    PAX   FILE
ET_EXEC ---xE- /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/usr/bin/gnat1
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed fixincludes/configure
 *  - fixed gcc/configure
 *  - fixed gnattools/configure
 *  - fixed intl/configure
 *  - fixed libada/configure
 *  - fixed libcpp/configure
 *  - fixed libdecnumber/configure
 *  - fixed libgcc/configure
 *  - fixed libgomp/configure
 *  - fixed libiberty/configure
 *  - fixed libmudflap/configure
 *  - fixed libssp/configure
 * Running elibtoolize in: gcc-4.3.2
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Using GNU config files from /usr/share/libtool
 *   Updating config.sub                                                                                                                              [ ok ]
 *   Updating config.guess                                                                                                                            [ ok ]
 * Fixing misc issues in configure files
 * Running autoconf ...                                                                                                                               [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work
>>> Compiling source in /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/gcc-4.3.2 ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/usr/bin/gnatgcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
 *
 * ERROR: dev-lang/gnat-gcc-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3778:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *             environment, line 2666:  Called die
 * The specific snippet of code:
 *                       CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" "${S}"/configure --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${INCLUDEPATH} --libdir="${LIBPATH}" --libexecdir="${LIBEXECPATH}" --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --program-prefix=gnat --enable-languages="c,ada" --with-gcc --enable-threads=posix --enable-shared --with-system-zlib ${confgcc} || die "configure failed"
 *  The die message:
 *   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-gcc-4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.2/temp/environment'.
 *

>>> Failed to emerge dev-lang/gnat-gcc-4.3.2, Log file:

>>>  '/var/tmp/portage/dev-lang/gnat-gcc-4.3.2/temp/build.log'

 * Messages for package dev-lang/gnat-gcc-4.3.2:

 * Fallback PaX marking -E
 *      /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/usr/bin/gnat1
 *
 * ERROR: dev-lang/gnat-gcc-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3778:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *             environment, line 2666:  Called die
 * The specific snippet of code:
 *                       CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" "${S}"/configure --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${INCLUDEPATH} --libdir="${LIBPATH}" --libexecdir="${LIBEXECPATH}" --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --program-prefix=gnat --enable-languages="c,ada" --with-gcc --enable-threads=posix --enable-shared --with-system-zlib ${confgcc} || die "configure failed"
 *  The die message:
 *   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-gcc-4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.2/temp/environment'.
 *

Я так понимаю, что ему нужет

Я так понимаю, что ему нужет gcc 4.3.2, а у меня gcc-4.3.2-r3...

Была та же проблема. Дело

Была та же проблема.
Дело оказалось в переменной CFLAGS. gnat не принимал -march=core2 в отличае от gcc. После замены на -march=prescott gnat собрался без проблем.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".