public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Solaris objc failures (Re: HPUX/Solaris status)
@ 2001-01-17  8:40 Kaveh R. Ghazi
  0 siblings, 0 replies; only message in thread
From: Kaveh R. Ghazi @ 2001-01-17  8:40 UTC (permalink / raw)
  To: gcc; +Cc: mark

 > From: Mark Mitchell <mark@codesourcery.com> 
 > 
 >   - Solaris 2.7 bootstraps, but fails a good many tests.
 >     Fortran and Objective-C look to be particularly hosed.

On my solaris2.7 box, all but a couple of the objc failures are link
errors for two missing functions.

 > collect2: ld returned 1 exit status
 > compiler exited with status 1
 > output is:
 > Undefined                       first referenced
 >  symbol                             in file
 > sched_get_priority_max              .../libobjc.a(thr-objc.o)
 > sched_get_priority_min              .../libobjc.a(thr-objc.o)

The man page for sched_get_priority_max says it comes via -lrt.  The
NOTES section says something about it first appearing in solaris2.6.

It may suffice to add some solaris bits to link in -lrt when posix
threads are preferred over solaris threads.  IIRC, the solaris threads
needed their own library too.  Some testing on e.g. 2.5 vs 2.6 vs 2.7
would probably expose what needs doing when.  Hope this helps.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-17  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-17  8:40 Solaris objc failures (Re: HPUX/Solaris status) Kaveh R. Ghazi

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