View previous topic :: View next topic |
Author |
Message |
plate Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/cbd8300c3d6b344dade9f.jpg)
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Tue Sep 16, 2003 8:34 pm Post subject: |
|
|
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... ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Wolfpack98 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo.gif)
Joined: 11 Mar 2003 Posts: 61 Location: USA
|
Posted: Tue Sep 16, 2003 9:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ebrostig Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/4178381723f43ac76c68ad.gif)
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Sep 17, 2003 12:34 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cyfred Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 23 Aug 2002 Posts: 596
|
Posted: Wed Sep 17, 2003 12:59 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Seoushi Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/7697937013e4da4b965cc5.jpg)
Joined: 04 Feb 2003 Posts: 117 Location: Salt Lake City
|
Posted: Wed Sep 17, 2003 1:03 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
b0fh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/764851073415e70bdd3345.jpg)
Joined: 16 Jun 2003 Posts: 426
|
Posted: Wed Sep 17, 2003 8:15 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Bollie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jul 2002 Posts: 24
|
Posted: Wed Sep 17, 2003 9:19 am Post subject: Ugh. Borken EVERYTHING! |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Paper Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mystilleef Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_edwin.gif)
Joined: 27 Apr 2003 Posts: 561 Location: Earth
|
Posted: Wed Sep 17, 2003 10:19 am Post subject: Portage going down the drain? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jamon Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2002 Posts: 173
|
Posted: Wed Sep 17, 2003 10:33 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
neenee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/72168911541dc0b1224415.png)
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Wed Sep 17, 2003 10:39 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
plate Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/cbd8300c3d6b344dade9f.jpg)
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Wed Sep 17, 2003 10:50 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
plate Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/cbd8300c3d6b344dade9f.jpg)
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Wed Sep 17, 2003 10:54 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
neenee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/72168911541dc0b1224415.png)
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Wed Sep 17, 2003 10:59 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Paper Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
Posted: Wed Sep 17, 2003 11:05 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
neenee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/72168911541dc0b1224415.png)
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Wed Sep 17, 2003 11:12 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Paper Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
Posted: Wed Sep 17, 2003 11:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
neenee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/72168911541dc0b1224415.png)
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Wed Sep 17, 2003 11:24 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Paper Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 Jul 2002 Posts: 79 Location: Milan, Italy
|
Posted: Wed Sep 17, 2003 11:26 am Post subject: |
|
|
the problem with nvidia-kernel is just a known problem of module-init-tools.
just rename nvidia.o to nvidia.ko and load it ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neenee Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/72168911541dc0b1224415.png)
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Wed Sep 17, 2003 11:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
loginx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/5470497253e52b9ba5b24b.png)
Joined: 14 Aug 2002 Posts: 68 Location: Windsor Ontario, Canada
|
Posted: Wed Sep 17, 2003 2:22 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
loginx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/5470497253e52b9ba5b24b.png)
Joined: 14 Aug 2002 Posts: 68 Location: Windsor Ontario, Canada
|
Posted: Wed Sep 17, 2003 3:21 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tsuru Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 19 Apr 2002 Posts: 99 Location: Nashville, Tennessee, USA
|
Posted: Wed Sep 17, 2003 4:38 pm Post subject: Quick Fix worked for me |
|
|
The quick fix worked for me as of yet. I've emerged xmms and abiword since and haven't had any segfaults.
thank you ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mariourk l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/17564073564d54f55cd1671.gif)
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Wed Sep 17, 2003 5:33 pm Post subject: |
|
|
bsolar wrote: | A binary package is available here. ![Very Happy :D](images/smiles/icon_biggrin.gif) |
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 ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ebrostig Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/4178381723f43ac76c68ad.gif)
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Sep 17, 2003 6:41 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|