Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937019 - media-libs/xvid-1.3.7-r1: Fails to build
Summary: media-libs/xvid-1.3.7-r1: Fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 926543
Blocks:
  Show dependency tree
 
Reported: 2024-07-31 16:42 UTC by zen
Modified: 2024-08-19 01:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,37.18 KB, text/x-log)
2024-07-31 16:42 UTC, zen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zen 2024-07-31 16:42:14 UTC
Created attachment 898708 [details]
build log

Fails to build, log attached.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-31 16:55:45 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: bitstream/x86_asm/cbp_mmx.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
make: *** [Makefile:137: libxvidcore.so.4.3] Error 1
 [31;01m*[0m ERROR: media-libs/xvid-1.3.7-r1::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
Comment 2 Larry the Git Cow gentoo-dev 2024-08-19 01:17:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6772974ec4b3250f18dfaf2c142c8d439335e4a3

commit 6772974ec4b3250f18dfaf2c142c8d439335e4a3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-19 01:16:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-19 01:17:19 +0000

    media-libs/xvid: disable assembly
    
    There's a handful of very old asm impls in here for mmx+sse2 but they're
    non-PIC and unlikely to be worth it these days.
    
    Bug: https://bugs.gentoo.org/421841
    Bug: https://bugs.gentoo.org/831044
    Bug: https://bugs.gentoo.org/858431
    Closes: https://bugs.gentoo.org/258804
    Closes: https://bugs.gentoo.org/926543
    Closes: https://bugs.gentoo.org/937019
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/xvid/xvid-1.3.7-r2.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)