[MPlayer-advusers] mplayer crash when geometry changes

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 11 16:20:41 CET 2011


On Mon, Dec 05, 2011 at 07:50:40PM -0700, David Hollister wrote:
> +# The hardware capabilities inserted into the ELF header by the Solaris linker
> +# may keep the run-time loader from allowing the binary to run on some x86
> +# platforms.  The GNU linker presumably does not insert these capabilities.
> +if sunos ; then
> +  echocheck "Solaris linker"
> +  if test "$cc_name" = "gcc" ; then
> +    if cflag_check "-Wl,-z,help" ; then
> +      echo "hwcap_1 = OVERRIDE;" > mapfile && extra_ldflags="$extra_ldflags -Wl,-M,mapfile"
> +      echores "yes"
> +    else
> +      echores "no"
> +    fi
> +  elif test "$cc_vendor" = "sun" ; then
> +    echo "hwcap_1 = OVERRIDE;" > mapfile && extra_ldflags="$extra_ldflags -Mmapfile"


Why not just check if one of
-Wl,-M,mapfile
or
-Mmapfile
works and if yes use that?
Also "make distclean" should remove "mapfile"


More information about the MPlayer-advusers mailing list