Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD 13.3 compilation issue realloc #212

Open
rmottola opened this issue Aug 8, 2024 · 2 comments
Open

FreeBSD 13.3 compilation issue realloc #212

rmottola opened this issue Aug 8, 2024 · 2 comments

Comments

@rmottola
Copy link
Owner

rmottola commented Aug 8, 2024

While 13.2 compiles, 13.3 fails:

80:14.60 In file included from /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/gfx/graphite2/src/Unified_cpp_gfx_graphite2_src0.cpp:29:
80:14.60 In file included from /usr/home/multix/code/Arctic-Fox/gfx/graphite2/src/Collider.cpp:35:
80:14.60 In file included from /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/dist/stl_wrappers/functional:52:
80:14.60 In file included from /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/dist/system_wrappers/functional:4:
80:14.60 In file included from /usr/include/c++/v1/functional:526:
80:14.60 In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
80:14.60 In file included from /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/dist/stl_wrappers/vector:52:
80:14.61 In file included from /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/dist/system_wrappers/vector:4:
80:14.61 In file included from /usr/include/c++/v1/vector:321:
80:14.61 In file included from /usr/include/c++/v1/__format/formatter_bool.h:20:
80:14.61 In file included from /usr/include/c++/v1/__format/formatter_integral.h:32:
80:14.61 In file included from /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/dist/system_wrappers/locale:4:
80:14.61 /usr/include/c++/v1/locale:2822:22: error: no member named 'moz_xrealloc' in namespace 'std'; did you mean simply 'moz_xrealloc'?
80:14.61  2822 |     _Tp* __t = (_Tp*)std::realloc(__owns ? __b.get() : 0, __new_cap);
80:14.61       |                      ^~~~~ools
80:14.61 /usr/home/multix/code/Arctic-Fox/obj-x86_64-unknown-freebsd13.3/dist/include/mozilla/mozalloc.h:83:16: note: 'moz_xrealloc' declared here
80:14.61    83 | MFBT_API void* moz_xrealloc(void* ptr, size_t size)
80:14.61       |                ^isc libs tools
80:14.61 1 error generated.pile misc libs tools
80:14.61 -export export compile misc libs tools

@rmottola
Copy link
Owner Author

rmottola commented Aug 8, 2024

See also

https://forum.palemoon.org/viewtopic.php?t=31415

removing the said file from unified sources.

@rmottola
Copy link
Owner Author

rmottola commented Sep 4, 2024

the trick mentioned in the forum (remove from unified sources) works for gfx, but not hunspell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant