Link failure when building with --with-system-av1
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(firefox156 fixed)
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: hugo, Assigned: hugo)
References
Details
Attachments
(1 file, 1 external file)
|
1.56 KB,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
Steps to reproduce:
Built with --with-system-av1
Actual results:
16:03.65 config/external/sqlite/libmozsqlite3.so
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_av1_cx' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_av1_dx' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_build_config' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_control' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_dec_init_ver' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_decode' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_destroy' failed: symbol not defined
16:03.67 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_destroy' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_config_default' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_config_set' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_init_ver' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_encode' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_err_to_string' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_error' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_error_detail' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_caps' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_cx_data' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_frame' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_peek_stream_info' failed: symbol not defined
16:03.68 E ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_set_option' failed: symbol not defined
16:03.68 E ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
16:03.68 E clang-22: error: linker command failed with exit code 1 (use -v to see invocation)
Expected results:
Built fine
| Assignee | ||
Comment 1•3 months ago
|
||
Will have a patch for this shortly (need to verify the whole build one more time).
| Assignee | ||
Comment 2•3 months ago
|
||
Ref: 1951581
Comment 3•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Comment 4•3 months ago
|
||
Submitting the patch via Phabricator is beyond my capabilities, and I can't even understand how to install MozPhab.
Including patch here.
| Assignee | ||
Comment 5•3 months ago
|
||
When building with --with-system-av1 tries to link a statically-compiled
libgkcodecs, which doesn't exist since we're using the system shared
object.
Add a guard following the same pattern established by all the other
--with-system-XXX flags.
Updated•3 months ago
|
Updated•3 months ago
|
Comment 7•3 months ago
|
||
| bugherder | ||
Description
•