Bug 187814 - multimedia/gstreamer1-libav: 11.0-CURRENT r262690 ia64: /usr/bin/ld: final link failed: Nonrepresentable section on output
Summary: multimedia/gstreamer1-libav: 11.0-CURRENT r262690 ia64: /usr/bin/ld: final li...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 11:30 UTC by Anton Shterenlikht
Modified: 2014-03-27 20:56 UTC (History)
0 users

See Also:


Attachments
gstreamer1-libav.patch (488 bytes, patch)
2014-03-25 21:59 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2014-03-21 11:30:00 UTC
Built in poudriere with ports at r348732.

Error:

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

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

*** Warning: Linking the shared library libgstlibav.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/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2224: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2227: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2230: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2233: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2224: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2227: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2230: relocation truncated to fit: GPREL22 against `.bss'
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:2233: 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/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:178: relocation truncated to fit: GPREL22 against `.bss'
../../gst-libs/ext/libav/libavcodec/libavcodec.a(mpeg4videodec.o): In function `get_vlc2':
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/get_bits.h:523: relocation truncated to fit: GPREL22 against `.bss'
../../gst-libs/ext/libav/libavcodec/libavcodec.a(mpeg4videodec.o): In function `get_vlc2':
/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/gst-libs/ext/libav/libavcodec/mpeg4videodec.c:630: additional relocation overflows omitted from the output
/usr/bin/ld: final link failed: Nonrepresentable section on output
gmake[4]: *** [libgstlibav.la] Error 1
gmake[4]: Leaving directory `/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.2.2/ext/libav'

Full build log:

http://eis.bris.ac.uk/~mexas/logs/gstreamer1-libav-1.2.2.log

Note: identical warnings and error are in multimedia/gstreamer-ffmpeg:

http://www.freebsd.org/cgi/query-pr.cgi?pr=187273
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-21 11:30:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2014-03-25 21:59:58 UTC
Hi,

Can you retry with the latest version of the port (1.2.3)?  If it still
fails try the attached patch.
Comment 3 Anton Shterenlikht 2014-03-26 14:13:26 UTC
v 1.2.3 fails with the same error:

http://eis.bris.ac.uk/~mexas/logs/gstreamer1-libav-1.2.3.log

Checking the patch right now, will report later.
Comment 4 Anton Shterenlikht 2014-03-26 14:32:19 UTC
yes, builds/installs with the patch:

===>  Installing for gstreamer1-libav-1.2.3
===>   Registering installation for gstreamer1-libav-1.2.3
Installing gstreamer1-libav-1.2.3... done
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-03-26 17:28:22 UTC
Author: tijl
Date: Wed Mar 26 17:28:18 2014
New Revision: 349270
URL: http://svnweb.freebsd.org/changeset/ports/349270
QAT: https://qat.redports.org/buildarchive/r349270/

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

Modified:
  head/multimedia/gstreamer1-libav/Makefile

Modified: head/multimedia/gstreamer1-libav/Makefile
==============================================================================
--- head/multimedia/gstreamer1-libav/Makefile	Wed Mar 26 17:27:24 2014	(r349269)
+++ head/multimedia/gstreamer1-libav/Makefile	Wed Mar 26 17:28:18 2014	(r349270)
@@ -25,7 +25,7 @@ PLIST_SUB=	VERSION="1.0"
 
 .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 6 Anton Shterenlikht 2014-03-27 11:39:27 UTC
Note that this patch also fixes
http://www.freebsd.org/cgi/query-pr.cgi?pr=187273

So probably it should be committed for
multimedia/gstreamer-ffmpeg too.
Comment 7 Tijl Coosemans freebsd_committer freebsd_triage 2014-03-27 20:56:15 UTC
State Changed
From-To: open->closed

Fixed in r349270.