[mips] undefined reference to `jsimd_can_rgb_gray'
Categories
(Firefox Build System :: General: Unsupported Platforms, defect)
Tracking
(firefox68 fixed, firefox69 fixed)
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
[task 2019-06-06T08:41:46.032Z] 08:41:46 INFO - /builds/worker/workspace/build/src/binutils/bin/ld: ../../media/libjpeg/jccolor.o: in function `jinit_color_converter':
[task 2019-06-06T08:41:46.032Z] 08:41:46 INFO - /builds/worker/workspace/build/src/media/libjpeg/jccolor.c:595: undefined reference to `jsimd_can_rgb_gray'
[task 2019-06-06T08:41:46.034Z] 08:41:46 INFO - /builds/worker/workspace/build/src/binutils/bin/ld: /builds/worker/workspace/build/src/media/libjpeg/jccolor.c:595: undefined reference to `jsimd_can_rgb_gray'
[task 2019-06-06T08:41:46.034Z] 08:41:46 INFO - /builds/worker/workspace/build/src/binutils/bin/ld: /builds/worker/workspace/build/src/media/libjpeg/jccolor.c:596: undefined reference to `jsimd_rgb_gray_convert'
[task 2019-06-06T08:41:46.034Z] 08:41:46 INFO - /builds/worker/workspace/build/src/binutils/bin/ld: /builds/worker/workspace/build/src/media/libjpeg/jccolor.c:703: undefined reference to `jsimd_c_can_null_convert'
[task 2019-06-06T08:41:46.034Z] 08:41:46 INFO - /builds/worker/workspace/build/src/binutils/bin/ld: /builds/worker/workspace/build/src/media/libjpeg/jccolor.c:703: undefined reference to `jsimd_c_can_null_convert'
...
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Next up:
[task 2019-06-06T09:21:47.611Z] 09:21:47 ERROR - <instantiation>:13:5: error: invalid token in expression
[task 2019-06-06T09:21:47.611Z] 09:21:47 INFO - .if $17 != 0
[task 2019-06-06T09:21:47.611Z] 09:21:47 INFO - ^
[task 2019-06-06T09:21:47.611Z] 09:21:47 INFO - /builds/worker/workspace/build/src/media/libjpeg/simd/mips/jsimd_dspr2.S:42:5: note: while in macro instantiation
[task 2019-06-06T09:21:47.611Z] 09:21:47 INFO - SAVE_REGS_ON_STACK 8, $16, $17
[task 2019-06-06T09:21:47.611Z] 09:21:47 INFO - ^
Yet another thing the clang integrated assembler can't compile.
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 9070193 [details]
Bug 1557259 - Fix CPU_ARCH test for libjpeg on mips.
Beta/Release Uplift Approval Request
- User impact if declined: Build failures on mips and mipsel Linux. Would be nice to have in ESR68 for downstreams.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): NPOTB
- String changes made/needed:
Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/00dd549cdd25
https://hg.mozilla.org/mozilla-central/rev/ecf50d974076
Comment 7•6 years ago
|
||
bugherder |
Assignee | ||
Comment 9•6 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #8)
What does this do for mips64?
Nothing. We don't enable the simd code on mips64 per toolkit/moz.configure
, and neither does upstream, per https://github.com/libjpeg-turbo/libjpeg-turbo/blob/ec5adb83dd38d31374670129851cccc729b9ce13/simd/CMakeLists.txt#L265-L296
Assignee | ||
Comment 10•6 years ago
|
||
Mmmm actually, it seems that code is triggered on mips64... according to the libjpeg-turbo build logs for the debian package on mips64el. But the code also has "cast from pointer to integer of different size" warnings, so I'm also not confident that it actually works properly.
Comment 11•6 years ago
|
||
Comment on attachment 9070193 [details]
Bug 1557259 - Fix CPU_ARCH test for libjpeg on mips.
tier3 build fix, approved for 68.0b10
Updated•6 years ago
|
Comment 12•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/cd40c1684a60
https://hg.mozilla.org/releases/mozilla-beta/rev/5baea46a218f
Description
•