You are not logged in.

#1 2004-05-18 02:12:08

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 332
Website

Revert from gcc-3.4.0 to gcc-3.3.3

I'm trying to install VMware but I'm having a problem.  When i compiled my kernel, i used gcc-3.3.3 and now i've since upgraded to gcc-3.4.0.  However, VMware complains that i need to use the same gcc that I used to compile my kernel.  I'd rather not recompile my kernel.  Is there a simple way to revert gcc back to version 3.3.3.

Thanks


In my 10th year of Arch

Offline

#2 2004-05-18 07:25:07

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Revert from gcc-3.4.0 to gcc-3.3.3

This gcc 3.4 thing is deadly. I just tried to build a 2.6.6 kernel,
and it will not get past make menuconfig.
Then it barfs real bad about an internal gcc error and requests
a bug report. There is no way I can find to get round this.
So the problem is to replace gcc 3.4 with something that works.

Getting rid of gcc 3.4 is easy. Just remember that somthing else might break when you do this.

 pacman -Rd gcc 

Getting gcc 3.3 is easy too,

ftp.ibiblio.org::distros/archlinux/0.6/os/i686/gcc-3.3.3-1.pkg.tar.gz 

you can use another rsynch server if you wish.

My problem is how to convince pacman that gcc 3.3
should be in a database?

 :?: pacman -A ?? gcc 3.3 :?: 

My local current.db.tar.gz only believes in gcc 3.4
After this problem is fixed, you need an entry in your
/etc/pcman.conf that adds gcc to the NoUpgrade list.

Sorry I only have half the answer to your problem. However it is also possible to run 2 different versions of gcc ( according to the gcc people ) but I have never tried to do that.


--(*(cs25x--));

Offline

#3 2004-05-18 08:57:19

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Yes, it's possible to have two gcc versions.
When I build Linux From Scratch, it had me install
gcc 2.9x and gcc 3.x.

This shows how to install 2.9x when the other one is already installed. As you can see in it, you have to give '--prefix=/opt/gcc-2.95.3' or whatever you want to the gcc configure script.

Hope this helped somehow.

Offline

#4 2004-05-18 09:47:13

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Revert from gcc-3.4.0 to gcc-3.3.3

in more ways than one.
I have removed 3.4, and installed 3.3
but small things lime man dont work anymore.
However the kernel 2.6.6 does compile ( so far ), and after I
install it, I will upgrade back to gcc 3.4

I type too soon, kernel build falls over, but gets quite a distance into the build. So the answer is to keep gcc 3.4, and do a seperate installation of 3.3.whatever.
I tried all that on a spare box, so it is not a disaster, and reinstalling arch is not a problem,  but when I do I will zap gcc upgrades in /etc/pacman.conf


--(*(cs25x--));

Offline

#5 2004-05-18 12:44:20

jak
Member
From: Charlotte, NC, USA
Registered: 2004-04-08
Posts: 84

Re: Revert from gcc-3.4.0 to gcc-3.3.3

cs25x wrote:

This gcc 3.4 thing is deadly. I just tried to build a 2.6.6 kernel,and it will not get past make menuconfig

I've built 2.6.5 and 2.6.6 kernels here with gcc 3.4, never had a problem with menuconfig. I also recompiled glibc with -O3, using gcc 3.4, and have no problems. gcc 3.4 fixed many bugs which remain in 3.3.X.

I did have some weirdness with arch after installing, but that was before I used abs to recompile everything from source. After using gcc 3.4 to recompile all my packages with -O3, and using pacman -U to upgrade each package, I've had no problems.


The sturgeon general says don't smoke fish

Offline

#6 2004-05-18 12:47:27

jak
Member
From: Charlotte, NC, USA
Registered: 2004-04-08
Posts: 84

Re: Revert from gcc-3.4.0 to gcc-3.3.3

cs25x wrote:

I type too soon, kernel build falls over

Sounds like hardware problems. No problem here with kernel build using gcc 3.4.


The sturgeon general says don't smoke fish

Offline

#7 2004-05-18 13:48:02

Lovechild
Member
From: Århus, Denmark
Registered: 2003-09-24
Posts: 64

Re: Revert from gcc-3.4.0 to gcc-3.3.3

kernel 2.6.6 builds just fine on gcc 3.4 and gcc-current for that matter - Andrew pushed patches to Linux for 2.6.5 I recall - we had (and made) a large part of them in Love-sources, and I have personally build several kernels with this compiler and the prereleases - hell I ran CVS when I was on Gentoo just for the hell of it.


I'm proud to be a a freedomloving infidel piece of treehugging eurotrash.

Offline

#8 2004-05-19 04:13:10

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 332
Website

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Thanks for y'alls help.  I was able to download the gcc-3.3.3-1.pkg.tar.gz and then use

pacman --upgrade gcc-3.3.3-1.pkg.tar.gz

obviously there were several things that then failed, but I was able to run vmware-install.pl and get it installed. Then after running the vmware-config.pl script I ran pacman -Syu and returned to gcc-3.4.0

Unfortunatly, I'm getting other issues with VMware.  But I'll worry about that later.

Thanks for the help


In my 10th year of Arch

Offline

#9 2004-05-19 04:40:36

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Hardware is perfect.
Celery 1.8
1G ram.

I built a 2.3 kernel on that box, no problems.

I have not got round to doing a fresh install yet, but like I said, linux 2.6.6 & gcc 3.4 falls over on make menuconfig, claiming an internal gcc error and a request for a bug report.
After I find the CD and revitalise it, I will upgrade immediately and see if it still barfs.
Right now I am on a more important machine, and there is no way I will touch this baby.
P 2.2
384M ram
gcc 3.4
linux 2.6.5 strainght from the archives.


--(*(cs25x--));

Offline

#10 2004-05-19 10:34:36

Lovechild
Member
From: Århus, Denmark
Registered: 2003-09-24
Posts: 64

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Do we apply patches to our GCC?

Also the full error would be helpful along with a CORRECTED bugreport, you mention kernel 2.6.5 and 2.6.6  - WHICH is it

Seriously this looks more to me like "I can't make it fucking work so you all suck" than a real bugreport.


I'm proud to be a a freedomloving infidel piece of treehugging eurotrash.

Offline

#11 2004-05-19 11:17:44

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Revert from gcc-3.4.0 to gcc-3.3.3

He's using VMware, I wouldn't bother trying to fix it, really.

GCC isn't patched (why should it?) as far as I know, but you can check that on the Arch website by searching for gcc. On the package info page there's a link to the web CVS of the pkgbuild.

Offline

#12 2004-05-19 11:22:48

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: Revert from gcc-3.4.0 to gcc-3.3.3

VMWare is designed to use System V startup scripts and only supports that.
I think Arch uses the BSD style startup scripts.

It can be cheated to be installed on a bsd style system though...

Offline

#13 2004-05-19 13:05:00

jak
Member
From: Charlotte, NC, USA
Registered: 2004-04-08
Posts: 84

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Lovechild wrote:

Seriously this looks more to me like "I can't make it fucking work so you all suck"

For a while there, arch was a nice quiet neighborhood. But now there's an influx of gentoo refugees who bring their characteristic profanity and bad attitude. There goes the neighborhood.


The sturgeon general says don't smoke fish

Offline

#14 2004-05-19 18:03:37

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Revert from gcc-3.4.0 to gcc-3.3.3

jak wrote:

For a while there, arch was a nice quiet neighborhood. But now there's an influx of gentoo refugees who bring their characteristic profanity and bad attitude. There goes the neighborhood.

Nice discrimination. Guess you don't even feel embarrased. If you want to insult certain people then do it in their face, not cowardly with a general discriminating statement.

[To some forum mod: perhaps a good idea to do something before this flaming continues? wink ]

Offline

#15 2004-05-19 18:13:10

yak8998
Member
Registered: 2004-03-01
Posts: 143

Re: Revert from gcc-3.4.0 to gcc-3.3.3

Lovechild is hardcore linux, he had his own kernel MAN


"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols

Offline

#16 2004-05-19 23:43:46

Egil.B
Member
From: Universitas Osloensis
Registered: 2004-02-14
Posts: 116

Re: Revert from gcc-3.4.0 to gcc-3.3.3

jak wrote:

For a while there, arch was a nice quiet neighborhood. But now there's an influx of gentoo refugees who bring their characteristic profanity and bad attitude. There goes the neighborhood.

Isn't it ironic how you just borked the thread with your bad attitude? There was "gentoo refugees" here before you joined you know. roll

Offline

Board footer

Powered by FluxBB