PDA

View Full Version : gcc for fedora


Root, Dalene Joy
6th June 2005, 07:00 PM
Hi Matt,

Reference Message #10

Forgive me if I sound naive. I am not a programmer. The reason that we
wanted to use gcc 3.4.3-9 on Fedora is because some of our developers
are using Fedora Core 3 and some have purchased Redhat ES4. RHES4 has
gcc-3.4.3-9 while Fedora 3 has 3.4.3-22. There seems to be an
incompatibility between the two versions. Here is an excerpt of the
original complaint.
We have a serious problem with incompatible versions gcc.
It turns out that the versions of gcc that get installed with Fedora
Core 2, Fedora Core 3 and RedHat ES4 are different.
There are instances where compile errors that do not get produced with
one version will be produced on another.
In particular this becomes evident in forward namespace, forward class
and friend class declarations.

We decided we would rather have 3.4.3-9 because RHES4 is supported and
my lead feels that would be more stable solution.

Thanks,
Dalene Root


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

bruce
6th June 2005, 07:00 PM
darlene...

i imagine that it should be easy enough to get the source rpms for the rhel
gcc that you're using, and have/allow your engineers to rebuild it on FC3,
using the same compilation/build options.. this should give you a
compile/build environment close to what rhel has.

it may not be exact, given the FC3 will still have potential difference that
may result in you seeing different errs/msgs... welcome to the world os
distributed software development!!!

but this can be a good thing. it gives you/forces you to build consistent
code across varying systems.

-bruce


-----Original Message-----
From: fedora-list-bounces@redhat.com
[mailto:fedora-list-bounces@redhat.com]On Behalf Of Root, Dalene Joy
Sent: Thursday, May 05, 2005 7:36 AM
To: mattdm@mattdm.org
Cc: fedora-list@redhat.com
Subject: gcc for fedora


Hi Matt,

Reference Message #10

Forgive me if I sound naive. I am not a programmer. The reason that we
wanted to use gcc 3.4.3-9 on Fedora is because some of our developers are
using Fedora Core 3 and some have purchased Redhat ES4. RHES4 has
gcc-3.4.3-9 while Fedora 3 has 3.4.3-22. There seems to be an
incompatibility between the two versions. Here is an excerpt of the original
complaint.
We have a serious problem with incompatible versions gcc.
It turns out that the versions of gcc that get installed with Fedora
Core 2, Fedora Core 3 and RedHat ES4 are different.
There are instances where compile errors that do not get produced with one
version will be produced on another.
In particular this becomes evident in forward namespace, forward class and
friend class declarations.
We decided we would rather have 3.4.3-9 because RHES4 is supported and my
lead feels that would be more stable solution.
Thanks,
Dalene Root

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Jakub Jelinek
6th June 2005, 07:00 PM

On Thu, May 05, 2005 at 08:35:58AM -0600, Root, Dalene Joy wrote:
> Forgive me if I sound naive. I am not a programmer. The reason that we
> wanted to use gcc 3.4.3-9 on Fedora is because some of our developers
> are using Fedora Core 3 and some have purchased Redhat ES4. RHES4 has
> gcc-3.4.3-9 while Fedora 3 has 3.4.3-22. There seems to be an
> incompatibility between the two versions. Here is an excerpt of the
> original complaint.
> We have a serious problem with incompatible versions gcc.

GCC 3.4.x is not meant to be incompatible, of course there can be bugs
in one or both of the compilers, but GCC 3.4.x is now in bugfixing mode,
so generally higher releases should have more bugs fixed.
If you see a regression from gcc-3.4.3-n to gcc-3.4.3-m where n < m,
please report it to us.
RHEL4 U1 is going to include gcc-3.4.3-22, while FC3 updates currently
include gcc-3.4.3-22.fc3. Almost no difference.

Jakub

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Rahul Sundaram
6th June 2005, 07:00 PM
Hi

>but this can be a good thing. it gives you/forces you to build consistent
>code across varying systems.
>
>-bruce
>
If the Fedora Core 3 GCC upgrade fixed some errors in the previous
version, then moving back to an older version is a regression.

regards
Rahul


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Matthew Miller
6th June 2005, 07:00 PM
On Thu, May 05, 2005 at 08:35:58AM -0600, Root, Dalene Joy wrote:
> Forgive me if I sound naive. I am not a programmer. The reason that we
> wanted to use gcc 3.4.3-9 on Fedora is because some of our developers
> are using Fedora Core 3 and some have purchased Redhat ES4. RHES4 has
> gcc-3.4.3-9 while Fedora 3 has 3.4.3-22. There seems to be an
> incompatibility between the two versions. Here is an excerpt of the
> original complaint.
> We have a serious problem with incompatible versions gcc.
> It turns out that the versions of gcc that get installed with Fedora
> Core 2, Fedora Core 3 and RedHat ES4 are different.
> There are instances where compile errors that do not get produced with
> one version will be produced on another.
> In particular this becomes evident in forward namespace, forward class
> and friend class declarations.

Are you sure that the problems aren't just with FC2's gcc-3.3.x vs FC3 and
RHEL4's 3.4.x? Note that Fedora Core 3 started with gcc-3.4.2-6.fc3, but
was updated to the current bugfix level. I suggest reading the changelog for
the latest gcc package for FC3 -- the differences between the RHEL4 release
and the latest FC3 version appears to be a large number of bugfixes.



--
Matthew Miller mattdm@mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 75 degrees Fahrenheit.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list