Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with gcc 3.3.1-r2?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Tue Sep 16, 2003 8:34 pm    Post subject: Reply with quote

Quick fix:

Code:
mv $(gcc-config -L)/libgcc_s.a $(gcc-config -L)/libgcc.a


and then remerge whatever didn't compile before.

This tip courtesy of Martin Schlemmer... 8)
Back to top
View user's profile Send private message
Wolfpack98
n00b
n00b


Joined: 11 Mar 2003
Posts: 61
Location: USA

PostPosted: Tue Sep 16, 2003 9:39 pm    Post subject: Reply with quote

Pilla:

Kinda hard to stick to -r1 if emerge -u world pulls down the latest (broken) ebuild :)

I haven't had a chance to check it again, but if emerge -u world pulls it down again, I'm gonna mask it and go with the previous version (-r1 if it exists)
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Sep 17, 2003 12:34 am    Post subject: Reply with quote

This is very interesting.

I emerged 3.3.1-r2 today on a testbox and have since then emerged several programs (xplanet and vnc are 2 of them) and they all work fine. No segfaults, no nothing.

Is this really related to the new 3.3.1-r2 ebuild?

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Wed Sep 17, 2003 12:59 am    Post subject: Reply with quote

To throw a spanner in the works, xmms segfaults for me when compiled with 3.3.1-r2 but if I recompile with 3.4 CVS xmms works perfectly. Perhaps we should find why gcc suddenly changed.
Back to top
View user's profile Send private message
Seoushi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2003
Posts: 117
Location: Salt Lake City

PostPosted: Wed Sep 17, 2003 1:03 am    Post subject: Reply with quote

I think this affected me too. I upgraded alot of stuff including gcc and tryed to get gnome 2.4 up. In the process my first terminal locked up.. I couldnt log out or even reboot, but everything compiled fine after gcc. So now I'm downgrading to gcc 3.2.3-r1 off a live cd.

what all do I need to re-emerge to boot? whenever I boot it checks my disk.. then right after it finished I get a segfault about line 259 in /sbin/rc.

Oh well, think I might stay off accepting keywords for awhile.
_________________
-Seoushi
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Wed Sep 17, 2003 8:15 am    Post subject: Reply with quote

I've also got this problem :( At least I can boot again after copying fsck.reiserfs from livecd. Is there any log about what update emerged after buggy gcc?
Back to top
View user's profile Send private message
Bollie
n00b
n00b


Joined: 17 Jul 2002
Posts: 24

PostPosted: Wed Sep 17, 2003 9:19 am    Post subject: Ugh. Borken EVERYTHING! Reply with quote

That'll teach me to be on the bleeding edge!

So, I emerged the borken gcc. Right after that I emerged basically everything. What broke quite seriously is the following:

glibc
coreutils
module-init-tools

I'm downloading a Gentoo LiveCD right now so I can manually copy over the borken glibc. The last time I installed Gentoo, I used the 1.2 CD... *sigh*

If anyone can help me with a binary glibc-2.3.2 (with or without nptl, I don't mind) I would be exceedingly glad.

Ah, well... only 15 hours of D/L-ing to go before the liveCD shows up and I have to finangle some way of writing it...
_________________
"-and those damned stupid barbarians with their
damned stupid swords will win after all..."
-- Larry Niven (The Magic Goes Away)
Back to top
View user's profile Send private message
Paper
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 79
Location: Milan, Italy

PostPosted: Wed Sep 17, 2003 9:22 am    Post subject: Reply with quote

here there are binary packages: http://dev.gentoo.org/~avenj/bins/

good luck :)

Bye,
Paper
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Wed Sep 17, 2003 10:19 am    Post subject: Portage going down the drain? Reply with quote

Wow...I need to be very careful with portage now. I still can't get about two packages to compile with GCC-3.3.1, KOffice-1.2.1-r1 been the most useful of them, at least to me.

-Mystilleef
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
Back to top
View user's profile Send private message
Jamon
Apprentice
Apprentice


Joined: 03 May 2002
Posts: 173

PostPosted: Wed Sep 17, 2003 10:33 am    Post subject: Reply with quote

Thanks to all of you on this thread for your invaluable help! I am up and running again. :)

Jamon
_________________
Looking for a Linux PC? Check us out at
http://www.progresssystemsinc.com!
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Wed Sep 17, 2003 10:39 am    Post subject: Reply with quote

hm.. i am still with gcc 3.3.1-r2. i just compiled some more
packages - the largest of them being qt 3.2.1... no errors
during compile.

i am compiling coreutils and module-init-tools now, and
then i will try glibc. then a reboot and hopefully i will be
back to report back.
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Wed Sep 17, 2003 10:50 am    Post subject: Reply with quote

ebrostig wrote:
Is this really related to the new 3.3.1-r2 ebuild?

Apparently it only affects^Hed stuff that compiled with GTK+2 support. Anyway, -r2 is in package.mask now for the time being, case closed.
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Wed Sep 17, 2003 10:54 am    Post subject: Reply with quote

By the way, could someone please confirm whether the quick and dirty fix described at the top of this page works or not?
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Wed Sep 17, 2003 10:59 am    Post subject: Reply with quote

hmm... i am back. reboot went okay.. but now
my nvidia-kernel module can not be loaded.

it gives me an error about /dev/nvidiactrl or
something.

i reckon this is because of the module-init-tools
problem?

hmm.. what does that fix do at the top of this
page? can i use it and then recompile my module-
init-tools so that it works again?

(i tried it but it gives me the following error msg:
mv: cannot stat `/usr/lib/gcc-lib/i686-pc-linux-gnu
/3.3.1/libgcc_s.a': No such file or directory)

*update* i browsed through the bugzilla section
and am now emerging gcc 3.3.1-r1 again. though
i wonder if it will work since i will compile it with -r2.
perhaps i should recompile it again with -r1 after
i have compiled it with -r2?


Last edited by neenee on Wed Sep 17, 2003 11:09 am; edited 1 time in total
Back to top
View user's profile Send private message
Paper
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 79
Location: Milan, Italy

PostPosted: Wed Sep 17, 2003 11:05 am    Post subject: Reply with quote

Yes, it does work ... if gcc-config is not affected.
Otherwise (as in my case) one need only to manually move libgcc.a (in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1) out of the way replacing then with libgcc_s.a (in the same dir). After doing that I also reverted to 3.3.1-r1 for safety, as it was working fine for me.

I think that the new libgcc.a was a fix for some statically linked app not working properly, so reverting to gcc-3.3.1-r1 should make reappear this problem. I don't know for sure, just read something about that in bugzilla.

Bye,
Paper
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Wed Sep 17, 2003 11:12 am    Post subject: Reply with quote

i do have libgcc.a there, but where would i get
libgcc_s.a to put there? or will re-emerging gcc
3.3.1-r1 what i am doing now take care of this
problem?
Back to top
View user's profile Send private message
Paper
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 79
Location: Milan, Italy

PostPosted: Wed Sep 17, 2003 11:17 am    Post subject: Reply with quote

You should be fine with gcc-3.3.1-r1.
The fix was only for systems broken because of -r2.

Bye,
Paper
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Wed Sep 17, 2003 11:24 am    Post subject: Reply with quote

i am running gcc 3.3.1-r2 now and have compiled
various packages with it. i just emerged module-
init-tools + coreutils with it. after reboot my
nvidia-kernel would not be loaded. now i am using
nv in XF86Config to get into X.

i probably did break module-init-tools and coreutils
with gcc 3.3.1-r2, but now i am hoping i can fix that
by emerging gcc 3.3.1-r1 and then recompiling those
two packages. would that do the trick?
Back to top
View user's profile Send private message
Paper
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 79
Location: Milan, Italy

PostPosted: Wed Sep 17, 2003 11:26 am    Post subject: Reply with quote

the problem with nvidia-kernel is just a known problem of module-init-tools.
just rename nvidia.o to nvidia.ko and load it :)
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Wed Sep 17, 2003 11:28 am    Post subject: Reply with quote

so i am emerging gcc-3.3.1-r1 for nothing? boohoo.
what a waste of time. lol. hmm.. i will let it compile
though. and see what happens when i try your
suggestion afterwards.

*update* did ctrl+c on emerging gcc-3.3.1-r1.
trying the nvidia-thing now.

*update 2* that did not work. it still complains
about some /dev/nvidiactrl dir or summat. i will
restart compilation of gcc-3.3.1-r1 now.

*update 3* finished emerging gcc-3.3.1-r1,
recompiled coreutils and module-init-tools and
after a reboot nvidia-kernel and it loaded like
a charm.

unless i noticed something else as broken which
i compiled with -r2, i will leave them as-is.
Back to top
View user's profile Send private message
loginx
n00b
n00b


Joined: 14 Aug 2002
Posts: 68
Location: Windsor Ontario, Canada

PostPosted: Wed Sep 17, 2003 2:22 pm    Post subject: Reply with quote

My big problem so far, even after applying the quick fix posted earlier, all my applications are working fine except emerge.
Any emerge operation (sync, -up world, etc...) display the "Performing Global Updates" dialog and only one dot actually displays... it just hangs there for hours.
Any suggestion?
Back to top
View user's profile Send private message
loginx
n00b
n00b


Joined: 14 Aug 2002
Posts: 68
Location: Windsor Ontario, Canada

PostPosted: Wed Sep 17, 2003 3:21 pm    Post subject: Reply with quote

Actually, it doesn't seem to simply hang but to be working extremely slow.
It's been a couple of hours and all I'm seeing is this:
Performing Global Updates: /usr/portage/profiles/updates/1Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
.!!! Invalid binary package: fortune-mod-9708-r1.tbz2
..........................@


hrmm....
Back to top
View user's profile Send private message
tsuru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 99
Location: Nashville, Tennessee, USA

PostPosted: Wed Sep 17, 2003 4:38 pm    Post subject: Quick Fix worked for me Reply with quote

The quick fix worked for me as of yet. I've emerged xmms and abiword since and haven't had any segfaults.

thank you :)
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Wed Sep 17, 2003 5:33 pm    Post subject: Reply with quote

bsolar wrote:
A binary package is available here. :D


I used the bins you posted and copied the command you gave ( tar -xjf package-name -C / ) I have no idea what it did exactly but after that I could run "emerge --update system" (is running right now) It seems to work fine. Thanks :)

Oh btw, after unpacking all the tar's I runnen env-update. No idea if that was needed but I thought it was better to do so :?
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Sep 17, 2003 6:41 pm    Post subject: Reply with quote

This is a real interesting issue.

On my testbox I emerge the gcc 3.2.3-r2 version. I then ran several emerges of new and previously installed programs and none of them has given me any problems.

I then decided to emerge glibc again using the neew gcc version and it emerged flawlessly. I then proceeded to emerge xmms and it also emerged without a problem and starts and runs fine. Very strange.

Code:

cat info
emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r4, 2.6.0-test4-mm4)
=================================================================
System uname: 2.6.0-test4-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga tcltk java X sdl gpm tcpd libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla acpi dga gtk2 gtkhtml i-wont-file-bugs-at-gentoo-org nptl oci8 ppds sse tiff xd2gen2 -apm -mpeg -pam"

oracle-jc86mqzk root # emerge -p glibc gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] sys-libs/glibc-2.3.2-r1 [2.3.2-r4]
[ebuild   R   ] sys-devel/gcc-3.3.1-r2


I wonder why some people have big problems wheras I have seen no such problems at all?

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 2 of 6

 
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