Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc build problem upgrading to 3.4.6-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
sinops
n00b
n00b


Joined: 05 Jan 2004
Posts: 16

PostPosted: Mon May 01, 2006 4:31 pm    Post subject: gcc build problem upgrading to 3.4.6-r1 Reply with quote

Hello all, I am having the following problem. I am upgrading to the latest version of gcc 3.4.6-r1. I am following the upgrade guide and am getting stuck on the following:

...
* Fixing misc issues in configure files
* Updating intl/configure ... [ ok ] *
Updating zlib/configure ... [ ok ] *
Updating configure ... [ ok ] *
Updating libjava/configure ... [ ok ] *
Updating libobjc/configure ... [ ok ] *
Updating libf2c/configure ... [ ok ] *
Updating libf2c/libF77/configure ... [ ok ] *
Updating libf2c/libI77/configure ... [ ok ] *
Updating libf2c/libU77/configure ... [ ok ] *
Updating libffi/configure ... [ ok ] *
Updating boehm-gc/configure ... [ ok ] *

I started the build process the night before and it is still sitting at this point.
My build flags are:

[ebuild NS ] sys-devel/gcc-3.4.6-r1 (-altivec) -bootstrap -boundschecking -build -doc +fortran -gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 0 kB

I have tried flipping gcj on and off, but nothing changes.

Any suggestions?
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Mon May 01, 2006 6:05 pm    Post subject: Reply with quote

where exactly are you in the upgrade process? Is this what happens when you

emerge -va gcc?
Back to top
View user's profile Send private message
sinops
n00b
n00b


Joined: 05 Jan 2004
Posts: 16

PostPosted: Mon May 01, 2006 6:50 pm    Post subject: Reply with quote

I'm following http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-3.3-to-3.4-emerge-e and I am at the point of emerge -uav gcc.

I have been watching top and there seems to be some activity. I am seeing sh, make, gcc_update from time to time.

Building gcc should not take this long. It hasn't in the past and I have had my Ultra 60 up for almost a year.

This seems very odd. I was able to configure gcc by hand without patches and that seemed to work fine. So I don't know if something in the patch process is slow or broken.

I am running the update with the debug flag. I see this:
...
+ echo -ne ' * Updating boehm-gc/configure ...'
* Updating boehm-gc/configure ...+ LAST_E_CMD=einfon
+ return 0
+ [[ yes == yes ]]
+ echo

+ LAST_E_LEN=36
+ LAST_E_CMD=ebegin
+ return 0
+ patch /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/boehm-gc/configure /usr/portage/sys-devel/gcc/files/gcc-configure-LANG.patch
+ eend 0
+ local retval=0
+ shift
+ _eend 0 eerror ''
+ local retval=0 efunc=eerror msg
+ shift 2
+ [[ 0 == 0 ]]
+ [[ no == yes ]]
+ msg='[ ok ]'
+ [[ yes == yes ]] [ ok ]' echo -e ' [ ok ]+ return 0
+ LAST_E_CMD=eend
+ return 0
+ ./contrib/gcc_update --touch

Not really sure what is going on here.
Back to top
View user's profile Send private message
sinops
n00b
n00b


Joined: 05 Jan 2004
Posts: 16

PostPosted: Fri May 05, 2006 1:41 pm    Post subject: Reply with quote

Here's the error:

* Updating boehm-gc/configure ... [ ok ]grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
* Applying gcc-spec-env.patch ... [ ok ] * Applying gcc-3.4.4-cross-compile.patch ... [ ok ]>>> Source unpacked.
* CFLAGS="-mcpu=ultrasparc -pipe -O2"
* CXXFLAGS="-mcpu=ultrasparc -pipe -O2"
* Configuring gcc ...
* running gcc-compiler-configure
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
grep: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/*/config-lang.in: No such file or directory
* configuring for GCC_LANG: c

* PREFIX: /usr
* BINPATH: /usr/sparc-unknown-linux-gnu/gcc-bin/3.4.6
* LIBPATH: /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6
* DATAPATH: /usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6
* STDCXX_INCDIR: /usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/g++-v3

* Configuring GCC with:
--prefix=/usr
--bindir=/usr/sparc-unknown-linux-gnu/gcc-bin/3.4.6
--includedir=/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include
--datadir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6
--mandir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6/man
--infodir=/usr/share/gcc-data/sparc-unknown-linux-gnu/3.4.6/info
--with-gxx-include-dir=/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include/g++-v3
--host=sparc-unknown-linux-gnu
--build=sparc-unknown-linux-gnu
--disable-altivec
--enable-nls
--without-included-gettext
--with-system-zlib
--disable-checking
--disable-werror
--disable-libunwind-exceptions
--disable-multilib
--disable-libgcj
--enable-languages=c
--enable-shared
--enable-threads=posix
--enable-__cxa_atexit
--enable-clocale=gnu

/usr/portage/eclass/toolchain.eclass: line 1256: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure: No such file or directory

!!! ERROR: sys-devel/gcc-3.4.6-r1 failed.
!!! Function gcc_do_configure, Line 1257, Exitcode 127
!!! failed to run configure
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum