Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* GNU C compiler broken?
@ 2001-03-01 14:03 J Janmaat
       [not found] ` <Pine.GSO.4.21.0103022148160.6636-100000@tetra>
  2001-03-05 11:50 ` GNU C compiler broken? Compaq C++ also! Matthias Welwarsky
  0 siblings, 2 replies; 7+ messages in thread
From: J Janmaat @ 2001-03-01 14:03 UTC (permalink / raw)


I get the impression that there are bugs in the current release of the
GNU C compiler for Alpha Linux. Is this correct? There doesn't seem to
be any mention about it on the GCC website.

For instance, the FAQ for XEphem 2.4 mentions removing the optimization
flags to ensure a correctly built binary, and the Exult (an Ultima 7
game engine replacement) sources suggest using CCC for compiling.

Jeroen


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

* Re: GNU C compiler broken?
       [not found] ` <Pine.GSO.4.21.0103022148160.6636-100000@tetra>
@ 2001-03-03 12:26   ` kerstin.hoef-emden
  0 siblings, 0 replies; 7+ messages in thread
From: kerstin.hoef-emden @ 2001-03-03 12:26 UTC (permalink / raw)


Hi,

Juhana Paavola <jupaavol@ratol.fi> wrote:
> On Thu, 1 Mar 2001, J Janmaat wrote:

>> I get the impression that there are bugs in the current release of the
>> GNU C compiler for Alpha Linux. Is this correct? There doesn't seem to
>> be any mention about it on the GCC website.

...

> What gcc version you are using ?
> Is that official GNU version (was it 2.95.2) or that redhat gcc(kgcc) ?
> CCC optimizes better than gcc ,that might be reason for using ccc instead
> of gcc.

It is true that gcc for Alpha still seems to have more problems than the
Intel version. I was several times confronted with segfaults, especially
when optimization is used, while the ccc ran through. It was already
mentioned and discussed in the Debian alpha list. The Debian maintainers are
working on it, but sure, bugs need to be reported. It is useful to have both
compilers installed. Sometimes gcc/g++ works and ccc/cxx don�t, sometimes it
is the other way round. We once tried to compile the newest version of a lib
and an application based on it. During compilation of the lib, g++ crashed
with segfault 11, cxx ran through. But during compilation of the
application, cxx reported syntax problems, so finally the whole thing didn�t
work (none of us knows C++, so we could not correct for it).



Regards,

Kerstin


-- 

	kerstin.hoef-emden@uni-koeln.de				 


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

* Re: GNU C compiler broken? Compaq C++ also!
  2001-03-01 14:03 GNU C compiler broken? J Janmaat
       [not found] ` <Pine.GSO.4.21.0103022148160.6636-100000@tetra>
@ 2001-03-05 11:50 ` Matthias Welwarsky
  2001-03-05 12:28   ` Herman Bruyninckx
  2001-03-07 17:27   ` Jeff Sturm
  1 sibling, 2 replies; 7+ messages in thread
From: Matthias Welwarsky @ 2001-03-05 11:50 UTC (permalink / raw)


J Janmaat wrote:

> I get the impression that there are bugs in the current release of the
> GNU C compiler for Alpha Linux. Is this correct? There doesn't seem to
> be any mention about it on the GCC website.

The last compiler that somehow worked for me on linux alpha was g++ from 
egcs-1.1.2. The 2.95.2 release compiled but was unable to compile qt-2.2.3 
afterwards. Configured for alpha-redhat-linux it wouldn't even compile.

> 
> For instance, the FAQ for XEphem 2.4 mentions removing the optimization
> flags to ensure a correctly built binary, and the Exult (an Ultima 7
> game engine replacement) sources suggest using CCC for compiling.

CCC really produces _fast_ code, however CXX is far from perfect. CXX 
compiles qt, it even compiles KDE2.1, but it has problems with RTTI and 
multiple inheritance and virtual base classes. So the situation is somewhat 
bad. egcs produces correct results but is slow.

Gruss,
        Matthias

-- 
Matthias Welwarsky
Fachschaft Informatik FH Darmstadt
Email: matze@stud.fbi.fh-darmstadt.de

"I bet the human brain is a kludge."
                -- Marvin Minsky


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

* Re: GNU C compiler broken? Compaq C++ also!
  2001-03-05 11:50 ` GNU C compiler broken? Compaq C++ also! Matthias Welwarsky
@ 2001-03-05 12:28   ` Herman Bruyninckx
  2001-03-05 14:59     ` Matthias Welwarsky
  2001-03-07 17:27   ` Jeff Sturm
  1 sibling, 1 reply; 7+ messages in thread
From: Herman Bruyninckx @ 2001-03-05 12:28 UTC (permalink / raw)


On Mon, 5 Mar 2001, Matthias Welwarsky wrote:

> J Janmaat wrote:
>
> > I get the impression that there are bugs in the current release of the
> > GNU C compiler for Alpha Linux. Is this correct? There doesn't seem to
> > be any mention about it on the GCC website.
>

I use gcc 2.95.3, and it seems to work ok: I compiled galeon with it
last night, and that's far from a small package  with few dependencies :-)

-- 
Herman.Bruyninckx@mech.kuleuven.ac.be
 <http://www.mech.kuleuven.ac.be/~bruyninc/>



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

* Re: GNU C compiler broken? Compaq C++ also!
  2001-03-05 12:28   ` Herman Bruyninckx
@ 2001-03-05 14:59     ` Matthias Welwarsky
  2001-03-05 18:30       ` Herman Bruyninckx
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias Welwarsky @ 2001-03-05 14:59 UTC (permalink / raw)


Herman Bruyninckx wrote:

> On Mon, 5 Mar 2001, Matthias Welwarsky wrote:

> I use gcc 2.95.3, and it seems to work ok: I compiled galeon with it
> last night, and that's far from a small package  with few dependencies :-)
> 

What binutils did you use? And how did you configure the compiler? I've 
tried with gcc 2.95.2 test4 recently - it did compile when configure for 
alphaev56-unknown-linux-gnu, but trying to compile Qt resulted in an 
internal compiler error (something in insn-emit.c) in one of the moc files.

Gruss,
        Matthias

-- 
Matthias Welwarsky
Fachschaft Informatik FH Darmstadt
Email: matze@stud.fbi.fh-darmstadt.de

"I bet the human brain is a kludge."
                -- Marvin Minsky


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

* Re: GNU C compiler broken? Compaq C++ also!
  2001-03-05 14:59     ` Matthias Welwarsky
@ 2001-03-05 18:30       ` Herman Bruyninckx
  0 siblings, 0 replies; 7+ messages in thread
From: Herman Bruyninckx @ 2001-03-05 18:30 UTC (permalink / raw)
  To: Matthias Welwarsky

On Mon, 5 Mar 2001, Matthias Welwarsky wrote:

> Herman Bruyninckx wrote:
>
> > On Mon, 5 Mar 2001, Matthias Welwarsky wrote:
>
> > I use gcc 2.95.3, and it seems to work ok: I compiled galeon with it
> > last night, and that's far from a small package  with few dependencies :-)
> >
>
> What binutils did you use? And how did you configure the compiler?

I've just used the Debian packages in the unstable tree... I didn't
configure anything...

-- 
Herman.Bruyninckx@mech.kuleuven.ac.be
 <http://www.mech.kuleuven.ac.be/~bruyninc/>



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

* Re: GNU C compiler broken? Compaq C++ also!
  2001-03-05 11:50 ` GNU C compiler broken? Compaq C++ also! Matthias Welwarsky
  2001-03-05 12:28   ` Herman Bruyninckx
@ 2001-03-07 17:27   ` Jeff Sturm
  1 sibling, 0 replies; 7+ messages in thread
From: Jeff Sturm @ 2001-03-07 17:27 UTC (permalink / raw)
  To: Matthias Welwarsky

Matthias Welwarsky wrote:
> The last compiler that somehow worked for me on linux alpha was g++ from
> egcs-1.1.2. The 2.95.2 release compiled but was unable to compile qt-2.2.3
> afterwards. Configured for alpha-redhat-linux it wouldn't even compile.

Have you tried one of the GCC 3.0 snapshots?  It has the best c++ support to
date, and seems very stable on Alpha.  I haven't observed any failures yet using
gcc-3_0-branch on my 164SX.

If the snapshots don't work for you, it is very important to submit a bug
report, since they are being fixed now... in a few months 3.0 will be released
and it is then too late.

I wouldn't bother with 2.95.3, it has known issues that won't be fixed.

--
Jeff Sturm
jeff.sturm@commerceone.com


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

end of thread, other threads:[~2001-03-07 17:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-01 14:03 GNU C compiler broken? J Janmaat
     [not found] ` <Pine.GSO.4.21.0103022148160.6636-100000@tetra>
2001-03-03 12:26   ` kerstin.hoef-emden
2001-03-05 11:50 ` GNU C compiler broken? Compaq C++ also! Matthias Welwarsky
2001-03-05 12:28   ` Herman Bruyninckx
2001-03-05 14:59     ` Matthias Welwarsky
2001-03-05 18:30       ` Herman Bruyninckx
2001-03-07 17:27   ` Jeff Sturm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox