public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Sparc64 gcc
@ 2000-08-10 13:02 Mark Hatle
  2000-08-10 17:12 ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Hatle @ 2000-08-10 13:02 UTC (permalink / raw)
  To: gcc

I am attempting to build a 64 bit (only) gcc for an UltraSparc box.  (Why?
to show I can..  <grin>)

Anyway, I have the latest cvs source for that and glibc.  However I have
run into a snag, when linking glibc items I get:
/home/mhatle/libc-obj/libc.so.6: undefined reference to `_Qp_div'
and `_Qp_stoq', `_Qp_flt', `_Qp_fne', `_Qp_qtos', `_Qp_fge', 
`_Qp_add', `_Qp_xtoq', `_Qp_mul', `_Qp_itoq', `_Qp_uxtoq',
`_Qp_sub', `_Qp_qtod', and `_Qp_feq'.

I traced that down to gcc generating these library calls for sparc64 only.
(in gcc/config/sparc/sparc.md)  Why does it generate library calls for
these items, and where do I get the library that implements these items?
(And I wouldn't be surprised if there were others.)

Any help would be appreciated!  Thanks!
--Mark
(I'm not subscribed to the list so please CC me in any response!)


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

* Re: Sparc64 gcc
  2000-08-10 13:02 Sparc64 gcc Mark Hatle
@ 2000-08-10 17:12 ` Richard Henderson
  2000-08-10 17:14   ` Mark Hatle
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Henderson @ 2000-08-10 17:12 UTC (permalink / raw)
  To: Mark Hatle; +Cc: gcc

On Thu, Aug 10, 2000 at 03:04:55PM -0500, Mark Hatle wrote:
> Anyway, I have the latest cvs source for that and glibc.  However I have
> run into a snag, when linking glibc items I get:
> /home/mhatle/libc-obj/libc.so.6: undefined reference to `_Qp_div'
> and `_Qp_stoq', `_Qp_flt', `_Qp_fne', `_Qp_qtos', `_Qp_fge', 
> `_Qp_add', `_Qp_xtoq', `_Qp_mul', `_Qp_itoq', `_Qp_uxtoq',
> `_Qp_sub', `_Qp_qtod', and `_Qp_feq'.

You've somehow misconfigured glibc, as they're there in 
libc/soft-fp/sysdeps/sparc/sparc64/.


r~

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

* Re: Sparc64 gcc
  2000-08-10 17:12 ` Richard Henderson
@ 2000-08-10 17:14   ` Mark Hatle
  2000-08-10 17:15     ` Richard Henderson
  2000-08-11  1:04     ` Jakub Jelinek
  0 siblings, 2 replies; 5+ messages in thread
From: Mark Hatle @ 2000-08-10 17:14 UTC (permalink / raw)
  To: Richard Henderson; +Cc: gcc

Unfortunatly/fortunatly I just found them..

(Yes this doesn't belong here so I'll move to the glibc list.. but until
then..)

Apparently glibc when I choose to compile as sparc64 seems to completely
ignore the fact that it is supposed to provide those items.  I can't find
any record of the stuff in soft-fp actually compiling. :(

BTW why does this stuff exist in glibc and not gcc?  If GCC is generating
the code that requires these items, wouldn't it make more sense to contain
these in gcc?

Thank you for your help!
--Mark

On Thu, 10 Aug 2000, Richard Henderson wrote:

> On Thu, Aug 10, 2000 at 03:04:55PM -0500, Mark Hatle wrote:
> > Anyway, I have the latest cvs source for that and glibc.  However I have
> > run into a snag, when linking glibc items I get:
> > /home/mhatle/libc-obj/libc.so.6: undefined reference to `_Qp_div'
> > and `_Qp_stoq', `_Qp_flt', `_Qp_fne', `_Qp_qtos', `_Qp_fge', 
> > `_Qp_add', `_Qp_xtoq', `_Qp_mul', `_Qp_itoq', `_Qp_uxtoq',
> > `_Qp_sub', `_Qp_qtod', and `_Qp_feq'.
> 
> You've somehow misconfigured glibc, as they're there in 
> libc/soft-fp/sysdeps/sparc/sparc64/.
> 
> 
> r~
> 

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

* Re: Sparc64 gcc
  2000-08-10 17:14   ` Mark Hatle
@ 2000-08-10 17:15     ` Richard Henderson
  2000-08-11  1:04     ` Jakub Jelinek
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Henderson @ 2000-08-10 17:15 UTC (permalink / raw)
  To: Mark Hatle; +Cc: gcc

On Thu, Aug 10, 2000 at 07:16:57PM -0500, Mark Hatle wrote:
> BTW why does this stuff exist in glibc and not gcc?  If GCC is generating
> the code that requires these items, wouldn't it make more sense to contain
> these in gcc?

No reason except that they're in Sun's libc as well.


r~

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

* Re: Sparc64 gcc
  2000-08-10 17:14   ` Mark Hatle
  2000-08-10 17:15     ` Richard Henderson
@ 2000-08-11  1:04     ` Jakub Jelinek
  1 sibling, 0 replies; 5+ messages in thread
From: Jakub Jelinek @ 2000-08-11  1:04 UTC (permalink / raw)
  To: Mark Hatle; +Cc: Richard Henderson, gcc

On Thu, Aug 10, 2000 at 07:16:57PM -0500, Mark Hatle wrote:
> Unfortunatly/fortunatly I just found them..
> 
> (Yes this doesn't belong here so I'll move to the glibc list.. but until
> then..)
> 
> Apparently glibc when I choose to compile as sparc64 seems to completely
> ignore the fact that it is supposed to provide those items.  I can't find
> any record of the stuff in soft-fp actually compiling. :(

Which glibc are you compiling? The 2.1.92 I built recently surely has them.
As for the gcc bugs you talk about, not all patches required for sparc64 are
in the CVS, have a look at Red Hat 7.0 beta gcc rpm, which should contain all
necessary sparc64 patches to build 64bit glibc.
(Note: it is well possible one more binary incompatible change will happen
in binutils affecting dynamic linkage, so don't build too many binaries with
it yet).

	Jakub

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

end of thread, other threads:[~2000-08-11  1:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-10 13:02 Sparc64 gcc Mark Hatle
2000-08-10 17:12 ` Richard Henderson
2000-08-10 17:14   ` Mark Hatle
2000-08-10 17:15     ` Richard Henderson
2000-08-11  1:04     ` Jakub Jelinek

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).