View previous topic :: View next topic |
Author |
Message |
PunkSC n00b
Joined: 23 Jan 2006 Posts: 45 Location: Brazil
|
Posted: Tue Jan 24, 2006 6:58 pm Post subject: |
|
|
Im upgrading gcc using emerge -e method. During the "emerge -e system" i had errors while compiling this packages and move on using "emerge --resume --skipfirst":
db-4.2.52
groff
perl-5.8.7
locale-gettext-1.05
The tutorial dont say anything about what to do with this packages. What should i do? emerge -e each one of the packages? or just forget about it? |
|
Back to top |
|
|
acfreeman n00b
Joined: 27 Feb 2005 Posts: 41 Location: UK
|
Posted: Tue Jan 24, 2006 10:03 pm Post subject: |
|
|
PunkSC wrote: | Im upgrading gcc using emerge -e method. During the "emerge -e system" i had errors while compiling this packages and move on using "emerge --resume --skipfirst":
db-4.2.52
groff
perl-5.8.7
locale-gettext-1.05
The tutorial dont say anything about what to do with this packages. What should i do? emerge -e each one of the packages? or just forget about it? |
Copy the error messages of these packages and paste it here. |
|
Back to top |
|
|
PunkSC n00b
Joined: 23 Jan 2006 Posts: 45 Location: Brazil
|
Posted: Wed Jan 25, 2006 11:27 am Post subject: |
|
|
acfreeman wrote: | PunkSC wrote: | Im upgrading gcc using emerge -e method. During the "emerge -e system" i had errors while compiling this packages and move on using "emerge --resume --skipfirst":
db-4.2.52
groff
perl-5.8.7
locale-gettext-1.05
The tutorial dont say anything about what to do with this packages. What should i do? emerge -e each one of the packages? or just forget about it? |
Copy the error messages of these packages and paste it here. |
Ok! Here we go! Perl and locale-gettext was just bad md5 checksum... already fixed... but db and groff still doesnt work.
This is what happen when i try to emerge db-4.2.52_p2-r1 using emerge db
Code: |
creating libdb-4.2.la
(cd .libs && rm -f libdb-4.2.la && ln -s ../libdb-4.2.la libdb-4.2.la)
rm -f libdb.a
test ! -f .libs/libdb-4.2.a || \
ln -s .libs/libdb-4.2.a libdb.a
test -f .libs/libdb-4.2.a || \
(test -f libdb-4.2.a && ln -s libdb-4.2.a libdb.a)
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -c -I. -I../dist/.. -D_G NU_SOURCE -D_REENTRANT -march=pentium2 -O2 -pipe -fomit-frame-pointer ../dist/.. /cxx/cxx_db.cpp
i686-pc-linux-gnu-g++ -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -march=pen tium2 -O2 -pipe -fomit-frame-pointer ../dist/../cxx/cxx_db.cpp -fPIC -DPIC -o . libs/cxx_db.o
../dist/../cxx/cxx_db.cpp: In constructor `Db::Db(DbEnv*, u_int32_t)':
../dist/../cxx/cxx_db.cpp:112: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/db-4.2.52_p2-r1/temp/ccMBxOiC.o ut file, please attach this to your bugreport.
make: *** [cxx_db.lo] Error 1
!!! ERROR: sys-libs/db-4.2.52_p2-r1 failed.
!!! Function src_compile, Line 91, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
|
This is what happen when i try to emerge groff-1.19.1-r2 using emerge groff
Code: |
make[1]: Entering directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
make[2]: Entering directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include'
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include'
make[2]: Entering directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/arch/misc'
/bin/sh shdeps.sh ":" ":" "/usr/bin" > shdeps.sed
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/arch/misc'
make[2]: Entering directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/libs/libgroff'
i686-pc-linux-gnu-g++ -I. -I. -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -DHAVE_CONFIG_H -march=pentium2 -O2 -pipe -fomit-frame-pointer -c assert.cpp
assert.cpp: In function `void assertion_failed(int, const char*)':
assert.cpp:34: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/groff-1.19.1-r2/temp/ccqbBcTh.out file, please attach this to your bugreport.
make[2]: *** [assert.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/libs/libgroff'
make[1]: *** [src/libs/libgroff] Error 2
make[1]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
make: *** [all] Error 2
!!! ERROR: sys-apps/groff-1.19.1-r2 failed.
!!! Function src_compile, Line 86, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
Any ideas? |
|
Back to top |
|
|
acfreeman n00b
Joined: 27 Feb 2005 Posts: 41 Location: UK
|
Posted: Wed Jan 25, 2006 3:40 pm Post subject: |
|
|
Quote: | ../dist/../cxx/cxx_db.cpp:112: internal compiler error: Segmentation fault
[ ... ]
assert.cpp:34: internal compiler error: Segmentation fault |
PunkSC: it looks like, you may have a problem with your hardware.
1. Give me an output of "emerge info".
2. Do a memtest (normally 8-12 hours used to be enough).
3. Is your mobo overclocked?. |
|
Back to top |
|
|
PunkSC n00b
Joined: 23 Jan 2006 Posts: 45 Location: Brazil
|
Posted: Wed Jan 25, 2006 4:18 pm Post subject: |
|
|
acfreeman wrote: | Quote: | ../dist/../cxx/cxx_db.cpp:112: internal compiler error: Segmentation fault
[ ... ]
assert.cpp:34: internal compiler error: Segmentation fault |
PunkSC: it looks like, you may have a problem with your hardware.
1. Give me an output of "emerge info".
2. Do a memtest (normally 8-12 hours used to be enough).
3. Is your mobo overclocked?. |
here is the emerge info output:
Code: |
FireBlade ~ # emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gent oo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss enc ode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jp eg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_li nux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVER LAY
|
I will try a memtest to see if there is a problem. Its an old PII 400 Mhz, but was working until last month as my sister computer, running Windows XP without any major problem (only the big slowness... hehehe). No overclock here. |
|
Back to top |
|
|
PunkSC n00b
Joined: 23 Jan 2006 Posts: 45 Location: Brazil
|
Posted: Thu Jan 26, 2006 2:41 am Post subject: |
|
|
acfreeman was right! I did a memtest and got error on the first 10 minutes. I had a bad ram module here. I put it aside, and i will try reinstall everything from the beggining. Tks a lot acfreeman! I never tought bad memory could be the problem!
Just another little question here:
When i did emerge -e system i compiled 79 packages. When i did emerge -e world i compiled all the 79 packages again (including gcc 3.4.4) plus the packages in the world file.
Is this normal or it was my crazy system fault?
If its normal, seems a little pointless compile the same packages twice. There is a safe way to avoid this "recompile"? |
|
Back to top |
|
|
acfreeman n00b
Joined: 27 Feb 2005 Posts: 41 Location: UK
|
Posted: Thu Jan 26, 2006 11:37 am Post subject: |
|
|
PunkSC wrote: | Is this normal or it was my crazy system fault? |
It is normal. The "world" also contains "system".
PunkSC wrote: | If its normal, seems a little pointless compile the same packages twice. |
That's true.
PunkSC wrote: | There is a safe way to avoid this "recompile"? |
I have no idea how to exclude the already compiled system packages from world recompilation. |
|
Back to top |
|
|
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Thu Jan 26, 2006 3:14 pm Post subject: |
|
|
Code: | I have no idea how to exclude the already compiled system packages from world recompilation. | you can use emwrap.sh...it's a very useful script that updates the toolchain and also the world files for you...you can also exclude the system files already compiled when compiling world files with the appropriate switches...have a look here... |
|
Back to top |
|
|
Phaedo n00b
Joined: 27 Nov 2005 Posts: 47
|
Posted: Thu Feb 02, 2006 6:21 pm Post subject: gcc upgrade failure! |
|
|
I followed the upgrade guide:
Code: | # emerge -uav gcc
# gcc-config i686-pc-linux-gnu-3.4.4
# source /etc/profile
# emerge --oneshot -av libtool
# emerge --oneshot sys-libs/libstdc++-v3 |
Now when I'm in the process of doing "emerge -e system", but gcc failed to compile:
Code: | SHLIB_EXT='.so' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/mkmap-symver.awk' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/libgcc-std.ver /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/libgcc-glibc.ver' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
mkinstalldirs='/bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="" \
/bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc/../ld -fno-stack-protector -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
-c /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
cc1: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.4-r1 failed.
!!! Function gcc_do_make, Line 1339, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message. |
Code: | # emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-nitro2 i686)
=================================================================
System uname: 2.6.14-nitro2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://ftp.gentoo.or.kr/ http://mymirror.asiaosc.org/gentoo/ ftp://mirror.averse.net/pub/gentoo http://mirror.averse.net/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
Albert_g n00b
Joined: 02 Feb 2006 Posts: 60 Location: Somewhere over the ...
|
Posted: Thu Feb 02, 2006 6:57 pm Post subject: |
|
|
Hi
Perhaps that would help:
#emerge --sync
(that gets you the last list of packages )
#emerge portage
(updates your portage, badly needed )
#emerge gcc
(will try to update your gcc, to ver 3.4.5 )
if unsuccesful, you may try to install a working gcc fom cdrom (binay package ),
even if isn't optimized for your computer, should do the trick.
May also be the case that you have a hardware problem (overclocked cpu/memory ) that
generates bad instructions. You can try memtest86 from the gentoo boot cdrom to discard it.
Albert. |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri Feb 03, 2006 6:32 am Post subject: |
|
|
Merged above 2 posts. _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sat Feb 11, 2006 4:59 pm Post subject: |
|
|
rickj wrote: | Well, I seem to have squirmed out of the trap.
env-update, a python script, was dead, but I was still able to hand-edit /etc/ld.so.conf
(which one should never normally do) and add the old libraries:
Code: |
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/opengl/xorg-x11/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4
# Next line added by hand
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6
/usr/lib/mozilla-firefox
/usr/lib/mozilla
/usr/lib
|
now I ran ldconfig, and behold, python was resuscitated. A quick non-destructive test of emerge using
showed that it was up again. With this done I could do the next stage of the compiler update, namely:
Code: |
emerge --oneshot -av libtool
|
Naturally, the ebuild finished up by doing an env-update, which re-generated the /etc/ld.so.conf without my change,
so the hand-edit and ldconfig had to be repeated. Then the next stage of the update:
Code: |
emerge --oneshot sys-libs/libstdc++-v3
|
fixed everything permanently.
Thanks to all for the helpful suggestions which set me on the right track. |
rickj, I just like to thank you for posting the above tip, it save my "bacon"! It is so simple and clean. |
|
Back to top |
|
|
rasmus Tux's lil' helper
Joined: 14 Jul 2002 Posts: 78
|
Posted: Mon Feb 13, 2006 5:42 pm Post subject: |
|
|
I upgraded using the revdep-rebuild method, and the following packages failed:
media-plugins/xmms-sid-0.7.4
Errors:
Code: | xmms-sid.cc: In function `void* xs_play_loop(void*)':
xmms-sid.cc:199: error: using typedef-name `AFormat' after `enum'
xmms-sid.cc:199: error: invalid type in declaration before '=' token
xmms-sid.cc:208: error: invalid conversion from `int' to `AFormat'
xmms-sid.cc:237: error: invalid conversion from `int' to `AFormat' |
net-im/gabber-0.8.8
Errors:
Code: | TCPTransmitter.cc: In member function `void TCPTransmitter::connect(const std::string&, guint, bool, bool)':
TCPTransmitter.cc:179: error: expected `(' before "const"
TCPTransmitter.cc:179: error: expected asm body before "const"
TCPTransmitter.cc:179: error: expected primary-expression before "const"
TCPTransmitter.cc:179: error: expected `;' before "const"
TCPTransmitter.cc: In member function `void TCPTransmitter::listen(const std::string&, guint)':
TCPTransmitter.cc:213: error: expected `(' before "const"
TCPTransmitter.cc:213: error: expected asm body before "const"
TCPTransmitter.cc:213: error: expected primary-expression before "const"
TCPTransmitter.cc:213: error: expected `;' before "const"
TCPTransmitter.cc:214: error: expected `(' before "const"
TCPTransmitter.cc:214: error: expected asm body before "const"
TCPTransmitter.cc:214: error: expected primary-expression before "const"
TCPTransmitter.cc:214: error: expected `;' before "const"
make[2]: *** [TCPTransmitter.o] Fel 1
make[2]: *** Inväntar oavslutade jobb... |
Both packages haven't had any updates for ages, so I'm not sure I can blame the new gcc, but it looks like it could be the case. Also, I think I've seen these problems being discussed elsewhere in the forums. |
|
Back to top |
|
|
codejunky Tux's lil' helper
Joined: 03 Oct 2004 Posts: 75 Location: Hamburg - Germany
|
Posted: Tue Feb 14, 2006 1:41 pm Post subject: Re: gcc upgrade failure! |
|
|
Compile:
Code: |
if test -f stage_last ; then \
LAST=`cat stage_last`; rm $LAST; make LANGUAGES="c gcov gcov-dump c++" BOOT_CFLAGS="-g -O2" $LAST; \
else \
make LANGUAGES="c gcov gcov-dump c++" BOOT_CFLAGS="-g -O2" stage1_build; \
fi
rm: Entfernen von ,,stage2_build" nicht möglich: Datei oder Verzeichnis nicht gefunden
make[2]: Entering directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
STAGE_PREFIX=stage1/ \
ADAFLAGS="" CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long -Wold-style-definition " libdir=/usr/lib LANGUAGES="c gcov gcov-dump c++" MAKEINFO="makeinfo" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
CFLAGS="-g -O2" WERROR=""
make[3]: Entering directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc/../ld -fno-stack-protector -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
-c /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/tsystem.h:44,
from /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/crtstuff.c:62:
./include/stddef.h:213: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cceQdSmG.out file, please attach this to your bugreport.
make[3]: *** [crtbegin.o] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make[2]: *** [stage2_build] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make[1]: *** [quickstrap] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make: *** [all-gcc] Fehler 2
|
I have the same problem! I took a binary gcc from dev.gentoo.org/~avenj/bins/i686/ and tried to emerge gcc but get the error above.
What can I do?
Regards
Jan _________________ http://www.codejunky.org |
|
Back to top |
|
|
Drysh Apprentice
Joined: 06 Apr 2005 Posts: 203 Location: São Paulo, Brazil
|
Posted: Wed Feb 15, 2006 10:16 am Post subject: |
|
|
I just re-instaled my system. After that I was moving to gcc 3.4, but I was tired, and I removed gcc 3.3.6 before compiling everything again. Now I cannot use emerge or env-update. I tried to unpack gcc-3.3.4-r1 but that didn't help. Is there another way to fix that without re-instaling everything?
Or... Isn`t it easier to re-install from stage1 (or 2) using gcc-3.4??? I noticed it says stage1 isn`t supported anymore (on gentoo handbook)... Is there an old handbook to install from stage1? I just need a list of things to do, so I don't get lost in the process. Which stage should I install to use gcc-3.4: stage1 or stage2?
BTW: I'm starting to hate links when using these forums. |
|
Back to top |
|
|
Drysh Apprentice
Joined: 06 Apr 2005 Posts: 203 Location: São Paulo, Brazil
|
Posted: Wed Feb 15, 2006 10:39 am Post subject: |
|
|
I just re-instaled my system. After that I was moving to gcc 3.4, but I was tired, and I removed gcc 3.3.6 before compiling everything again. Now I cannot use emerge or env-update. I tried to unpack gcc-3.3.4-r1 but that didn't help. Is there another way to fix that without re-instaling everything?
Or... Isn`t it easier to re-install from stage1 (or 2) using gcc-3.4??? I noticed it says stage1 isn`t supported anymore (on gentoo handbook)... Is there an old handbook to install from stage1? I just need a list of things to do, so I don't get lost in the process. Which stage should I install to use gcc-3.4: stage1 or stage2?
BTW: I'm starting to hate links when using these forums. |
|
Back to top |
|
|
screwloose Tux's lil' helper
Joined: 07 Feb 2004 Posts: 94 Location: Toon Town, Canada
|
Posted: Wed Feb 15, 2006 5:03 pm Post subject: |
|
|
Drysh wrote: | I just re-instaled my system. After that I was moving to gcc 3.4, but I was tired, and I removed gcc 3.3.6 before compiling everything again. Now I cannot use emerge or env-update. I tried to unpack gcc-3.3.4-r1 but that didn't help. Is there another way to fix that without re-instaling everything?
Or... Isn`t it easier to re-install from stage1 (or 2) using gcc-3.4??? I noticed it says stage1 isn`t supported anymore (on gentoo handbook)... Is there an old handbook to install from stage1? I just need a list of things to do, so I don't get lost in the process. Which stage should I install to use gcc-3.4: stage1 or stage2?
BTW: I'm starting to hate links when using these forums. |
Make usre you unpacked gcc-3.3.4-r1 to / that will make sure its in the right place. Then run gcc-config to set it as your compilier. _________________ If something can go wrong it probably already has. You just don't know it yet. ~Henry's Modified version of Murphy's Law |
|
Back to top |
|
|
PaulCompton Tux's lil' helper
Joined: 20 Sep 2004 Posts: 120 Location: A small town in Germany
|
Posted: Fri Feb 17, 2006 8:37 am Post subject: Re: How long time? |
|
|
yaneurabeya wrote: | capron wrote: | Hi !
I have some question. How long time dos it take to do a emerge -e system && emerge -e world ?
I have a athlon 1.2 G normal stuff KDE and openoffices is installed. One week or one two day ?
Is it safe to use computer like surfing and write rapports on oppenoffice while emergeing ?
/Thanks |
If you're smart and don't compile open-office, but instead use a bin package, it won't take more than a day. You don't gain much by compiling Java programs since it turns into bytecode, anyhow... and not optimized C object files or anything. |
Sorry, yaneurabeya, but I think you may be mistaken in your understanding of OpenOffice here. OpenOffice is coded in C++, not java. You can install OpenOffice without having java at all. Java is needed for the help files and for some scripting. And my feeling (I haven't benchmarked it, so this comment is as useful as any "feeling" observation) is that the performance difference is substantial when you compile. Also, by compiling rather than installing the binary, you get better integration with the desktop look and feel, which is important to some users.
Just in case you are uncertain about my statements re. OpenOffice being C++, take a look at the project website, for example http://about.openoffice.org/index.html#history, where you can read:
Quote: | The source is written in C++ and delivers language-neutral and scriptable functionality, including Java(TM) APIs. |
It is a common misconception that OO is a java app. The installer is java based, as are aspects of the help system and the scripting engine, but the app as a whole is not. I only realised this myself when I was roped into the linguistic side of interface development for the current version by a friend in the StarOffice division at Sun.
All the best.
Paul _________________ Only the profound have signatures. |
|
Back to top |
|
|
wth n00b
Joined: 18 Feb 2006 Posts: 1
|
Posted: Sat Feb 18, 2006 7:10 pm Post subject: gcc - libstdc++ - cannot open? |
|
|
i have set up the new gcc (emerge gcc)
i have configured it and now i had to
emerge --oneshot -av libtool or do other emerges
that doesnt works ERROR:
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object : no such filedirectory
anyone can/wanna help me? big thx |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Feb 18, 2006 7:15 pm Post subject: |
|
|
merged above post here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
xtlosx Apprentice
Joined: 14 Jan 2006 Posts: 219 Location: Chicago
|
Posted: Tue Feb 21, 2006 1:50 am Post subject: |
|
|
hey guys question.. can someone help me out.. esentially.. my compiler tried to get updated to 3.4.4. was when i ran a emerge -uavDN world , and it upgraded, now nothing works... can someone help me out..
link to the small discussion.
https://forums.gentoo.org/viewtopic-p-3127245.html
thanks for any help in advance, i'm somewhat newer and need my box soon for coding!
Thanks a lot!!! |
|
Back to top |
|
|
Visseroth Apprentice
Joined: 13 Oct 2003 Posts: 291 Location: Idaho
|
Posted: Thu Feb 23, 2006 9:46 am Post subject: |
|
|
I am also having problems.
I have made some progress but I keep getting stuck on the same old thing.
The pcmcia-cs problem I know is around, but least of my concerns as I do not need a pcmcia device right now but to just have a functianal system from in which I can work on would be great.....
here is where I posted.....
https://forums.gentoo.org/viewtopic-p-3133203.html#3133203
Thank you in advance |
|
Back to top |
|
|
rickj Guru
Joined: 06 Feb 2003 Posts: 427 Location: Calgary, Alberta, Canada
|
Posted: Thu Feb 23, 2006 5:09 pm Post subject: |
|
|
wth - see my post of jan 17th above, works for me and at least one other (also above) |
|
Back to top |
|
|
Scorpion265 Tux's lil' helper
Joined: 05 May 2005 Posts: 129 Location: Kansas City, MO
|
Posted: Thu Feb 23, 2006 10:14 pm Post subject: I royally screwed up |
|
|
Ok, I really never pay attention to what is going on in the gentoo world, except that my php, apache, and mysql work for my dev box. I recently emerge --world to update everything, and it updated gcc etc. I then did an emerge --prune, checked to make sure there was a newer version present, and let it loose. I didn't realise the major update to gcc would bork my system, nor did it tell me there were specific directions I needed to follow to get things working right (this is a major fuckup in my opinion by the gentoo devs). I am now stuck with this error every time I try to use emerge:
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
I have searched high and low, but I can't find anything that relates to this exact problem. I fixed gcc so that it's using the right profile with gcc-config:
gcc-config -l
[1] i386-pc-linux-gnu-3.4.4 *
[2] i386-pc-linux-gnu-3.4.4-hardened
[3] i386-pc-linux-gnu-3.4.4-hardenednopie
[4] i386-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i386-pc-linux-gnu-3.4.4-hardenednossp
I guess I just need to update python so it's looking for libstdc++.so.6, I think... I hope that's all I need to do.
Just a quick gripe.. if you are going to do an update like this, and have specific instructions for us to follow for updating to gcc 3.4.4, you should have blinking red warnings. I rarely pay attention to what is said during an emerge because it generally doesn't pretain to what I am doing/my skill level. I don't have a solid understanding of how gcc works, so I didn't know this would happen. I also rarely check the forums unless I need help with something else. I don't intend on reading the forums all the time either, it's a general waste of time for me. Please, please, please put in a warning system for things like this :-/ |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Feb 23, 2006 10:54 pm Post subject: |
|
|
Merged the above post here. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|
|
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
|
|