pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50988: mplayer, gmplayer, mencoder build fails with"unrecognized relocation (0x2a) in section `.text'"



The following reply was made to PR pkg/50988; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/50988: mplayer, gmplayer, mencoder build fails with"unrecognized
 relocation (0x2a) in section `.text'"
Date: Fri, 14 Oct 2016 20:52:27 -0500 (CDT)

 Restructuring a bit to see if this message will be allowed to pass.
 
 The following patch lets me build with "mplayer-ssse3" option on NetBSD 6
 and later for i386 and amd64 as the host binutils is of sufficent version.
 Not sure how to deal with non-NetBSD platforms.
 
 +Index: multimedia/mplayer-share/options.mk
 +===================================================================
 +RCS file: /cvsroot/pkgsrc/multimedia/mplayer-share/options.mk,v
 +retrieving revision 1.55
 +diff -u -p -r1.55 options.mk
 +--- multimedia/mplayer-share/options.mk	25 Feb 2016 15:49:44 -0000	1.55
 ++++ multimedia/mplayer-share/options.mk	30 Mar 2016 22:49:01 -0000
 +@@ -339,9 +339,11 @@ CONFIGURE_ARGS+=	--disable-xvid
 + .endif
 + 
 + .if !empty(PKG_OPTIONS:Mmplayer-ssse3)
 +-# needs a recent assembler
 +-.include "../../devel/binutils/buildlink3.mk"
 +-.include "../../devel/binutils/override-as.mk"
 ++.  if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*)
 ++     # needs a recent assembler
 ++.    include "../../devel/binutils/buildlink3.mk"
 ++.    include "../../devel/binutils/override-as.mk"
 ++.  endif
 + .else
 + CONFIGURE_ARGS+=	--disable-ssse3
 + .endif
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index