Bug 187273

Summary: multimedia/gstreamer-ffmpeg: 11.0-CURRENT r262690 ia64: /usr/bin/ld: final link failed: Nonrepresentable section on output
Product: Ports & Packages Reporter: Anton Shterenlikht <as>
Component: Individual Port(s)Assignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Anton Shterenlikht 2014-03-05 09:00:00 UTC
Building in a poudriere jail:

# poudriere jails -l
JAILNAME             VERSION              ARCH    METHOD  PATH
ia64-11              11.0-CURRENT r262690 ia64    svn+https /pdr/jails/ia64-11

The poudriere ports tree at r347001.

The port build fails with:

*** Warning: Linking the shared library libgstffmpeg.la against the
*** static library ../../gst-libs/ext/libav/libavformat/libavformat.a is not portable!

*** Warning: Linking the shared library libgstffmpeg.la against the
*** static library ../../gst-libs/ext/libav/libavcodec/libavcodec.a is not portable!

*** Warning: Linking the shared library libgstffmpeg.la against the
*** static library ../../gst-libs/ext/libav/libavutil/libavutil.a is not portable!
../../gst-libs/ext/libav/libavcodec/libavcodec.a(mpeg4videodec.o): In function `decode_init':
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2216: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2219: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2222: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2225: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2216: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2219: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2222: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2225: relocation truncated to fit: GPREL22 against `.bss'
../../gst-libs/ext/libav/libavcodec/libavcodec.a(mpeg4videodec.o): In function `mpeg4_decode_sprite_trajectory':
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:175: relocation truncated to fit: GPREL22 against `.bss'
../../gst-libs/ext/libav/libavcodec/libavcodec.a(mpeg4videodec.o): In function `get_vlc2':
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/get_bits.h:522: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/get_bits.h:522: additional relocation overflows omitted from the output
/usr/bin/ld: final link failed: Nonrepresentable section on output
gmake[4]: *** [libgstffmpeg.la] Error 1
gmake[4]: Leaving directory `/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/ext/ffmpeg'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13/ext'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/wrkdirs/usr/ports/multimedia/gstreamer-ffmpeg/work/gst-ffmpeg-0.10.13'
*** Error code 1

The full log:

http://eis.bris.ac.uk/~mexas/logs/gstreamer-ffmpeg-0.10.13_1.log
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-05 09:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Anton Shterenlikht 2014-03-27 11:40:32 UTC
Note that the patch from
http://www.freebsd.org/cgi/query-pr.cgi?pr=187814
fixes this problem.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-03-27 20:55:24 UTC
Author: tijl
Date: Thu Mar 27 20:55:20 2014
New Revision: 349362
URL: http://svnweb.freebsd.org/changeset/ports/349362
QAT: https://qat.redports.org/buildarchive/r349362/

Log:
  Use binutils port on FreeBSD/ia64.
  
  PR:		ports/187273

Modified:
  head/multimedia/gstreamer-ffmpeg/Makefile

Modified: head/multimedia/gstreamer-ffmpeg/Makefile
==============================================================================
--- head/multimedia/gstreamer-ffmpeg/Makefile	Thu Mar 27 20:42:36 2014	(r349361)
+++ head/multimedia/gstreamer-ffmpeg/Makefile	Thu Mar 27 20:55:20 2014	(r349362)
@@ -59,7 +59,7 @@ CONFIGURE_ARGS+=	--with-ffmpeg-extra-con
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 900033
+.if ${OSVERSION} < 900033 || ${ARCH} == ia64
 BUILD_DEPENDS+=	${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
 MAKE_ENV=	COMPILER_PATH=${LOCALBASE}/bin
 .endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2014-03-27 20:55:31 UTC
State Changed
From-To: open->closed

Fixed in r349362.