LINUX.ORG.RU

[Gentoo] Не собирается gcc-4.4.5

 


0

1

Привет!

Не собирается gcc-4.4.5, вот что выдает при сборке:

{standard input}: Assembler messages:
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
make[8]: *** [fstream-inst.lo] Error 1
make[8]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[4]: *** [all-multi] Error 2
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.5/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
 * ERROR: sys-devel/gcc-4.4.5 failed (compile phase):
 *   emake failed with bootstrap-lean
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4892:  Called toolchain_src_compile
 *   environment, line 5489:  Called gcc_src_compile
 *   environment, line 3102:  Called gcc_do_make
 *   environment, line 2909:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 * 
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.4.5',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.4.5'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.4.5/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.4.5/work/build'

>>> Failed to emerge sys-devel/gcc-4.4.5, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.4.5/temp/build.log'

 * Messages for package sys-devel/gcc-4.4.5:

 * ERROR: sys-devel/gcc-4.4.5 failed (compile phase):
 *   emake failed with bootstrap-lean
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4892:  Called toolchain_src_compile
 *   environment, line 5489:  Called gcc_src_compile
 *   environment, line 3102:  Called gcc_do_make
 *   environment, line 2909:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 * 
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.4.5',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.4.5'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.4.5/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.4.5/work/build'

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

★★★
Ответ на: комментарий от SAA

Просморите более детально /var/tmp/portage/sys-devel/gcc-4.4.5/temp/build.log, выше сообщения что вы описали в теме находится более детальная информация об ошибке. С какими опциями вы собираете gcc, не USE флаги в первую очередь, а именно параметры сборки, мнопоточно (-j 2 или 3), какие выбраны флаги оптимизации и какие вообще CXXFLAGS и CFLAGS.

kostik87 ★★★★★
()
Ответ на: комментарий от kostik87

Пробовал собирать и с -j1 и с -j5, из CFLAGS, все стандартное, добавил только -march=native, -msse4.2

SAA ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.