View previous topic :: View next topic |
Author |
Message |
rickj Guru
Joined: 06 Feb 2003 Posts: 427 Location: Calgary, Alberta, Canada
|
Posted: Thu Feb 23, 2006 10:59 pm Post subject: |
|
|
Scorpion265, you too may benefit from my experience posted Jan 17th on this forum, just as hevyt did. Good luck. |
|
Back to top |
|
|
Scorpion265 Tux's lil' helper
Joined: 05 May 2005 Posts: 129 Location: Kansas City, MO
|
Posted: Fri Feb 24, 2006 1:26 am Post subject: |
|
|
The only problem is that when I did the --prune on emerge, it deleted any previous libstdc++ files, I have nothing but the new stuff. I have to say that this really pisses me off, there was no warning for us that don't check the forums on a regular basis. I am just going to rebuild the god damn thing, I've had enough experimentation |
|
Back to top |
|
|
Iluminatus Tux's lil' helper
Joined: 13 Nov 2004 Posts: 93 Location: Maia/Portugal
|
Posted: Mon Mar 06, 2006 9:17 am Post subject: |
|
|
It appears that last revision of GCC as been marked in SVN/CVS. GCC -3.4.6 is a go.... |
|
Back to top |
|
|
fortenbm Tux's lil' helper
Joined: 09 Dec 2005 Posts: 99 Location: Newburgh, NY
|
Posted: Thu Mar 09, 2006 4:11 am Post subject: |
|
|
I was already on 3.4.5 back in November or so of last year. I was working at making my linux box a DAW box and was trying to emerge rosegarden which always failed with missing header file errors. In the process of un-merging jack to attempt an end-run, I used emerge -p gcc thinking it was a --pretend but in fact I guess it pruned because it removed my libstdc++.so.6 and everything broke. I read many howtos and managed to get my python back and fix emerge and finally emerge gcc to get 3.4.5 back. My revdep-rebuild then worked completely and I'm back to a seemingly working box.... but I have a question.
When I do "gcc-config -l ", I missing ther gcc-3.4.5/default and instead have gcc-3.4.5/vanilla which I selected and am using. What happened to gcc-3.4.5/default and why doesn't it matter ?
Odin ~ # gcc-config -l
Available compilers for CTARGET i686-pc-linux-gnu
[1] i686-pc-linux-gnu-3.3.6/default
[2] i686-pc-linux-gnu-3.3.6/hardened
[3] i686-pc-linux-gnu-3.3.6/hardenednopie
[4] i686-pc-linux-gnu-3.3.6/hardenednopiessp
[5] i686-pc-linux-gnu-3.3.6/hardenednossp
[6] i686-pc-linux-gnu-3.4.5/hardened
[7] i686-pc-linux-gnu-3.4.5/hardenednopie
[8] i686-pc-linux-gnu-3.4.5/hardenednopiessp
[9] i686-pc-linux-gnu-3.4.5/hardenednossp
[10] i686-pc-linux-gnu-3.4.5/vanilla
Activated profiles:
i686-pc-linux-gnu * i686-pc-linux-gnu-3.4.5/vanilla _________________ Michael Fortenberry |
|
Back to top |
|
|
Mudi n00b
Joined: 19 Jan 2005 Posts: 9
|
Posted: Thu Mar 09, 2006 11:09 pm Post subject: |
|
|
I can't get gcc-3.4 (or 4, for that matter) to compile on my system. I haven't been able to find anyone with the same problem I have, so hopefully someone here will know what to do. Here's the last bit of the emerge output (from some number of lines above the error that kills it):
Code: | rm -fr .libs/libstdc++.lax
creating libstdc++.la
(cd .libs && rm -f libstdc++.la && ln -s ../libstdc++.la libstdc++.la)
make[4]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/i686-pc-linux-gnu/libstdc++-v3/src'
Making all in po
make[4]: Entering directory `/var/tmp/portage/gcc-3.4.5/work/build/i686-pc-linux-gnu/libstdc++-v3/po'
msgfmt -o de.mo /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libstdc++-v3/po/de.po
usage: msgfmt [ -dv ] [ - ] [ name ... ]
de.mo: No such file or directory
make[4]: *** [de.mo] Error 2
make[4]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/i686-pc-linux-gnu/libstdc++-v3/po'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.5/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.5 failed.
!!! Function gcc_do_make, Line 1345, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message. |
Seems to have something to do with libstdc++, but more than that I can't figure out. |
|
Back to top |
|
|
Bad Penguin Guru
Joined: 18 Aug 2004 Posts: 507
|
Posted: Fri Mar 10, 2006 12:27 am Post subject: |
|
|
Mudi wrote: | Code: |
msgfmt -o de.mo /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libstdc++-v3/po/de.po
usage: msgfmt [ -dv ] [ - ] [ name ... ]
de.mo: No such file or directory
|
|
Maybe you need to upgrade gettext first? |
|
Back to top |
|
|
Mudi n00b
Joined: 19 Jan 2005 Posts: 9
|
Posted: Fri Mar 10, 2006 6:49 am Post subject: |
|
|
My gettext is supposedly up-to-date, but I'll try reemerging and report whether it worked...
EDIT: Yup, looks like reemerging gettext did it. Thanks... |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Sat Mar 25, 2006 8:58 pm Post subject: |
|
|
Bad Penguin wrote: | Mudi wrote: | Code: |
msgfmt -o de.mo /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libstdc++-v3/po/de.po
usage: msgfmt [ -dv ] [ - ] [ name ... ]
de.mo: No such file or directory
|
|
Maybe you need to upgrade gettext first? |
How the hell did you know that "de.mo" is connected to gettext???
Edit: I just found a post at the linuxfomscratch mail-archives, that explains the connection.
But how did you find the solution? Or did you know the answer just out of your head? |
|
Back to top |
|
|
dylan_stark Tux's lil' helper
Joined: 30 Aug 2005 Posts: 135 Location: Belgrade, Serbia
|
Posted: Mon Mar 27, 2006 8:06 am Post subject: |
|
|
After 96 programs in system and 387 in world and after ~2 days on my 850mhz Duron I have gentoo precompiled without any problems.
I only have one last rather dumb question. Do i need to reboot machine now? Because, everything works fine and i hate rebooting |
|
Back to top |
|
|
Bad Penguin Guru
Joined: 18 Aug 2004 Posts: 507
|
Posted: Mon Mar 27, 2006 5:04 pm Post subject: |
|
|
loki99 wrote: | Bad Penguin wrote: | Mudi wrote: | Code: |
msgfmt -o de.mo /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/libstdc++-v3/po/de.po
usage: msgfmt [ -dv ] [ - ] [ name ... ]
de.mo: No such file or directory
|
|
Maybe you need to upgrade gettext first? |
How the hell did you know that "de.mo" is connected to gettext???
Edit: I just found a post at the linuxfomscratch mail-archives, that explains the connection.
But how did you find the solution? Or did you know the answer just out of your head? |
Yes, I knew that msgfmt is a part of gettext - related to nls etc... I build a lot of boxes
You can always do an equery b /usr/bin/msgfmt also, if it is a command you are not familiar with and need to know where it came from |
|
Back to top |
|
|
Bad Penguin Guru
Joined: 18 Aug 2004 Posts: 507
|
Posted: Mon Mar 27, 2006 5:05 pm Post subject: |
|
|
dylan_stark wrote: | After 96 programs in system and 387 in world and after ~2 days on my 850mhz Duron I have gentoo precompiled without any problems.
I only have one last rather dumb question. Do i need to reboot machine now? Because, everything works fine and i hate rebooting |
You might want to recompile your kernel and reboot if your gcc was upgraded... |
|
Back to top |
|
|
DeepBass909 Tux's lil' helper
Joined: 23 Jan 2005 Posts: 81 Location: Netherlands
|
Posted: Fri Mar 31, 2006 7:46 am Post subject: |
|
|
After updating to gcc-3.4.5 I keep getting this error when I try to update midnight command:
Code: | fmt mfmt.o
i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/include/gssapi -Wall -o man2hlp man2hlp.o -lglib-2.0
../vfs/libvfs-mc.a(smbfs.o): In function `loaddir_helper':
smbfs.c:(.text+0xd9f): undefined reference to `LocalTime'
../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path':
smbfs.c:(.text+0x264b): undefined reference to `write_socket'
collect2: ld gaf exit-status 1 terug
make[2]: *** [mc] Fout 1
make[2]: *** Wachten op onafgeronde taken...
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0/src'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0'
make: *** [all] Fout 2
!!! ERROR: app-misc/mc-4.6.0-r14 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
mc-4.6.0-r14.ebuild, line 109: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant. |
Especially these lines keep on turning up: Code: | !!! ERROR: app-misc/mc-4.6.0-r14 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
mc-4.6.0-r14.ebuild, line 109: Called die |
My emerge --info:
Code: | Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 mobile AMD Athlon(tm) XP 2500+
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-r7
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=athlon-xp -pipe -fomit-frame-pointer"
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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="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://gentoo.scphost.com ftp://gentoo.mirrors.scphost.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.twaren.net/Linux/Gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ "
LANG="nl_NL.utf8"
LC_ALL="nl_NL.utf8"
LINGUAS="nl en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-bmg-main /usr/local/portage-bmg-gnome /usr/local/portage-gentoo-de /usr/local/portage-fluidportage /usr/local/xgl-coffee /usr/local/prive"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi aim alsa apm arts asf avi berkdb bitmap-fonts bluetooth bzip bzip2 cairo cdparanoia cdr crypt cups dbus dri dv dvd dvdread eds emboss encode esd exif ffmpeg flac foomaticdb fortran ftp gd gdbm gif glibc-omitfp glitz gphoto gphoto2 gpm gstreamer gtk gtk2 hal icq ieee1394 imagemagick imap imlib ipv6 jabber jack java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww lm_sensors mad madwifi memlimit mikmod mmx mmxext motif mozcalendar mozilla mp3 mpeg mplayer msn nas ncurses nls nsplugin offensive ogg oggvorbis opengl oss pam pcmcia pdflib perl pmu png python qt quicktime readline real rtc samba sdl slang spell sse ssl svg symlink tcpd theora tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l vcd vchroot vorbis win32codecs xine xml2 xmms xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_nl linguas_en_GB userland_GNU video_cards_fglrx video_cards_vesa"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS |
Who can help me on this? |
|
Back to top |
|
|
cantao Apprentice
Joined: 07 Jan 2004 Posts: 166
|
Posted: Wed Jun 21, 2006 5:08 pm Post subject: gcc upgrade 3.3.6 -> 3.4.6 |
|
|
Hi Friends!
I have two servers (disk, web, email, wiki, etc) that are still using gcc 3.3.6. These servers cannot be turned off or stopped (well, they are servers after all )
The question is plain and simple: this update (following the guides on gentoo.org / gentoo-wiki.com) is a more or less "controlled situation", or something quite weird can happen during the proccess?
My fear concerns basically the intermediary packages, with part of the system still with 3.3.6 interacting with the newly compiled 3.4.6 packages.
Adding to the situation comes the fact that I'm most of the time very far (physically) from the machines, so "boot with the LiveCD to fix this or that" is a no-no.
Thanks a lot, Cantão! |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Jun 21, 2006 5:37 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 |
|
|
DeepBass909 Tux's lil' helper
Joined: 23 Jan 2005 Posts: 81 Location: Netherlands
|
Posted: Fri Jun 23, 2006 10:10 am Post subject: |
|
|
DeepBass909 wrote: | After updating to gcc-3.4.5 I keep getting this error when I try to update midnight command:
Code: | fmt mfmt.o
i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/include/gssapi -Wall -o man2hlp man2hlp.o -lglib-2.0
../vfs/libvfs-mc.a(smbfs.o): In function `loaddir_helper':
smbfs.c:(.text+0xd9f): undefined reference to `LocalTime'
../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path':
smbfs.c:(.text+0x264b): undefined reference to `write_socket'
collect2: ld gaf exit-status 1 terug
make[2]: *** [mc] Fout 1
make[2]: *** Wachten op onafgeronde taken...
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0/src'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0'
make: *** [all] Fout 2
!!! ERROR: app-misc/mc-4.6.0-r14 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
mc-4.6.0-r14.ebuild, line 109: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant. |
Especially these lines keep on turning up: Code: | !!! ERROR: app-misc/mc-4.6.0-r14 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
mc-4.6.0-r14.ebuild, line 109: Called die |
My emerge --info:
Code: | Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 mobile AMD Athlon(tm) XP 2500+
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-r7
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=athlon-xp -pipe -fomit-frame-pointer"
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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="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://gentoo.scphost.com ftp://gentoo.mirrors.scphost.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.twaren.net/Linux/Gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ "
LANG="nl_NL.utf8"
LC_ALL="nl_NL.utf8"
LINGUAS="nl en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-bmg-main /usr/local/portage-bmg-gnome /usr/local/portage-gentoo-de /usr/local/portage-fluidportage /usr/local/xgl-coffee /usr/local/prive"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi aim alsa apm arts asf avi berkdb bitmap-fonts bluetooth bzip bzip2 cairo cdparanoia cdr crypt cups dbus dri dv dvd dvdread eds emboss encode esd exif ffmpeg flac foomaticdb fortran ftp gd gdbm gif glibc-omitfp glitz gphoto gphoto2 gpm gstreamer gtk gtk2 hal icq ieee1394 imagemagick imap imlib ipv6 jabber jack java javascript jpeg kde kdeenablefinal kdexdeltas libg++ libwww lm_sensors mad madwifi memlimit mikmod mmx mmxext motif mozcalendar mozilla mp3 mpeg mplayer msn nas ncurses nls nsplugin offensive ogg oggvorbis opengl oss pam pcmcia pdflib perl pmu png python qt quicktime readline real rtc samba sdl slang spell sse ssl svg symlink tcpd theora tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l vcd vchroot vorbis win32codecs xine xml2 xmms xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_nl linguas_en_GB userland_GNU video_cards_fglrx video_cards_vesa"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS |
Who can help me on this? |
I have found the reson for this error. It had nothing to do with GCC 3.3.4, but everything with the samba module of MC. Emerging the newer, ~x86 version resolved the problem. |
|
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
|
|