Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 3.4
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 71, 72, 73  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Mon Sep 13, 2004 11:01 am    Post subject: Reply with quote

ive always used this to update my system, because i knew openoffice and some other stuff would fail:

Code:
#!/bin/bash

resume() {
        emerge --resume --skipfirst
        if [ $? = "1" ]; then
          resume
        fi
}

emerge -e system
if [ $? = "1" ]; then
  resume
fi

emerge -e world
if [ $? = "1" ]; then
  resume
fi

emerge depclean
revdep-rebuild


dunno if its of interest ^^
Back to top
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Mon Sep 13, 2004 11:10 am    Post subject: Reply with quote

Someone posted a cleverer script on these forums for that - after it's done it tells you which packages failed...
_________________
the forums.gentoo.org poster formally known as metal leper
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Mon Sep 13, 2004 11:14 am    Post subject: Reply with quote

i review /var/log/emerge.log for that,
the script isnt meant as a perfect tool or whatsoever.
I just use it so that i can sleep while gentoo is recompiling^^
Back to top
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Mon Sep 13, 2004 12:34 pm    Post subject: Reply with quote

3.4.2-r1 is now marked ~x86

I wasn't saying that there was anything wrong with your script, but I know that some people are lazy and don't want to look at logs :wink:
_________________
the forums.gentoo.org poster formally known as metal leper
Back to top
View user's profile Send private message
nbkolchin
Apprentice
Apprentice


Joined: 07 Feb 2004
Posts: 290
Location: Russia, Saint-Petersburg

PostPosted: Mon Sep 13, 2004 2:59 pm    Post subject: Reply with quote

metal leper wrote:
3.4.2-r1 is now marked ~x86

I wasn't saying that there was anything wrong with your script, but I know that some people are lazy and don't want to look at logs :wink:


3.4.2-r1 don't install on my machine during patches apply. :(
Hope this will be fixed soon.

Code:

Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-3.4.2-r1 to /
>>> md5 src_uri ;-) gcc-3.4.2.tar.bz2
>>> md5 src_uri ;-) protector-3.4.1-1.tar.gz
>>> md5 src_uri ;-) gcc-3.4.2-manpages.tar.bz2
>>> md5 src_uri ;-) gcc-3.4.2-patches-1.1.tar.bz2
>>> md5 src_uri ;-) gcc-3.4.0-piepatches-v8.7.6.5.tar.bz2
>>> Unpacking source...
>>> Unpacking gcc-3.4.2.tar.bz2 to /mnt/oktet/tmp/portage/gcc-3.4.2-r1/work
>>> Unpacking gcc-3.4.2-patches-1.1.tar.bz2 to /mnt/oktet/tmp/portage/gcc-3.4.2-r1/work
/usr/portage/eclass/toolchain.eclass: line 197: pushd: /mnt/oktet/tmp/portage/gcc-3.4.2-r1/work/gcc-: No such file or directory
>>> Unpacking protector-3.4.1-1.tar.gz to /mnt/oktet/tmp/portage/gcc-3.4.2-r1/work
>>> Unpacking gcc-3.4.0-piepatches-v8.7.6.5.tar.bz2 to /mnt/oktet/tmp/portage/gcc-3.4.2-r1/work
/usr/portage/eclass/toolchain.eclass: line 207: popd: directory stack empty
 * Excluding piepatch upstream/04_all_gcc-3.4.0-v8.7.6.1-pie-arm-uclibc.patch.bz2
/usr/portage/eclass/toolchain.eclass: line 390: cd: /mnt/oktet/tmp/portage/gcc-3.4.2-r1/work/gcc-: No such file or directory
 * Applying various patches (bugfixes/updates)...
 *   01_all_gcc34-ice-hack.patch.bz2...

 * Failed Patch: 01_all_gcc34-ice-hack.patch.bz2!
 *
 * Include in your bugreport the contents of:
 *
 *   /mnt/oktet/tmp/portage/gcc-3.4.2-r1/temp/01_all_gcc34-ice-hack.patch.bz2-9380.out


!!! ERROR: sys-devel/gcc-3.4.2-r1 failed.
!!! Function epatch, Line 395, Exitcode 0
!!! Failed Patch: 01_all_gcc34-ice-hack.patch.bz2!


Nickolay
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Mon Sep 13, 2004 3:18 pm    Post subject: Reply with quote

Sorry for haven't read all the 70 pages, but are there any "must have" CFLAGS for my athlon-xp?
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2801
Location: Oceanside, Ca

PostPosted: Mon Sep 13, 2004 3:51 pm    Post subject: Reply with quote

Realmaker Look on pg 68 at the top for robmoss's post.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Mon Sep 13, 2004 4:14 pm    Post subject: Reply with quote

Or see the CFLAGS Central Thread.
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Mon Sep 13, 2004 5:43 pm    Post subject: Reply with quote

big problems after last emerge -uD world... everything went fine and smoth, gcc 3.4 got compiled & installed, but after that:

Code:
Calculating world dependencies ...done!
>>> emerge (1 of 23) sys-apps/groff-1.19.1 to /
>>> md5 src_uri ;-) groff-1.19.1.tar.gz
>>> Unpacking source...
>>> Unpacking groff-1.19.1.tar.gz to /var/tmp/portage/groff-1.19.1/work
 * Applying groff-1.18-infoext.patch...                                                                               [ ok ]
 * Applying groff-1.18-no-netpbm-depend.patch...                                                                      [ ok ]
 * Applying groff-man-UTF-8.diff...                                                                                   [ ok ]
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

!!! ERROR: sys-apps/groff-1.19.1 failed.
!!! Function src_compile, Line 82, Exitcode 1
!!! (no error message)


lowered CFLAGS to nothing, recompiled glibc,... to no avail. looks like i b0rked my system...

btw, will blackdown-jdk work with gcc3.4-compiled binaries (and is there an easy way to switch back to gcc 3.3 for the moment and still stay ~x86)?
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
dkite
n00b
n00b


Joined: 15 Dec 2002
Posts: 11
Location: Nelson, BC

PostPosted: Mon Sep 13, 2004 7:17 pm    Post subject: Borked gcc Reply with quote

I too get the same error from the groff update.

And for more info, I emerged kdelibs-5 using the kdecvs stuff. This is the error that I get....

Code:
/usr/qt/3/bin/moc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


and indeed, there isn't a libstdc++.so.6 in /usr/libs.

Any ideas?

Derek
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2766
Location: Pittsburgh, PA, USA

PostPosted: Mon Sep 13, 2004 8:51 pm    Post subject: Reply with quote

Quote:
Sorry for haven't read all the 70 pages


:lol: I hope nobody has... I wish there was a better way for handling threads when they get out of hand like this. And I know this comment is not helping the cause.

[EDIT]
Quote:
Someone posted a cleverer script on these forums for that - after it's done it tells you which packages failed


Anyone have a link??

[/EDIT]
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Mon Sep 13, 2004 9:25 pm    Post subject: KDE Apps crash Reply with quote

Hi,

I'm running KDE 3.3.0 and with gcc 3.4.2-r1, after closing kmail and arts, they crash with a signal 11. Anybody got any suggestions on how to fix this??

I re-emerged qt, kdelibs, xorg-x11, after upgrading gcc, but still, qt apps crash.
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Mon Sep 13, 2004 9:29 pm    Post subject: Reply with quote

I have went through pages 71 and 70 but haven't found an answer to my solution so I'm asking here, I was on gcc-3.4.1-r2, and now that 3.4.2-r1 is released, portage wants to install it as "N" instread of a "U"!!

Anyone else getting this?

A few threads back someone said if you compile xorg with -march=pentium4 without -mno-sse it won't compile :| I have xorg-x11 running (compiled with gcc-3.4.1-r2) and it works completely fine. Just that, xffm and gaim will freeze my computer xD hahaha I guess the switch to 3.4 really was crazy ;) Oh well I'll try everybuddy and hope it doesn't kill me.

Thank you.

Edit: I tried xorg 6.7.0-r2 and my crashes/lockups went away.
http://forums.gentoo.org/viewtopic.php?p=1536604#1536604
Back to top
View user's profile Send private message
dkite
n00b
n00b


Joined: 15 Dec 2002
Posts: 11
Location: Nelson, BC

PostPosted: Tue Sep 14, 2004 4:15 am    Post subject: Fixed libstc++.so.6 problem Reply with quote

Aha. In /etc/env.d/05gcc the LDPATH was pointing to /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.1 instead of /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2 as is should.

Also /etc/env.d/gcc/config had

CURRENT=i686-pc-linux-gnu-3.4.1
instead of
CURRENT=i686-pc-linux-gnu-3.4.2

Fixed those two, ran env-update, and all is well with the world.

Derek
Back to top
View user's profile Send private message
glamdring
n00b
n00b


Joined: 23 Oct 2003
Posts: 42

PostPosted: Tue Sep 14, 2004 5:06 am    Post subject: Reply with quote

did it, you're the man :D
_________________
it said "win95 or better" on the box... so i installed linux
Back to top
View user's profile Send private message
Bonkie
Guru
Guru


Joined: 28 Oct 2002
Posts: 501
Location: Antwerpen, Belgium

PostPosted: Tue Sep 14, 2004 12:37 pm    Post subject: Re: Fixed libstc++.so.6 problem Reply with quote

dkite wrote:
Aha. In /etc/env.d/05gcc the LDPATH was pointing to /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.1 instead of /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2 as is should.

Also /etc/env.d/gcc/config had

CURRENT=i686-pc-linux-gnu-3.4.1
instead of
CURRENT=i686-pc-linux-gnu-3.4.2

Fixed those two, ran env-update, and all is well with the world.

Derek


Had the same problem, and that fixed it. U should file bug report :wink:
_________________
"I would say we have a 50% chance of survival, but I consider myself an optimist so I'll give us 50,5% ..."
~ Arthur C. Clarke [Physics PHD,SF Writer], when asked about the chances of the human race's survival
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Tue Sep 14, 2004 4:12 pm    Post subject: Problem with /lib/libthread_dt-1.0.so Reply with quote

I've emerged gcc-3.4.2-r1 and reemerged glibc. Executing
/lib/libthread_db-1.0.so causes segfault. Thus running any program dependant on this library segfaults. I'm running into this with arts. Anybody else has experienced this?

My emerge info:
Code:
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=pentium4 -mno-sse2 -ftracer -fmove-all-movables -fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=pentium4 -mno-sse2 -ftracer -fmove-all-movables -fomit-frame-pointer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts artswrappersuid avi berkdb bitmap-fonts cdr crypt cups dvd encode esd flac foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imlib java jikes jpeg kde libg++ libwww mad maildir mikmod mmx motif moznocalendar moznoirc mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline sdl slang smime spell sse ssl svga tcpd truetype unicode video_cards_i810 x86 xml2 xmms xprint xv zlib"


GCC -v:
Code:
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/specs
Configured with: /var/tmp/portage/gcc-3.4.2-r1/work/gcc-3.4.2/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3 --host=i686-pc-linux-gnu --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --with-gnu-ld --enable-threads=posix --disable-multilib --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2  (Gentoo Linux 3.4.2-r1, ssp-3.4.1-1, pie-8.7.6.5)
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2801
Location: Oceanside, Ca

PostPosted: Tue Sep 14, 2004 4:56 pm    Post subject: Reply with quote

Another way to make sure your useing 3.4.2 is
Code:
 gcc-config -P i686-pc-linux-gnu-3.4.2
# then

~ $ gcc-config -l
[1] i686-pc-linux-gnu-3.3.3
[2] i686-pc-linux-gnu-3.4.2

# to select 3.4.2

gcc-conifig 2

# to be safe
 
env-update
source /etc/profile

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Tue Sep 14, 2004 5:04 pm    Post subject: Reply with quote

el_compa: You're probably going to have to remerge more than just glibc... An emerge -e world would probably do it, but at the very least you should try remerging anything that stopped working.
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Tue Sep 14, 2004 5:32 pm    Post subject: What else could it be? Reply with quote

StringCheesian: It seems it breaks with /lib/libthread_db-1.0.so, it segfaults when I try to execute it. I've seen a similar report with GCC 3.4.1. I've reemerged binutils and gcc also, but to no avail. Not to be pedantic or anything but is it really necessary to reemerge -e world. It seems that only those things depending on /lib/libthread_db-1.0.so is crashing.

BTW, I compiled glibc with NPTL
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2801
Location: Oceanside, Ca

PostPosted: Tue Sep 14, 2004 8:44 pm    Post subject: Reply with quote

Updated to 3.4.2 and xorg wouldnt build. SO I came up with a mini bootstarp and got me thru xorg.
Code:

 cat minibt.lst
linux26-headers
binutils
gcc
gettext
glibc
textinfo
zlib
ncurses
xorg-x11
=x11-libs/gtk+-2.4.9
=x11-libs/gtk+-1.2.10-r11
gtk-engines

for i in $(cat mini.lst);do emerge --oneshot $i; done

That fixed my libaries and xorg built fine.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
edmondo
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2004
Posts: 110

PostPosted: Wed Sep 15, 2004 6:32 am    Post subject: Re: Problem with /lib/libthread_dt-1.0.so Reply with quote

el_compa wrote:
I've emerged gcc-3.4.2-r1 and reemerged glibc. Executing
/lib/libthread_db-1.0.so causes segfault. Thus running any program dependant on this library segfaults. I'm running into this with arts. Anybody else has experienced this?


el_compa, yes, I experienced exaclty the same problems.
I reemerged the system two time (emerge -e system) and emerged xorg-x11, qt, arts and everything else, but the error remains.
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Wed Sep 15, 2004 7:26 am    Post subject: GCC Downgrade Reply with quote

Ive just synched portage and noticed that emerge wants to downgrade gcc to 3.4.1-r2. Im going to do that, then do emerge -e system and then reemerge qt and arts, to see if it fixes this problem.
Back to top
View user's profile Send private message
el_compa
n00b
n00b


Joined: 28 Jan 2004
Posts: 65
Location: France

PostPosted: Wed Sep 15, 2004 12:52 pm    Post subject: Still happening, but fixed Reply with quote

Still it crashes /lib/libthread_db-1.0.so, but arts is running OK now. I did a emerge -e system, and reinstalled kde.

;)
Back to top
View user's profile Send private message
edmondo
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2004
Posts: 110

PostPosted: Wed Sep 15, 2004 5:24 pm    Post subject: Re: Still happening, but fixed Reply with quote

el_compa wrote:
Still it crashes /lib/libthread_db-1.0.so, but arts is running OK now. I did a emerge -e system, and reinstalled kde.


el_compa, do you have again the kmail sigfault or does it disappear? Now after reemerging half of the world (and kdepim as well), the crash disappeared. :-) (Or I cannot reproduce it anymore)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3 ... , 71, 72, 73  Next
Page 72 of 73

 
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