Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750554 - www-client/firefox-82.0 fails to compile : 'jemalloc_purge_freed_pages' declared void
Summary: www-client/firefox-82.0 fails to compile : 'jemalloc_purge_freed_pages' decla...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 13:50 UTC by Helmut Jarausch
Modified: 2021-04-29 19:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log xz-compressed (firefox-82.0.build.xz,311.87 KB, application/x-xz)
2020-10-21 13:50 UTC, Helmut Jarausch
Details
emerge --info output (firefox.info,24.18 KB, text/plain)
2020-10-21 13:50 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2020-10-21 13:50:22 UTC
Created attachment 667628 [details]
build log xz-compressed

Compilation of firefox-82.0 fails with many errors like

/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++17 -o CoreDump.pb.o -c  -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/dist/stl_wrappers -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/dist/system_wrappers -include /var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DGOOGLE_PROTOBUF_NO_RTTI -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/devtools/shared/heapsnapshot -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/devtools/shared/heapsnapshot -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/ipc/ipdl/_ipdlheaders -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/ipc/chromium/src -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/ipc/glue -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox_build/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -march=native -maes -mavx -mavx2 -mf16c -mfma -mmmx -mpclmul -mpopcnt -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4a -mssse3 -pipe -std=c++17 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O3 -fomit-frame-pointer -funwind-tables -Wno-error=shadow  -MD -MP -MF .deps/CoreDump.pb.o.pp  -fdiagnostics-color  /var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/devtools/shared/heapsnapshot/CoreDump.pb.cc
 0:33.69 In file included from Unified_cpp_memory_build0.cpp:2:
 0:33.69 /var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/memory/build/mozjemalloc.cpp:4792:63: error: variable or field 'jemalloc_purge_freed_pages' declared void
 0:33.69  4792 |   return_type name_impl(ARGS_HELPER(TYPED_ARGS, ##__VA_ARGS__)) attributes { \
 0:33.70       |                                                               ^
 0:33.70 /var/tmp/Big_Tmp/portage/www-client/firefox-82.0/work/firefox-82.0/memory/build/mozjemalloc.cpp:4816:3: note: in expansion of macro 'GENERIC_MALLOC_DECL2'
 0:33.70  4816 |   GENERIC_MALLOC_DECL2(attributes, name, name, return_type, ##__VA_ARGS__)
 0:33.70       |   ^~~~~~~~~~~~~~~~~~~~
Comment 1 Helmut Jarausch 2020-10-21 13:50:49 UTC
Created attachment 667631 [details]
emerge --info output
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-29 19:04:58 UTC
Is this still happening with >=firefox-88?