Gentoo Archives: gentoo-alt

From: Drew Richardson <drewrichardson@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Error while building gcc-4.5.3-r1 on x86_64-pc-solaris2.10.
Date: Wed, 16 May 2012 00:12:18
Message-Id: CAN6XCH3gDxGhXAVKYQaZNCS2d=q=LnP_D_7uRbQXZALfV584pA@mail.gmail.com
How can I resolve the below error when building gcc-4.5.3-r1 on
x86_64-pc-solaris2.10?

Thanks,

Drew


/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
-B/develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/bin/
-B/develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/lib/
-isystem /develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/include
-isystem /develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/sys-include
   -g -march=native -O2 -pipe -O2 -O2  -g -march=native -O2 -pipe -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I.
-I. -I../.././gcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/.
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../include
 -DHAVE_CC_TLS  -o gthr-gnat_s.o -MT gthr-gnat_s.o -MD -MP -MF
gthr-gnat_s.dep -DSHARED -fexceptions -c
/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc/gthr-gnat.c
/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
-B/develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/bin/
-B/develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/lib/
-isystem /develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/include
-isystem /develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/sys-include
   -g -march=native -O2 -pipe -O2 -O2  -g -march=native -O2 -pipe -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I.
-I. -I../.././gcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/.
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../include
 -DHAVE_CC_TLS  -o unwind-c_s.o -MT unwind-c_s.o -MD -MP -MF
unwind-c_s.dep -DSHARED -fexceptions -c
/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc/unwind-c.c
/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/xgcc
-B/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/./gcc/
-B/develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/bin/
-B/develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/lib/
-isystem /develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/include
-isystem /develop/richanh/x86_64-pc-solaris2.10/usr/x86_64-pc-solaris2.10/sys-include
   -g -march=native -O2 -pipe -O2 -O2  -g -march=native -O2 -pipe -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -I.
-I. -I../.././gcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/.
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc
-I/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../include
 -DHAVE_CC_TLS  -o emutls_s.o -MT emutls_s.o -MD -MP -MF emutls_s.dep
-DSHARED -fexceptions -c
/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libgcc/../gcc/emutls.c
make[3]: *** No rule to make target `gmon.o', needed by
`libgcc-extra-parts'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/x86_64-pc-solaris2.10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory
`/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
 * ERROR: sys-devel/gcc-4.5.3-r1 failed (compile phase):
 *   emake failed with bootstrap-lean
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called call-ebuildshell 'src_compile'
 *   environment, line  580:  Called src_compile
 *   environment, line 4011:  Called gcc_src_compile
 *   environment, line 2446:  Called toolchain_src_compile
 *   environment, line 4792:  Called gcc_do_make
 *   environment, line 2301:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
LIBPATH="${EPREFIX}${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.5.3-r1',
 * the complete build log and the output of 'emerge -pqv
=sys-devel/gcc-4.5.3-r1'.
 *
 * Please include
/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build/gcc-build-logs.tar.bz2
in your bug report
 *
 * The complete build log is located at
'/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/temp/build.log'.
 * The ebuild environment file is located at
'/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/temp/environment'.
 * Working directory:
'/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'
 * S: '/develop/richanh/x86_64-pc-solaris2.10/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/build'

Replies