mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
8f8239d7bf
Because of alignment issues due to the system glibc when running the SSE2 gcov code generated during the PGO profile gen phase, Firefox crashes when running the PGO profile. We work around the issue by disabling SSE2 when building mozjemalloc during that phase. That shouldn't affect the coverage data anyways, which is bound to the original C++ code, and the profile-use code generation will still emit SSE2 based on the coverage data if it needs to. --HG-- extra : rebase_source : 3596fdc795cdef0789f3a2dd8f10b42cde00430f
10 lines
374 B
Makefile
10 lines
374 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Workaround for alignment problems in gcov code. See
|
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1413570#c2.
|
|
ifeq ($(CPU_ARCH),x86)
|
|
PROFILE_GEN_CFLAGS += -mno-sse2
|
|
endif
|