Closed Bug 1885246 Opened 2 years ago Closed 2 years ago

Remove PlainOldDataSerializer except in gfx/vr and gfx/layers/wr

Categories

(Core :: IPC, task, P1)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(1 external file)

gfx/vr and gfx/layers/wr have trickier uses, so let's do those separately.

Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98564ffc07ca Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e8b7f3addc7 Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8

Backed out for causing non-unified build bustages on TCPSocket.cpp.
So far, this only happened on Linux x64 plain.

[task 2024-03-21T14:42:39.341Z] 14:42:39     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/dom/network'
[task 2024-03-21T14:42:39.344Z] 14:42:39     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/sysroot-x86_64-linux-gnu -o TCPSocket.o -c  -I/builds/worker/workspace/obj-build/dist/stl_wrappers -I/builds/worker/workspace/obj-build/dist/system_wrappers -include /builds/worker/checkouts/gecko/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/dom/network -I/builds/worker/workspace/obj-build/dom/network -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -fcrash-diagnostics-dir=/builds/worker/artifacts -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -gdwarf-4 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -fno-omit-frame-pointer -funwind-tables -Werror -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wenum-compare-conditional -Wenum-float-conversion -Wno-error=deprecated -Wno-error=deprecated-anon-enum-enum-conversion -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-pragma -Wno-error=deprecated-this-capture -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wformat -Wformat-security -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/TCPSocket.o.pp   /builds/worker/checkouts/gecko/dom/network/TCPSocket.cpp
[task 2024-03-21T14:42:39.345Z] 14:42:39    ERROR -  /builds/worker/checkouts/gecko/dom/network/TCPSocket.cpp:52:27: error: unused variable 'BUFFER_SIZE' [-Werror,-Wunused-const-variable]
[task 2024-03-21T14:42:39.346Z] 14:42:39     INFO -     52 | static constexpr uint64_t BUFFER_SIZE = 65536;
[task 2024-03-21T14:42:39.346Z] 14:42:39     INFO -        |                           ^~~~~~~~~~~
[task 2024-03-21T14:42:39.346Z] 14:42:39     INFO -  1 error generated.
[task 2024-03-21T14:42:39.346Z] 14:42:39    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:689: TCPSocket.o] Error 1
[task 2024-03-21T14:42:39.346Z] 14:42:39     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/dom/network'
Flags: needinfo?(jgilbert)
Flags: needinfo?(jgilbert)
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebc075fd132d Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Flags: needinfo?(jgilbert)

Backed out for causing bc failures in EnumSerializer.h

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: Assertion failure: EnumValidator::IsLegalValue( static_cast<std::underlying_type_t<paramType>>(aValue)), at /builds/worker/workspace/obj-build/dist/include/ipc/EnumSerializer.h:61
Flags: needinfo?(jgilbert)
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa4cd4462c8d Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: