Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185047 - gcc-4.3.0_alpha20070626 from toolchain overlay doesn't compile for powerpc64
Summary: gcc-4.3.0_alpha20070626 from toolchain overlay doesn't compile for powerpc64
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 08:56 UTC by kjuanlu
Modified: 2007-07-12 19:30 UTC (History)
1 user (show)

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


Attachments
A complete build log (build.log,297.33 KB, text/plain)
2007-07-12 08:57 UTC, kjuanlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kjuanlu 2007-07-12 08:56:43 UTC
I tryed to compile all version of gcc-4.3.0* from the layman overlay(toolchain), and I allways get the same error

Reproducible: Always

Steps to Reproduce:
emerge sys-devel/gcc
Actual Results:  
70629/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber/dpd -I../libdecnumber    /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/coverage.c -o coverage.o
powerpc64-unknown-linux-gnu-gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                     -Wno-overlength-strings -fno-common   -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber/dpd -I../libdecnumber    /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/cse.c -o cse.o
/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/cse.c:7015: error: 'TODO_verify_rtl_sharing' undeclared here (not in a function)
make[3]: *** [cse.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.3.0_alpha20070629 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1311:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

!!! emake failed with profiledbootstrap
!!! 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/sys-devel/gcc-4.3.0_alpha20070629/temp/build.log'.



I try to compile with powerpc64-unknown-linux-gnu-4.1.2 and powerpc64-unknown-linux-gnu-4.2.0.

Userland64, PS3.
Comment 1 kjuanlu 2007-07-12 08:57:40 UTC
Created attachment 124619 [details]
A complete  build log
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2007-07-12 09:00:35 UTC
Not infra related
Comment 3 SpanKY gentoo-dev 2007-07-12 18:35:39 UTC
it's an overlay full of snapshots for a reason -- they arent supported

the ppc64 team may want to review, bu the answer is usually "research and fix it yourself"
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2007-07-12 19:29:31 UTC
yes, I've come across the same problem. try to use 4.3.0-alpha20070707 with -fortran. that one compiled fine here. We won't report issues upstream unless it's being out of alpha status.

# gcc -v
Using built-in specs.
Target: powerpc64-unknown-linux-gnu
Configured with: /var/tmp/paludis/sys-devel/gcc-4.3.0_alpha20070707/work/gcc-4.3-20070707/configure --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.0-alpha20070707 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/include/g++-v4 --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.3.0-alpha20070707  (experimental) (Gentoo 4.3.0_alpha20070707)
Comment 5 Markus Rothe (RETIRED) gentoo-dev 2007-07-12 19:30:10 UTC
oh.. this are the use flags I used:

* sys-devel/gcc-4.3.0_alpha20070707::toolchain {:4.3} [R] -altivec -bootstrap -build -doc -fortran gcj -gtk (-hardened) -ip28 -ip32r10k mudflap (-multilib) -multislot (-n32) (-n64) nls -nocxx objc objc++ objc-gc openmp -test -vanilla