firefox FTBFS on s390x
Bug #1878292 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy | ||
thunderbird (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Builds hang when trying to compile the third-party sqlite3 copy, during 7+ hours, before being killed. See e.g. https:/
436:55.58 make[6]: *** [/<<BUILDDIR>
436:55.59 make[6]: Leaving directory '/<<BUILDDIR>
436:55.59 make[5]: *** [/<<BUILDDIR>
Changed in thunderbird (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: verification-done-focal removed: verification-needed-focal |
To post a comment you must log in.
This is the full compiler invokation used to build the sqlite3 copy:
/usr/bin/clang-10 -std=gnu99 -o sqlite3.o -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack- protector- strong -DNDEBUG=1 -DTRIMMED=1 -DSQLITE_SECUR THREADSAFE= 1 -DSQLITE_CORE=1 -DSQLITE_ ENABLE_ FTS3=1 -DSQLITE_ ENABLE_ UNLOCK_ NOTIFY= 1 -DSQLITE_ ENABLE_ DBSTAT_ VTAB=1 -DSQLITE_ DEFAULT_ PAGE_SIZE= 32768 -DSQLITE_ MAX_DEFAULT_ PAGE_SIZE= 32768 -DSQLITE_ OMIT_DEPRECAT OMIT_BUILTIN_ TEST -DSQLITE_ OMIT_DECLTYPE -DSQLITE_ TEMP_STORE= 2 '-DSQLITE_ TEMP_FILE_ PREFIX= "mz_etilqs_ "' -I/home/ ubuntu/ firefox. focal/third_ party/sqlite3/ src -I/home/ ubuntu/ firefox. focal/obj- s390x-linux- gnu/third_ pa ubuntu/ firefox. focal/obj- s390x-linux- gnu/dist/ include -I/home/ ubuntu/ firefox. focal/obj- s390x-linux- gnu/dist/ include/ nspr -I/home/ ubuntu/ firefox. focal/obj- s390x-linux- gnu/dist/ include/ nss -fPIC -include firefox. focal/obj- s390x-linux- gnu/mozilla- config. h -DMOZILLA_CLIENT -Qunused-arguments -fno-strict- aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -fPIC -pipe -g -O2 -fomit- frame-pointer -fun enum-conversion -Wempty-body -Wignored- qualifiers -Wpointer-arith -Wshadow- field-in- constructor- modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable- code-return overflow- conversion -Wfloat- zero-conversion -Wloop-analysis -Wstring-conversion -Wtautological- overlap- compare -Wtautological- unsigned- enum-zero- compare -Wtautological- unsigned- zero-compare -Wno-error= type-limit- compare -Wno-error= deprecated- declarations -Wno-error= array-bounds -Wno-error= backend- plugin -Wno-error= return- std-move -Wno-error= atomic- alignment -Wno-error= deprecated- copy -Wformat -Wformat-security zero-variadic- macro-arguments -Wno-sign-compare -Wno-type-limits -fexperimental- new-pass- manager -MD -MP -MF .deps/sqlite3.o.pp /home/ubuntu/ firefox. focal/third_ party/sqlite3/ src/sqlite3. c
E_DELETE=1 -DSQLITE_
ED -DSQLITE_
rty/sqlite3/src -I/home/
/home/ubuntu/
wind-tables -Qunused-arguments -Wall -Wbitfield-
-Wclass-varargs -Wfloat-
tautological-
-Wno-gnu-
I can reliably reproduce the indefinite hang on s390x. If I replace the optimization flag "-O2" by "-O0", the build succeeds almost instantly. "-O1" seems to hang too, so it looks like clang on s390x has trouble optimizing the sqlite3 code.