Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* compiling glibc-2.1.3
@ 2000-03-13 22:20 cpg
  2000-03-13 23:44 ` Christopher C. Chimelis
  0 siblings, 1 reply; 6+ messages in thread
From: cpg @ 2000-03-13 22:20 UTC (permalink / raw)
  To: axp-list




Hi,

I've tried to compile glibc-2.1.3 on my AlphaStation 200 (with gcc-2.95.2)
and I get the
following error when it tries to compile  math/conj.c:

----------------
In file included from ../include/bits/cmathcalls.h:1,
                 from ../math/complex.h:88,
                 from ../include/complex.h:1,
                 from conj.c:21:
../math/bits/cmathcalls.h: In function `cimagf':
../math/bits/cmathcalls.h:139: Unable to access imaginary part of complex
value in a hard register on this target
make[2]: *** [/usr/oth/tmp/glibc-2.1.3-build/math/conj.o] Error 1
----------------

This is a 21064 machine, maybe that's the reason?
Anybody knows a solution?

Thanks,
chris



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

* Re: compiling glibc-2.1.3
  2000-03-13 22:20 cpg
@ 2000-03-13 23:44 ` Christopher C. Chimelis
  2000-03-14 18:07   ` Maciej W. Rozycki
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher C. Chimelis @ 2000-03-13 23:44 UTC (permalink / raw)
  To: cpg; +Cc: axp-list



On Mon, 13 Mar 2000 cpg@aladdin.de wrote:

> I've tried to compile glibc-2.1.3 on my AlphaStation 200 (with gcc-2.95.2)
> and I get the
> following error when it tries to compile  math/conj.c:
> 
> ----------------
> In file included from ../include/bits/cmathcalls.h:1,
>                  from ../math/complex.h:88,
>                  from ../include/complex.h:1,
>                  from conj.c:21:
> ../math/bits/cmathcalls.h: In function `cimagf':
> ../math/bits/cmathcalls.h:139: Unable to access imaginary part of complex
> value in a hard register on this target
> make[2]: *** [/usr/oth/tmp/glibc-2.1.3-build/math/conj.o] Error 1
> ----------------
> 
> This is a 21064 machine, maybe that's the reason?
> Anybody knows a solution?

This happens because of the lack of complex support in gcc 2.95.x.  The
older egcs 1.x.x versions work, but any complex operations will return
bogus results, so the gcc group figured that, until they implemented
proper complex support on Alpha for gcc, they would just not have it do
anything at all (which I agree with).  Since then, a proper patch has been
applied to the snapshot tree supporting complex types more fully.  In
short, you'll have to use a relatively new gcc snapshot (past few months
should do) if you want to compile glibc 2.1.3.  Either that or revert to
an old egcs (if you don't plan on needing complex support to actually
work).

C


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

* Re: compiling glibc-2.1.3
@ 2000-03-14 17:04 cpg
  0 siblings, 0 replies; 6+ messages in thread
From: cpg @ 2000-03-14 17:04 UTC (permalink / raw)
  To: axp-list; +Cc: chris




thanks for the info

regards,
chris



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

* Re: compiling glibc-2.1.3
  2000-03-13 23:44 ` Christopher C. Chimelis
@ 2000-03-14 18:07   ` Maciej W. Rozycki
  2000-03-14 20:59     ` Christopher C. Chimelis
  0 siblings, 1 reply; 6+ messages in thread
From: Maciej W. Rozycki @ 2000-03-14 18:07 UTC (permalink / raw)
  To: axp-list

On Mon, 13 Mar 2000, Christopher C. Chimelis wrote:

> anything at all (which I agree with).  Since then, a proper patch has been
> applied to the snapshot tree supporting complex types more fully.  In
> short, you'll have to use a relatively new gcc snapshot (past few months
> should do) if you want to compile glibc 2.1.3.  Either that or revert to
> an old egcs (if you don't plan on needing complex support to actually
> work).

 I think Debian's gcc 2.95.3 package has an appropriate patch applied.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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

* Re: compiling glibc-2.1.3
  2000-03-14 18:07   ` Maciej W. Rozycki
@ 2000-03-14 20:59     ` Christopher C. Chimelis
  2000-03-15  7:47       ` Maciej W. Rozycki
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher C. Chimelis @ 2000-03-14 20:59 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: axp-list


On Tue, 14 Mar 2000, Maciej W. Rozycki wrote:

>  I think Debian's gcc 2.95.3 package has an appropriate patch applied.

Yes, it does (I know, I applied it...hehehe).  If you're using RH, though,
you'll need a new snapshot or an old egcs.

C


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

* Re: compiling glibc-2.1.3
  2000-03-14 20:59     ` Christopher C. Chimelis
@ 2000-03-15  7:47       ` Maciej W. Rozycki
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej W. Rozycki @ 2000-03-15  7:47 UTC (permalink / raw)
  To: Christopher C. Chimelis; +Cc: axp-list

On Tue, 14 Mar 2000, Christopher C. Chimelis wrote:

> >  I think Debian's gcc 2.95.3 package has an appropriate patch applied.
> 
> Yes, it does (I know, I applied it...hehehe).  If you're using RH, though,
> you'll need a new snapshot or an old egcs.

 Or build an own package, which actually I did. :-)

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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

end of thread, other threads:[~2000-03-15  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-14 17:04 compiling glibc-2.1.3 cpg
  -- strict thread matches above, loose matches on Subject: below --
2000-03-13 22:20 cpg
2000-03-13 23:44 ` Christopher C. Chimelis
2000-03-14 18:07   ` Maciej W. Rozycki
2000-03-14 20:59     ` Christopher C. Chimelis
2000-03-15  7:47       ` Maciej W. Rozycki

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