Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 23:59:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 230215] multimedia/libfame: fail to link with lld as /usr/bin/ld on i386
Message-ID:  <bug-230215-12827-wHpvcZTshJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230215-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230215-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia mai=
ling
list <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 230215: multimedia/libfame: fail to link with lld as /usr/bin/ld on i386
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230215



--- Description ---
The migration to the LLVM project's lld linker as the system linker
(/usr/bin/ld) for FreeBSD is in progress - it is the case for arm64 and amd=
64
today, and i386 will switch once ports issues are addressed - see exp-run in
PR214864.

Linking multimedia/libfame with lld on i386 fails with errors of the form:

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol:
_mmx_1 in readonly segment; recompile object files with -fPIC
>>> defined in fame.lo
>>> referenced by fame_encoder_mpeg.c
>>>		  fame_encoder_mpeg.lo:(mpeg_encode_intra_mb)

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol:
_mmx_cos in readonly segment; recompile object files with -fPIC
>>> defined in fame.lo
>>> referenced by fame_encoder_mpeg.c
>>>		  fame_encoder_mpeg.lo:(mpeg_encode_intra_mb)

http://package18.nyi.freebsd.org/data/headi386PR214864-default/2018-07-30_1=
8h09
m59s/logs/errors/libfame-0.9.1_5.log



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230215-12827-wHpvcZTshJ>