Sig, I *did* miss your proposal to move the logic, but it certainly makes sense and would (I have to think) be easier to debug and change than the current situation.
>From my (mis)adventures more than a year ago, I learned that plugins are >libraries, but libraries are not necessarily plugins. It is not an important >distinction (mostly cosmetic), but the vm code *appeared* strongly biased >toward plugins at the expense of arbitrary libraries. Running with your idea, I would also suggest that we at least consider moving the mapping of serial port numbers and names into the image. Any time the vm translates a path/string/name/whatever and can't find the target, it would be nice to know what it was "thinking." The more things like this are in the image, the easier it will be to provide exceptions with informative content - less guesswork, more problem-solving. I like it. Give my regards to Spock. Bill ________________________________________ From: [email protected] [[email protected]] on behalf of Igor Stasenko [[email protected]] Sent: Tuesday, January 10, 2012 7:50 AM To: [email protected] Subject: Re: [Pharo-project] Cog+linux: external module not found On 9 January 2012 21:53, Schwab,Wilhelm K <[email protected]> wrote: > It is common to discuss something before creating tracker entries, and I DID > state what I think is wrong and proposed a solution. I've asked for a debate > on the merits of the idea, aka, looking for the library where #moduleName > says to look, respecting the behavior of dlopen on Ubuntu. I spent > significant time researching this behavior, and have tried to share what I > believe it all says we should be doing. > maybe you did missed it, i suggested to move all library/module/plugin search logic into image side while leave only direct calls to dlopen() (or analoguous platform-specific call) in VM. In that way, we could be able to have better control and diagnose problems of (not)finding libs and so on. Because the library lookup mechanism which is currently hardcoded in VM doesn't makes me feel happy. -- Best regards, Igor Stasenko.
