public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiler for Red Hat Linux 8
@ 2001-07-17 13:04 Geoff Keating
  2001-07-17 15:52 ` Joe Buck
                   ` (3 more replies)
  0 siblings, 4 replies; 55+ messages in thread
From: Geoff Keating @ 2001-07-17 13:04 UTC (permalink / raw)
  To: gcc

It's now time for us here at Red Hat to begin planning for the next
major Red Hat Linux release.  One of the first questions that we're
looking at is "which compiler should we use?"

At present, we have three compilers for the linux releases.  There is
the default compiler, which is currently based off a 2.96 snapshot.
There is a special compiler for the kernel, which is based off egcs
1.1.2.  There is also a GNUPro compiler, which is a Red Hat-released
compiler on which we offer full support; it came out of the Red Hat
internal tree.

We'd really like to get this list down to one compiler.  These
compilers have subtle incompatibilities with each other, and it's really
annoying that we can't fully support the compiler that comes with the
system.

So, one plan being considered is that we take a compiler out of the
Red Hat internal tree (based sometime after 3.0), make a release, and
ship that as the default compiler.  Then if we can make the kernel
work with this compiler, we have one compiler, which we can fully
support.  We didn't have time to do either of these for RHL 7, but we
do for RHL 8.

The other problem with what we did for RHL 7 was that it was difficult
for other distributors to be compatible with our system, because the
2.96 snapshot wasn't binary-compatible with any FSF release.  With the
release of GCC 3.0, this shouldn't happen for the new compiler; other
distributors will be able to use any 3.0-compatible compiler.

[I know IA64 has a completely different set of problems; I'm mostly
concerned about IA32 and Alpha at this point, but if anyone has
suggestions about IA64 we're happy to hear them; the main problem
seems to be that the ABI for IA64 is still changing, but the internal
tree is better for IA64 than the FSF releases at this point.  I also
know about the glibc issues on all platforms, but that's a separate
issue also.]

So, how do people feel about this?  Does the SC have an opinion?

-- 
- Geoffrey Keating <geoffk@redhat.com>

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-17 17:37 mike stump
  0 siblings, 0 replies; 55+ messages in thread
From: mike stump @ 2001-07-17 17:37 UTC (permalink / raw)
  To: gcc

> Date: Tue, 17 Jul 2001 13:20:07 -0700
> From: Geoff Keating <geoffk@geoffk.org>
> To: gcc@gcc.gnu.org

> So, how do people feel about this?  Does the SC have an opinion?

I'd like to put in a request that neither the gcc team nor the SC
publicly flog RH for doing whatever they do, not because of any
concern for RH, although I could justify it that way as well, but
because the last flogging has made _my_ life harder than it should be
and I don't think it serves anyone by doing this.

If you want to flag a compiler vendor, go flog a non-gcc compiler
vendor.  :-(

If the gcc team or the SC really wants to `fix' what what RH is going
to do, the we need to directly support them, complete with whatever
testing, bug fixing, timetables and releases that RH needs.  If we
don't want to do the work, then we don't get to flog.  The `them', is
us.

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-17 20:00 Benjamin Kosnik
  0 siblings, 0 replies; 55+ messages in thread
From: Benjamin Kosnik @ 2001-07-17 20:00 UTC (permalink / raw)
  To: gcc

> That's a necessary but not a sufficient condition.  We still haven't
> frozen libstdc++'s ABI; we can't because it isn't really done and
> still could be made better by more refactoring of templates and such.

Correct.

> To have GNU/Linux applications portable between distros that use your
> compiler and those that use FSF releases, you'll need to use the FSF
> version of libstdc++, or make sure that any deviations don't break
> binary compatibility. 

You'll need to use the latest stable release of the FSF version of libstdc++. 

-benjamin

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-18 13:21 Benjamin Kosnik
  0 siblings, 0 replies; 55+ messages in thread
From: Benjamin Kosnik @ 2001-07-18 13:21 UTC (permalink / raw)
  To: gcc, aj

> Going to GCC 3.0 is IMO the right way.

I agree. I think private trees are a bad idea. If Red Hat can't use
gcc-3, I think a branch on the FSF tree is a good idea.

> Compatibility between distributions is important and I'd even like to
> see C++ specified in a newer revision of LSB (we didn't specify C++
> for LSB 1.0 because of these incompatibilities).

I'm willing to work on this. I know Uli and others have already done
some of this work, so please let me know how I can help. (offlist)

I'm also interested in working with you or whoever at SuSe to make
sure that the libstdc++ versions used are similar. 

best,
benjamin





^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-18 14:33 Geoff Keating
  0 siblings, 0 replies; 55+ messages in thread
From: Geoff Keating @ 2001-07-18 14:33 UTC (permalink / raw)
  To: gcc

A general tone of the responses so far has been "why can't you use a
FSF released compiler without modification?"

I don't think this will be possible.

1. We don't have a process for supporting a compiler that doesn't come
   out of our internal tree.  We would want to be able to do things
   like commit patches to the branch as we send them to customers.  I
   don't think we'd be able to do this on a FSF release branch.
   What's more, we might need to ship a new compiler to a customer
   with a patch, which would imply making a new release if we are to
   use only released versions.

2. We have fixed deadlines and requirements for the compiler that are
   unlikely to be matched by a FSF release process.  For instance,
   suppose that the compiler is broken on mips-linux at the point when
   the branch is frozen for testing by release engineering.  At that
   point, this means that the release will be broken on mips-linux.
   We don't mind, because we aren't doing a MIPS release, but the SC
   might; but we can't change our schedules because of it, which means
   the release has to go out anyway.  The issue of the subreg_byte
   patch has already been raised.  It also means that we might have to
   block patches that could make the release less stable on the
   platforms we care about, which are only a small subset of the
   platforms that GCC 3.0 supports.

3. It's likely that our releng people would need to be in control of
   the release process.  This is likely to be politically difficult.
   It's probably also not something Red Hat wants to do; we spent a
   lot of time trying to convince people that the GCC development
   process was independent and not "controlled by Red Hat", but for
   this we need the control.  

   We also don't have a releng process for making releases out of a
   branch of the FSF tree.  We're already doing something new---this
   release will be in RPMs, not the usual tclish installer---and it's
   hard to do many new things at once.

4. It's possible that, depending on how the IA64 situation goes, we
   might have to have code in the compiler which no-one outside Red
   Hat (and not on the appropriate NDA) can see until some point
   shortly before the release.  I'm not sure how that could be made to
   work.

5. We would prefer to ship a newer compiler than something off the 3.0
   branch.   By the time that this release goes out, the 3.0 branch
   will be over a year old.  You'll note that RHL 7.2 is not out yet,
   and on the normal schedule RHL 8 will be about six months later.

In short, GCC developers wouldn't like it, Red Hat wouldn't like it,
the FSF and the SC wouldn't like it, and it's a recipe for disaster.
This is why I didn't even suggest it in my original mail.

A number of the above points apply even if we are taking a FSF release
and patching it.  It's also questionable what benefit doing this has
over using our internal tree; you end up with a situation like that of
the kernel, where it is technically based off a release but it has
around 400 patches applied.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-18 14:41 dewar
  2001-07-18 15:29 ` Geoff Keating
                   ` (2 more replies)
  0 siblings, 3 replies; 55+ messages in thread
From: dewar @ 2001-07-18 14:41 UTC (permalink / raw)
  To: gcc, geoffk

<<4. It's possible that, depending on how the IA64 situation goes, we
   might have to have code in the compiler which no-one outside Red
   Hat (and not on the appropriate NDA) can see until some point
   shortly before the release.  I'm not sure how that could be made to
   work.
>>

I hope this does not imply that such versions of the compiler are released
under NDA to organizations outside Redhat (since that would clearly violate
the GPL).

Even within the organization, restricting access to GPL'ed material by
use of NDA's is extremely dubious if you ask me.

But before I say more, please tell us exactly what you meant by the
above ...

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-18 20:02 dewar
  0 siblings, 0 replies; 55+ messages in thread
From: dewar @ 2001-07-18 20:02 UTC (permalink / raw)
  To: dewar, geoffk; +Cc: gcc

>>I believe the ia64 compilers are a special case.


what does that mean?

^ permalink raw reply	[flat|nested] 55+ messages in thread
* RE: Compiler for Red Hat Linux 8
@ 2001-07-19  0:29 Bernard Dautrevaux
  2001-07-19  1:16 ` Toon Moene
  0 siblings, 1 reply; 55+ messages in thread
From: Bernard Dautrevaux @ 2001-07-19  0:29 UTC (permalink / raw)
  To: 'Toon Moene', Ken Whaley; +Cc: Sergey Ostrovsky, H . J . Lu, gcc

> -----Original Message-----
> From: Toon Moene [ mailto:toon@moene.indiv.nluug.nl ]
> Sent: Thursday, July 19, 2001 12:30 AM
> To: Ken Whaley
> Cc: Sergey Ostrovsky; H . J . Lu; gcc@gcc.gnu.org
> Subject: Re: Compiler for Red Hat Linux 8
> 
> 
> Ken Whaley wrote:
> 
> > I?ve just gone through this process, pretty much exactly
> > as Sergey described, including digging around trying to
> > find info on what patches, versions, etc. of the tools
> > are required, and agree that it?s a sort of black magic.
> > Saying ?use an official released version to build your
> > system? becomes a lot more palatable if there would always
> > be an up-to-date trio of officially released binutils/glibc/gcc
> > that all work together.  Easier said than done, I agree, but
> > that would be a wonderful thing to achieve.   When these 3
> > pieces achieve alignment so rarely, it doesn?t suprise me that
> > vendors dig in and make their own modifications.
> 
> Well, I'm not that convinced that the problems related here are absent
> on your Operating System Of Choice, i.e., the one that insert question
> marks in your e-mails everytime you think you type a quote (')
> character.
> 

I'm not sure I understand you: I get the original mail from Ken (through the
mailing list of course) with proper quotes! It seems it's YOUR Operating
System Of Choice (or one of the mail relays between the mailing list and
your system) that replace quotes with question marks...

Regards,

	Bernard

PS: As a matter of fact the mailing list archive agrees with me: the quotes
get in undisturbed but YOU get them back changed...

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

^ permalink raw reply	[flat|nested] 55+ messages in thread
* RE: Compiler for Red Hat Linux 8
@ 2001-07-19  1:36 Bernard Dautrevaux
  2001-07-19  2:40 ` Joseph S. Myers
                   ` (2 more replies)
  0 siblings, 3 replies; 55+ messages in thread
From: Bernard Dautrevaux @ 2001-07-19  1:36 UTC (permalink / raw)
  To: 'Toon Moene', Bernard Dautrevaux
  Cc: Ken Whaley, Sergey Ostrovsky, H . J . Lu, gcc

> -----Original Message-----
> From: Toon Moene [ mailto:toon@moene.indiv.nluug.nl ]
> Sent: Thursday, July 19, 2001 10:18 AM
> To: Bernard Dautrevaux
> Cc: Ken Whaley; Sergey Ostrovsky; H . J . Lu; gcc@gcc.gnu.org
> Subject: Re: Compiler for Red Hat Linux 8
> 
> 
> Bernard Dautrevaux wrote:
> 
> [ This is getting off-topic fast, but one time more ... ]

Last one for me too...

> 
> > I'm not sure I understand you: I get the original mail from 
> Ken (through the
> > mailing list of course) with proper quotes! It seems it's 
> YOUR Operating
> > System Of Choice (or one of the mail relays between the 
> mailing list and
> > your system) that replace quotes with question marks...
> 
> This is how my inbox sees the quotes of the text Ken sent:
> 
> <QUOTE>
> I\x92ve just gone through this process, pretty much exactly
> as Sergey described, including digging around trying to
> find info on what patches, versions, etc. of the tools
> are required, and agree that it\x92s a sort of black magic.
> Saying \x93use an official released version to build your
> system\x94 becomes a lot more palatable if there would always
> </QUOTE>
> 
> Doesn't look like the ASCII ' encoding to me ...
> 
> [ If you're still not convinced, I can send you an `od' dump 
> of the mail
> ]

Oh I'm convinced!... I just now realize your mail reader isn't able to
display correctly iso-8859-1 (latin-1) character set :-)

Looking at the headers you'll see that you send only us-ascii (a quite old
subset of iso-8859) while a lot of people use the *standard* iso charset,
where 0x91 is "opening single quote", 0x92 closing, 0x93 "opening double
quote" and 0x94 closing.

Regards,

	Bernard

PS: Just curious: how did you send Dutch diacritics if you only use us-ascii
(or is Dutch different from other german languages in not using any of
these?)

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-19  4:33 dewar
  0 siblings, 0 replies; 55+ messages in thread
From: dewar @ 2001-07-19  4:33 UTC (permalink / raw)
  To: Dautrevaux, rra; +Cc: gcc

<<I'm sure the original author was completely unaware that this was
happening; most Microsoft software makes it extremely easy to make this
mistake and apparently doesn't care about producing readable messages on
non-Microsoft platforms.  Usually turning off Smart Quotes will fix the
problem.
>>

What is more amazing is that even when this obvious violation of standards
is pointed out, you get people, as in this case, claiming that *you* are
non-standard because you don't follow the microjunk special stuff.

^ permalink raw reply	[flat|nested] 55+ messages in thread
* Re: Compiler for Red Hat Linux 8
@ 2001-07-19 10:49 dewar
  0 siblings, 0 replies; 55+ messages in thread
From: dewar @ 2001-07-19 10:49 UTC (permalink / raw)
  To: eager, jfg, mark; +Cc: gcc

<<  Unfortunately, none of us are lawyers, and few of us are even copyright
experts, so we can't really be sure.  It would be nice if the FSF would
take an official position, so that we could at least point to what the
intent of the GPL is in this respect, even if we couldn't be sure of
it's actual meaning.  (You can never be sure until you go to court.)
>>

One helpful thing to realize in such debates (even if boring :-) is that
there is really no such thing as "violating" the GPL. The GPL is a license
agreement that allows you to perform copying and creation of deriviative
works under certain limited conditions. If you copy software and the GPL
does not give you permission to do this copy, then the copyright has
been violated. The point is that it is up to you to positively show that
the GPL permits the copying.

^ permalink raw reply	[flat|nested] 55+ messages in thread
* RE: Compiler for Red Hat Linux 8
@ 2001-07-19 23:16 Bernard Dautrevaux
  0 siblings, 0 replies; 55+ messages in thread
From: Bernard Dautrevaux @ 2001-07-19 23:16 UTC (permalink / raw)
  To: 'Joseph S. Myers', Bernard Dautrevaux; +Cc: gcc

> -----Original Message-----
> From: Joseph S. Myers [ mailto:jsm28@cam.ac.uk ]
> Sent: Thursday, July 19, 2001 11:40 AM
> To: Bernard Dautrevaux
> Cc: gcc@gcc.gnu.org
> Subject: RE: Compiler for Red Hat Linux 8
> 
> 
> On Thu, 19 Jul 2001, Bernard Dautrevaux wrote:
> 
> > Looking at the headers you'll see that you send only 
> us-ascii (a quite old
> > subset of iso-8859) while a lot of people use the 
> *standard* iso charset,
> > where 0x91 is "opening single quote", 0x92 closing, 0x93 
> "opening double
> > quote" and 0x94 closing.
> 
> Have you actually *read* ISO 8859-1, or the free equivalent 
> ECMA-94, or an
> adopted national standards body version, or even the draft
> <URL: http://wwwold.dkuug.dk/JTC1/SC2/WG3/docs/n411.pdf >?  
> These are not
> graphic characters in the standard.

Ooops, my fault ;-( 

Reading a bit too fast and not noticing some green/black differences in
character tables, where green means "Microsoft-specific", in a Web-page
documenting the 8859-1 character set standard; OK I agree, I was not reading
the OFFICIAL standard, but...

> 
> If you haven't actually read a standard (any standard), please don't
> spread misinformation about its contents by making claims about the
> standard without referring to it.
> 

I should loudly apologize here.

I was fooled by reading a *description* of the standard, found on the web,
instead of the *official* standard (I don't know anyway if it's accessible
on-line) 

AND 

by Micro$oft "claiming" that it send iso-8859-1 encoded mail while its in
fact microsoft-extended-8859-1 

AND 

by this being so well-knowned by people commenting the standard that they
publish character tables where the main indication of this m$-ism (if you
read a bit fast and jump to the nice character tables) is that some
characters are displayed in dark green instead of black

and also probably as I don't have such good eyes :-)

The morale for this may be: Don't trust too much programs (be them Microsoft
or not) that claim to be conforming to a standard and *always* verify
several times before... 

Now I think it's enough for this broadly off-topic sub-thread :-)

Best regards

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2001-07-19 23:16 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17 13:04 Compiler for Red Hat Linux 8 Geoff Keating
2001-07-17 15:52 ` Joe Buck
2001-07-17 17:48   ` Per Bothner
2001-07-18  8:55     ` Joseph S. Myers
2001-07-17 18:24 ` Craig Rodrigues
2001-07-18  2:41 ` Andreas Jaeger
2001-07-18  9:03   ` H . J . Lu
2001-07-18 12:01     ` Joe Buck
2001-07-18 12:46       ` H . J . Lu
2001-07-18 13:22         ` Joe Buck
2001-07-18 13:31           ` H . J . Lu
2001-07-18 14:28             ` David Edelsohn
2001-07-18 15:03               ` Joern Rennecke
2001-07-18 15:12                 ` David Edelsohn
2001-07-18 15:24                   ` Joe Buck
2001-07-18 17:05                     ` H . J . Lu
2001-07-19  4:56                     ` Toon Moene
2001-07-18 15:41                 ` Joseph S. Myers
2001-07-18 16:23                   ` H . J . Lu
2001-07-18 12:18     ` Sergey Ostrovsky
2001-07-18 15:19       ` Ken Whaley
2001-07-18 15:30         ` Toon Moene
2001-07-18 15:59           ` Ken Whaley
2001-07-18 16:08             ` Toon Moene
2001-07-18 13:30   ` Gerald Pfeifer
2001-07-19  5:17     ` Andreas Jaeger
2001-07-19 12:23       ` Gerald Pfeifer
2001-07-18 19:07   ` LinuxVN
2001-07-18 13:44 ` Toon Moene
2001-07-17 17:37 mike stump
2001-07-17 20:00 Benjamin Kosnik
2001-07-18 13:21 Benjamin Kosnik
2001-07-18 14:33 Geoff Keating
2001-07-18 14:41 dewar
2001-07-18 15:29 ` Geoff Keating
2001-07-18 17:50   ` Joe Buck
2001-07-18 18:59 ` Michael Eager
2001-07-18 19:26   ` Justin Guyett
2001-07-19  9:05     ` Mark Mitchell
2001-07-19 19:28   ` akbar A.
2001-07-18 22:10 ` Per Bothner
2001-07-18 22:19   ` Joe Buck
2001-07-18 22:38     ` Per Bothner
2001-07-18 23:00       ` Alex Rosenberg
2001-07-19 14:05       ` Jonathan Larmour
2001-07-18 20:02 dewar
2001-07-19  0:29 Bernard Dautrevaux
2001-07-19  1:16 ` Toon Moene
2001-07-19  1:36 Bernard Dautrevaux
2001-07-19  2:40 ` Joseph S. Myers
2001-07-19  3:02 ` Roman Zippel
2001-07-19  3:12 ` Russ Allbery
2001-07-19  4:33 dewar
2001-07-19 10:49 dewar
2001-07-19 23:16 Bernard Dautrevaux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).