[csw-maintainers] Checkpkg database update and new checkpkg tests
Jan Holzhueter
jh at opencsw.org
Fri Jan 11 19:38:12 CET 2013
Hi,
Am 11.01.13 18:50, schrieb Yann Rouillard:
> Well ffmpeg may have cpu autodetect but solaris will refuse to load the
> binary anyway.
> See what happens when I am trying to run in under Solaris 10 x86 which
> can run adm64 binaries:
>
> yann at unstable10x:~/opencsw/openssl1/trunk$
> /home/jh/opencsw/ffmpeg/trunk/work/solaris10-i386/pkgroot/opt/csw/bin/amd64/ffmpeg
>
> ld.so.1: ffmpeg: fatal:
> /home/jh/opencsw/ffmpeg/trunk/work/solaris10-i386/pkgroot/opt/csw/bin/amd64/ffmpeg:
> hardware capability (CA_SUNW_HW_1) unsupported: 0x100 [ AMD_3DNow ]
> Killed
>
>
> If you are sure than ffmpeg can use the good code path at runtime, you
> need to prevent the hardware capability to be stored into the binary
> during the compilation or you need to remove it after the compilation.
> I know you can do the latter using elfedit.
> See http://docs.oracle.com/cd/E23824_01/html/821-1461/elfedit-1.html section
> "Example 2 Removing a Hardware Capability Bit".
>
Oh sorry for the noise :) I should have checked :) It's broken then.
(As in the build)
The old one Works. See /opt/csw/bin/amd64/ffmpeg on unstable10x.
So this needs to be fixed then.
Will look into this. I don't know yet where this comes from.
>
> I think now that this problem is eligible to a new checkpkg test.
I would guess so
Greetings
Jan
More information about the maintainers
mailing list