From mboxrd@z Thu Jan 1 00:00:00 1970 From: emberson@netintouch.com To: java-gnats@sourceware.cygnus.com Subject: java/1227: need extra flags to link Date: Wed, 20 Dec 2000 12:22:00 -0000 Message-id: <19990806151431.28574.qmail@egcs.cygnus.com> X-SW-Source: 2000-q4/msg01005.html List-Id: >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 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 To: Richard Emberson Cc: Tom Tromey , 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: