On Sat, 21 Dec 2013 22:56:54 +0200 Pekka Jääskeläinen <[email protected]> wrote:
> > On 12/21/2013 10:26 PM, O. Hartmann wrote: > > Since the link has been introduced, isn't it wise to leave pocl.icd > > with content > > > > @libdir@/libpocl.so > > > > (no .VER)? > > Then it doesn't point to the exact installed pocl version. > One can have multiple versions of pocl installed (for some reason), > and libpocl.so symlink will then point to only one of them. If I avoid after configuration substitution, the number of the shared object is, as expected, libpocl.so.2. > > > Or is there something wrong with my environment I haven't figured > > out? > > Do you know what is the logic in the dynamic library file name > numbering in FreeBSD? No, not precisely. The handbook (http://www.freebsd.org/doc/en/books/developers-handbook/policies-shlib.html) says that only the form libfoo.so.X.Y is supposed to be used (major.minor) and the ELF linker doesn't handle the minor number. > > I recall we added this sed replacement trick the last time (there's > a special check for FreeBSD in that makefile). But why it > has now incremented to 4? We can of course fix that easily to 4, but > it would be better to know how it (libtool?) determines the library > number there to fix it for good. > I'm confused on the fact that the number is now 4. The library /usr/local/lib/pocl/llvmopencl.so.3 has version number 3, libraries /usr/local/lib/libpocl.so.4 and /usr/local/lib/libpoclu.so.4 have version 4. This must come from the installation procedure. On a hunch, I would guess that /usr/local/lib/pocl/llvmopencl.so.3 gets first installed, the number gets bumped by one up, and then /usr/local/lib/libpocl.so.4 gets installed. Well, can you tell me where the version is about to be set? In an experiment, I could raise the number by one and watch what happens then. I would guess we deal then with version 4 and 5 for libllvmopencl.so and libpocl.so, respectively. Regards, Oliver P.S. By the way, despite my lack of time at the moment, some minor programs for testing I wrote compile well with 0.10-pre/0.9 on FBSD 11.0-CURRENT/llvm33. I'd like to test the testenvironment, but so far, you've done a nice job! Thank you for being so kindly *BSD open.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
