Closed Bug 1300522 Opened 8 years ago Closed 8 years ago

Icedove fail to build for MIPS64 on Debian

Categories

(Thunderbird :: Build Config, defect)

45 Branch
Other
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1284803

People

(Reporter: Dejan.Latinovic, Unassigned)

Details

Attachments

(1 file)

Icedove failed to build on Debian for mips64el with an error:
> c++ -o Unified_cpp_media_libyuv1.o -c  -I/«PKGBUILDDIR»/obj-icedove/dist/system_wrappers -include /«PKGBUILDDIR»/mozilla/config/gcc_hidden.h -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=1 -D_ISOC99_SOURCE=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DHAVE_JPEG -DLIBYUV_DISABLE_AVX2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/«PKGBUILDDIR»/mozilla/media/libyuv -I. -I/«PKGBUILDDIR»/mozilla/media/libyuv/include -I/«PKGBUILDDIR»/mozilla/media/libyuv -I../../../ipc/ipdl/_ipdlheaders -I/«PKGBUILDDIR»/mozilla/ipc/chromium/src -I/«PKGBUILDDIR»/mozilla/ipc/glue -I../../../dist/include    -fPIC  -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_media_libyuv1.o.pp -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fno-schedule-insns2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -freorder-blocks -Os -fomit-frame-pointer     /«PKGBUILDDIR»/obj-icedove/media/libyuv/libyuv_libyuv/Unified_cpp_media_libyuv1.cpp
> {standard input}: Assembler messages:
> {standard input}:1247: Error: invalid operands `lw $t4,16($4)'
> {standard input}:1248: Error: invalid operands `lw $t5,20($4)'
> {standard input}:1249: Error: invalid operands `lw $t6,24($4)'
> {standard input}:1250: Error: invalid operands `lw $t7,28($4)'
> ....

The same error appears for iceweasel, full build log is available here:
https://buildd.debian.org/status/fetch.php?pkg=icedove&arch=mips64el&ver=1%3A45.2.0-4&stamp=1471624442
https://buildd.debian.org/status/fetch.php?pkg=iceweasel&arch=mips64el&ver=45.0~b5-1&stamp=1459239247


I have already reported and described this issue on Debian:
https://bugs.debian.org/836400
Attached patch solves this issue by disabling usage of mips assembly for MIPS64.
I was able to build icedove successfully for mips64el using this patch.

Similar solution is available here:
https://github.com/svn2github/libyuv/commit/0fa7dd2dcf668e1733c3344bc47d6484c7d7544c
Component: General → Untriaged
Product: Firefox → Thunderbird
Component: Untriaged → Build Config
What's the story here? Are you requesting review for your patch?

The patch is for Mozilla core, media/libyuv, so you'd have to get in touch with the people in that area. This has little to do with TB.
(In reply to Jorg K (GMT+2, PTO during summer) from comment #2)
> What's the story here? Are you requesting review for your patch?
> 
> The patch is for Mozilla core, media/libyuv, so you'd have to get in touch
> with the people in that area. This has little to do with TB.

mozilla-central uses libyuv rev 1602 by bug 1284803.  This issue is already fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: