Closed Bug 2063808 Opened 3 months ago Closed 3 months ago

Link failure when building with --with-system-av1

Categories

(Firefox Build System :: Toolchains, defect)

Firefox 153
defect

Tracking

(firefox156 fixed)

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: hugo, Assigned: hugo)

References

Details

Attachments

(1 file, 1 external file)

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

Will have a patch for this shortly (need to verify the whole build one more time).

Ref: 1951581

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.

Component: Untriaged → Toolchains
Product: Firefox → Firefox Build System

Submitting the patch via Phabricator is beyond my capabilities, and I can't even understand how to install MozPhab.

Including patch here.

See Also: → 1951581

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.

Attachment #9627740 - Attachment description: WIP: Bug 2063808 Fix build failure with --with-system-av1 → Bug 2063808 Fix build failure with --with-system-av1
Assignee: nobody → hugo
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: