public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1227: need extra flags to link
@ 2000-12-20 12:22 emberson
  0 siblings, 0 replies; only message in thread
From: emberson @ 2000-12-20 12:22 UTC (permalink / raw)
  To: java-gnats

>Number:         1227
>Category:       java
>Synopsis:       need extra flags to link
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:18:01 PST 2000
>Closed-Date:    Fri Nov 12 16:40:59 PST 1999
>Last-Modified:  Fri Nov 12 16:50:00 PST 1999
>Originator:     emberson@netintouch.com
>Release:        Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95/specs gcc version 2.95 19990728 (release)
>Organization:
>Environment:
SunOS 5.7 Generic i86pc i386 i86pc, and
SunOS 5.6 Generic_105181-03 sun4u sparc SUNW,Ultra-5_10
>Description:
On x86 needed to link had to use:
 > gcj HelloWorld.java --main=HelloWorld -lrt
On sparc:
 > gcj HelloWorld.java --main=HelloWorld -lposix4

Note: on x86 librt is linked to libposix4

gcj -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95/specs
Reading specs from /usr/local/lib/libgcj.spec
rename spec lib to liborig
gcc version 2.95 19990728 (release)
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR gcj/19


From: Tom Tromey <tromey@cygnus.com>
To: emberson@netintouch.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/19: need extra flags to link
Date: Fri, 6 Aug 1999 10:16:40 -0700

 >> Note: on x86 librt is linked to libposix4
 
 I assume you mean it is a symlink or something similar?
 
 This is interesting because our configure script tries to check for
 sched_yield in -lposix4.  Can you find out why this test fails?  You
 can find the compiler error messages in config.log.
 
 T

From: Tom Tromey <tromey@cygnus.com>
To: Richard Emberson <emberson@netintouch.com>
Cc: Tom Tromey <tromey@cygnus.com>, java-gnats@sourceware.cygnus.com
Subject: Re: gcj/19: need extra flags to link
Date: Fri, 6 Aug 1999 13:29:37 -0700

 Hi again.
 I just checked in a change to look for sched_yield in -lrt.
 I checked this in on the 2.95 branch.
 
 Can you try this change?
 Before recompiling, note that you must "rm config.cache"; otherwise
 the cache entry could prevent the new code from running.
 
 Thanks,
 Tom
 
Responsible-Changed-From-To: apbianco->java-hacker
Responsible-Changed-By: green
Responsible-Changed-When: Sun Aug  8 19:43:28 1999
Responsible-Changed-Why:
    This is a libgcj problem.
State-Changed-From-To: open->feedback
State-Changed-By: green
State-Changed-When: Sun Aug  8 19:43:28 1999
State-Changed-Why:
    This should be fixed on the current libgcj 2.95 branch.
Responsible-Changed-From-To: java-hacker->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Nov 12 16:40:59 1999
Responsible-Changed-Why:
    I think I fixed it.
State-Changed-From-To: feedback->closed
State-Changed-By: tromey
State-Changed-When: Fri Nov 12 16:40:59 1999
State-Changed-Why:
    This has been in feedback for months.
    I believe it has been fixed.

From: tromey@cygnus.com
To: emberson@netintouch.com, green@cygnus.com,
  java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/19
Date: 13 Nov 1999 00:40:59 -0000

 Synopsis: need extra flags to link
 
 Responsible-Changed-From-To: java-hacker->tromey
 Responsible-Changed-By: tromey
 Responsible-Changed-When: Fri Nov 12 16:40:59 1999
 Responsible-Changed-Why:
     I think I fixed it.
 State-Changed-From-To: feedback->closed
 State-Changed-By: tromey
 State-Changed-When: Fri Nov 12 16:40:59 1999
 State-Changed-Why:
     This has been in feedback for months.
     I believe it has been fixed.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=19
>Unformatted:



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

only message in thread, other threads:[~2000-12-20 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:22 java/1227: need extra flags to link emberson

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