public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libgcj/12706] New: System.loadLibrary is searching for files it shouldn't search for @ 2003-10-21 7:59 oyvind dot harboe at zylin dot com 2003-10-21 8:24 ` [Bug libgcj/12706] " oyvind dot harboe at zylin dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: oyvind dot harboe at zylin dot com @ 2003-10-21 7:59 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12706 Summary: System.loadLibrary is searching for files it shouldn't search for Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oyvind dot harboe at zylin dot com CC: gcc-bugs at gcc dot gnu dot org The Java program below searches for "foo.la", I wouldn't have expected it do do so under Windows. I'll attach a log. When I launch an SWT app compiled with GCJ, 7000 file log entries are registered in filemon from www.sysinternals.com. I looked into this as part of trying to track down a random crash reported on my app. \thisiscool-gcc-3.4\gcc-3.4\bin\gcj -o foo --main=Foo Foo.java public class Foo { public static void main(String[] args) { try {System.loadLibrary("bar"); } catch (Throwable t) { } } } ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/12706] System.loadLibrary is searching for files it shouldn't search for 2003-10-21 7:59 [Bug libgcj/12706] New: System.loadLibrary is searching for files it shouldn't search for oyvind dot harboe at zylin dot com @ 2003-10-21 8:24 ` oyvind dot harboe at zylin dot com 2003-10-21 15:47 ` pinskia at gcc dot gnu dot org 2003-10-22 17:41 ` tromey at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: oyvind dot harboe at zylin dot com @ 2003-10-21 8:24 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12706 ------- Additional Comments From oyvind dot harboe at zylin dot com 2003-10-21 07:59 ------- Created an attachment (id=4972) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4972&action=view) Show .la files being searched for by System.loadLibrary(). ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/12706] System.loadLibrary is searching for files it shouldn't search for 2003-10-21 7:59 [Bug libgcj/12706] New: System.loadLibrary is searching for files it shouldn't search for oyvind dot harboe at zylin dot com 2003-10-21 8:24 ` [Bug libgcj/12706] " oyvind dot harboe at zylin dot com @ 2003-10-21 15:47 ` pinskia at gcc dot gnu dot org 2003-10-22 17:41 ` tromey at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2003-10-21 15:47 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12706 pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-21 15:45 ------- Why do not expect it to look for *.la, libtool is still useful on cygwin? ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/12706] System.loadLibrary is searching for files it shouldn't search for 2003-10-21 7:59 [Bug libgcj/12706] New: System.loadLibrary is searching for files it shouldn't search for oyvind dot harboe at zylin dot com 2003-10-21 8:24 ` [Bug libgcj/12706] " oyvind dot harboe at zylin dot com 2003-10-21 15:47 ` pinskia at gcc dot gnu dot org @ 2003-10-22 17:41 ` tromey at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at gcc dot gnu dot org @ 2003-10-22 17:41 UTC (permalink / raw) To: gcc-bugs PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12706 tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID ------- Additional Comments From tromey at gcc dot gnu dot org 2003-10-22 17:40 ------- This isn't a bug. We use libltdl to search for libraries. This will try to find and use .la files. This is a feature of libltdl. If this causes problems, let's re-open this PR and take it up with the libtool maintainers. I suspect it is ok though. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-22 17:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-10-21 7:59 [Bug libgcj/12706] New: System.loadLibrary is searching for files it shouldn't search for oyvind dot harboe at zylin dot com 2003-10-21 8:24 ` [Bug libgcj/12706] " oyvind dot harboe at zylin dot com 2003-10-21 15:47 ` pinskia at gcc dot gnu dot org 2003-10-22 17:41 ` tromey at gcc dot gnu dot org
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).