Menu

#25 isaexec support not working with custom bindir

mGAR v2
open
nobody
5
2010-01-12
2010-01-12
wahwah
No

There seems to be a problem with isaexec support. With a custom bindir, the sparcv8 binaries don't get move to the sparcv8 subdirectory and there are no links to isaexec. I've created a minimal build with a hello world program. Here's the Makefile:

https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/examples/multiple-versions/trunk/Makefile

If you examine the resulting prototype, you'll see that there are no symlinks to isaexec.

Discussion

  • wahwah

    wahwah - 2010-01-12

    Here's a part of the resulting prototype:

    none /opt/csw/lib/multiple-versions 0755 root bin
    d none /opt/csw/lib/multiple-versions/0.1 0755 root bin
    d none /opt/csw/lib/multiple-versions/0.1/bin 0755 root bin
    f none /opt/csw/lib/multiple-versions/0.1/bin/hello 0755 root bin
    d none /opt/csw/lib/multiple-versions/0.1/bin/sparcv9 0755 root bin
    f none /opt/csw/lib/multiple-versions/0.1/bin/sparcv9/hello 0755 root bin

    I would expect that /opt/csw/lib/multiple-versions/0.1/bin/hello would be a symlink to isaexec, but it's not.

     
  • Dagobert Michelsen

    Hi Maciej,

    are you sure this is not a duplicate of this one?
    <https://sourceforge.net/tracker/?func=detail&aid=2904435&group_id=229205&atid=1075770>
    On "gmake repackage" everything looks fine.

     
  • Dagobert Michelsen

    Have you really done "gmake repackage" after that? I get
    l none /opt/csw/lib/multiple-versions/0.1/bin/hello=/opt/csw/bin/isaexec 0755 root bin
    f none /opt/csw/lib/multiple-versions/0.1/bin/sparcv8/hello=/opt/csw/lib/multiple-versions/0.1/bin/hello 0755 root bin
    d none /opt/csw/lib/multiple-versions/0.1/bin/sparcv9 0755 root bin
    f none /opt/csw/lib/multiple-versions/0.1/bin/sparcv9/hello 0755 root bin

    Of course that is a problem in GAR, I just want to find out if this is another problem I am not currently aware of :-)=