Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678818 - media-video/x264-encoder-0.0.20190214 - x264.o: In function `main': x264.c:(.text.startup+0x2a): undefined reference to `x264_stack_align'
Summary: media-video/x264-encoder-0.0.20190214 - x264.o: In function `main': x264.c:(....
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-26 10:31 UTC by Alexander Rostovtsev
Modified: 2019-02-26 12:45 UTC (History)
0 users

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


Attachments
build.log (build.log,11.84 KB, text/plain)
2019-02-26 10:31 UTC, Alexander Rostovtsev
Details
emerge --info '=media-video/x264-encoder-0.0.20190214::gentoo' (emerge--info.log,19.04 KB, text/x-log)
2019-02-26 10:34 UTC, Alexander Rostovtsev
Details
emerge -pqv '=media-video/x264-encoder-0.0.20190214::gentoo' (emerge-pqv.log,159 bytes, text/x-log)
2019-02-26 10:34 UTC, Alexander Rostovtsev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Rostovtsev 2019-02-26 10:31:32 UTC
Created attachment 566512 [details]
build.log

emerge media-video/x264-encoder-0.0.20190214 failed on x86-32 during link stage (undefined reference to `x264_stack_align') due to invalid symbol visibility of assembly implementation of function x264_stack_align for x86-32 arch.

Possible solution and patch explained here:

https://patches.videolan.org/patch/21704/
Comment 1 Alexander Rostovtsev 2019-02-26 10:34:00 UTC
Created attachment 566514 [details]
emerge --info '=media-video/x264-encoder-0.0.20190214::gentoo'
Comment 2 Alexander Rostovtsev 2019-02-26 10:34:52 UTC
Created attachment 566516 [details]
emerge -pqv '=media-video/x264-encoder-0.0.20190214::gentoo'
Comment 3 Alexander Rostovtsev 2019-02-26 12:45:48 UTC
(In reply to Alexander Rostovtsev from comment #0)
> Created attachment 566512 [details]
> build.log
> 
> emerge media-video/x264-encoder-0.0.20190214 failed on x86-32 during link
> stage (undefined reference to `x264_stack_align') due to invalid symbol
> visibility of assembly implementation of function x264_stack_align for
> x86-32 arch.
> 
> Possible solution and patch explained here:
> 
> https://patches.videolan.org/patch/21704/
This was invalid assumption.

The cause of this problem is that x264.so does not contain the definition of the x264_stack_align function. What is the consequence:
1. errors in the name of the stack_align function instead of x264_stack_align in the file "common / x86 / cpu-a.asm"
2. except for target of this file from the x264.so assembly (media-libs/x264-0.0.20190214)