macOS build warnings

506 views
Skip to first unread message

Vivek Galatage

unread,
Jan 25, 2022, 8:52:27 PM1/25/22
to Chromium-dev
I am trying to build the latest beta version (98.0.4758.70) with is_official_build = true on macOS and getting these warnings while building.  I would like to know what these warnings mean and how to fix these.

[9496/49843] LINK ./brotli
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__19basic_iosIwNS_11char_traitsIwEEED2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt8bad_castD1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__16locale5facetD2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17collateIcED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17collateIwED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__116__narrow_to_utf8ILm32EED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__117__widen_from_utf8ILm32EED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__15ctypeIwED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17codecvtIcc11__mbstate_tED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17codecvtIDsc11__mbstate_tED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17codecvtIDic11__mbstate_tED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__110moneypunctIcLb0EED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__110moneypunctIcLb1EED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__110moneypunctIwLb0EED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__110moneypunctIwLb1EED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__18messagesIcED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__18messagesIwED1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZN10__cxxabiv117__class_type_infoD1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZN10__cxxabiv120__si_class_type_infoD1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZN10__cxxabiv121__vmi_class_type_infoD1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt9exceptionD2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__114__shared_countD2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__114error_categoryD2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__110moneypunctIcLb0EE14do_frac_digitsEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__110moneypunctIcLb1EE14do_frac_digitsEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__110moneypunctIwLb0EE14do_frac_digitsEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__110moneypunctIwLb1EE14do_frac_digitsEv
warning: (x86_64)  could not find object file symbol for symbol __ZNSt3__112__do_nothingEPv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__17codecvtIwc11__mbstate_tE16do_always_noconvEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__17codecvtIDsc11__mbstate_tE11do_encodingEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__17codecvtIDsc11__mbstate_tE16do_always_noconvEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__17codecvtIDic11__mbstate_tE11do_encodingEv
warning: (x86_64)  could not find object file symbol for symbol __ZNKSt3__17codecvtIDic11__mbstate_tE16do_always_noconvEv
warning: (x86_64)  could not find object file symbol for symbol __ZNSt9bad_allocD1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNK10__cxxabiv116__shim_type_info5noop1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNK10__cxxabiv116__shim_type_info5noop2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt9type_infoD2Ev
warning: (x86_64)  could not find object file symbol for symbol __ZN10__cxxabiv117__class_type_infoD0Ev
warning: (x86_64)  could not find object file symbol for symbol __ZN10__cxxabiv120__si_class_type_infoD0Ev
warning: (x86_64)  could not find object file symbol for symbol __ZN10__cxxabiv121__vmi_class_type_infoD0Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt8bad_castD0Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt9bad_allocD0Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt13runtime_errorD1Ev
warning: (x86_64)  could not find object file symbol for symbol __ZNSt13runtime_errorD0Ev

K. Moon

unread,
Jan 25, 2022, 8:55:05 PM1/25/22
to vivekg...@gmail.com, Chromium-dev
Can you list your full set of GN args? It looks like you're trying to build with a different standard library.

On Tue, Jan 25, 2022, 5:51 PM Vivek Galatage <vivekg...@gmail.com> wrote:
I am trying to build the latest beta version (98.0.4758.70) with is_official_build = true on macOS and getting these warnings while building.  I would like to know what these warnings mean and how to fix these.

[9496/49843] LINK ./brotli
9631warning: (x86_64) could not find object file symbol for symbol __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev
9632warning: (x86_64) could not find object file symbol for symbol __ZNSt3__19basic_iosIwNS_11char_traitsIwEEED2Ev
9633warning: (x86_64) could not find object file symbol for symbol __ZNSt8bad_castD1Ev
9634warning: (x86_64) could not find object file symbol for symbol __ZNSt3__16locale5facetD2Ev
9635warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17collateIcED1Ev
9636warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17collateIwED1Ev
9637warning: (x86_64) could not find object file symbol for symbol __ZNSt3__116__narrow_to_utf8ILm32EED1Ev
9638warning: (x86_64) could not find object file symbol for symbol __ZNSt3__117__widen_from_utf8ILm32EED1Ev
9639warning: (x86_64) could not find object file symbol for symbol __ZNSt3__15ctypeIwED1Ev
9640warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17codecvtIcc11__mbstate_tED1Ev
9641warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17codecvtIDsc11__mbstate_tED1Ev
9642warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17codecvtIDic11__mbstate_tED1Ev
9643warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
9644warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
9645warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
9646warning: (x86_64) could not find object file symbol for symbol __ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
9647warning: (x86_64) could not find object file symbol for symbol __ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
9648warning: (x86_64) could not find object file symbol for symbol __ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
9649warning: (x86_64) could not find object file symbol for symbol __ZNSt3__110moneypunctIcLb0EED1Ev
9650warning: (x86_64) could not find object file symbol for symbol __ZNSt3__110moneypunctIcLb1EED1Ev
9651warning: (x86_64) could not find object file symbol for symbol __ZNSt3__110moneypunctIwLb0EED1Ev
9652warning: (x86_64) could not find object file symbol for symbol __ZNSt3__110moneypunctIwLb1EED1Ev
9653warning: (x86_64) could not find object file symbol for symbol __ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
9654warning: (x86_64) could not find object file symbol for symbol __ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
9655warning: (x86_64) could not find object file symbol for symbol __ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev
9656warning: (x86_64) could not find object file symbol for symbol __ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev
9657warning: (x86_64) could not find object file symbol for symbol __ZNSt3__18messagesIcED1Ev
9658warning: (x86_64) could not find object file symbol for symbol __ZNSt3__18messagesIwED1Ev
9659warning: (x86_64) could not find object file symbol for symbol __ZN10__cxxabiv117__class_type_infoD1Ev
9660warning: (x86_64) could not find object file symbol for symbol __ZN10__cxxabiv120__si_class_type_infoD1Ev
9661warning: (x86_64) could not find object file symbol for symbol __ZN10__cxxabiv121__vmi_class_type_infoD1Ev
9662warning: (x86_64) could not find object file symbol for symbol __ZNSt9exceptionD2Ev
9663warning: (x86_64) could not find object file symbol for symbol __ZNSt3__114__shared_countD2Ev
9664warning: (x86_64) could not find object file symbol for symbol __ZNSt3__114error_categoryD2Ev
9665warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__110moneypunctIcLb0EE14do_frac_digitsEv
9666warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__110moneypunctIcLb1EE14do_frac_digitsEv
9667warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__110moneypunctIwLb0EE14do_frac_digitsEv
9668warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__110moneypunctIwLb1EE14do_frac_digitsEv
9669warning: (x86_64) could not find object file symbol for symbol __ZNSt3__112__do_nothingEPv
9670warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__17codecvtIwc11__mbstate_tE16do_always_noconvEv
9671warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__17codecvtIDsc11__mbstate_tE11do_encodingEv
9672warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__17codecvtIDsc11__mbstate_tE16do_always_noconvEv
9673warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__17codecvtIDic11__mbstate_tE11do_encodingEv
9674warning: (x86_64) could not find object file symbol for symbol __ZNKSt3__17codecvtIDic11__mbstate_tE16do_always_noconvEv
9675warning: (x86_64) could not find object file symbol for symbol __ZNSt9bad_allocD1Ev
9676warning: (x86_64) could not find object file symbol for symbol __ZNK10__cxxabiv116__shim_type_info5noop1Ev
9677warning: (x86_64) could not find object file symbol for symbol __ZNK10__cxxabiv116__shim_type_info5noop2Ev
9678warning: (x86_64) could not find object file symbol for symbol __ZNSt9type_infoD2Ev
9679warning: (x86_64) could not find object file symbol for symbol __ZN10__cxxabiv117__class_type_infoD0Ev
9680warning: (x86_64) could not find object file symbol for symbol __ZN10__cxxabiv120__si_class_type_infoD0Ev
9681warning: (x86_64) could not find object file symbol for symbol __ZN10__cxxabiv121__vmi_class_type_infoD0Ev
9682warning: (x86_64) could not find object file symbol for symbol __ZNSt8bad_castD0Ev
9683warning: (x86_64) could not find object file symbol for symbol __ZNSt9bad_allocD0Ev
9684warning: (x86_64) could not find object file symbol for symbol __ZNSt13runtime_errorD1Ev
9685warning: (x86_64) could not find object file symbol for symbol __ZNSt13runtime_errorD0Ev
```

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/585bcd98-2dea-44ad-9d6e-24250fd8dacbn%40chromium.org.

Vivek Galatage

unread,
Jan 25, 2022, 9:02:37 PM1/25/22
to Chromium-dev, km...@chromium.org, Chromium-dev
ffmpeg_branding = "Chromium"
proprietary_codecs = false
is_component_build = false
is_official_build = true

Yngve N. Pettersen

unread,
Jan 25, 2022, 10:37:26 PM1/25/22
to km...@chromium.org, vivekg...@gmail.com, Chromium-dev
Hi,

This sounds like <https://crbug.com/1279639>
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CACwGi-7%2B5gb5OTprLoa9mtH00HQ93tM8cqoFAm0zOKFDDTuROA%40mail.gmail.com.

-- 
Sincerely,
Yngve N. Pettersen
Vivaldi Technologies AS

Vivek Galatage

unread,
Jan 25, 2022, 11:01:55 PM1/25/22
to Yngve N. Pettersen, km...@chromium.org, Chromium-dev
This is great, thank you @yngve for the heads up.  Patching the //build/toolchain/apple/linker_driver.py in the M98 branch with the latest file from ToT fixes the warnings!
--
Best Regards,
Vivek
Reply all
Reply to author
Forward
0 new messages