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

Numerous "warning: could not find object file symbol" for Mac Release builds #601

Open
garrettr opened this issue Jul 19, 2018 · 0 comments

Comments

@garrettr
Copy link
Contributor

Steps to Reproduce

  1. yarn build Release

Actual result:

garrettr@Garretts-MacBook-Pro ~/brave> yarn build Release
<snip>
[297/9871] LINK obj/chrome/browser/ui/cocoa/notifications/alert_notification_xpc_service_executable/AlertNotificationService
warning: (x86_64)  could not find object file symbol for symbol __ZN4base3mac15CallWithEHFrameEU13block_pointerFvvE
warning: (x86_64)  could not find object file symbol for symbol CallWithEHFrame_exception_table
warning: (x86_64)  could not find object file symbol for symbol __ZN4base14PlatformThread9CurrentIdEv
warning: (x86_64)  could not find object file symbol for symbol __ZN4base14PlatformThread18YieldCurrentThreadEv
warning: (x86_64)  could not find object file symbol for symbol __ZN4base14PlatformThread5SleepENS_9TimeDeltaE
[339/9775] LINK ./transport_security_state_generator
warning: (x86_64)  could not find object file symbol for symbol __ZN4base3mac15CallWithEHFrameEU13block_pointerFvvE
warning: (x86_64)  could not find object file symbol for symbol CallWithEHFrame_exception_table
warning: (x86_64)  could not find object file symbol for symbol __ZN4base14PlatformThread9CurrentIdEv
warning: (x86_64)  could not find object file symbol for symbol __ZN4base14PlatformThread18YieldCurrentThreadEv
warning: (x86_64)  could not find object file symbol for symbol __ZN4base14PlatformThread5SleepENS_9TimeDeltaE
[356/9741] LINK ./crashpad_handler
warning: (x86_64)  could not find object file symbol for symbol __ZN8crashpad22CrashReportDatabaseMacD1Ev
<snip... hundreds of additional errors follow>

Gist of full traceback.

Expected result:

The build completes without hundreds to thousands of linker warnings.

Reproduces how often:

Easily reproduced.

Brave version (about:brave info)

b19d182

Additional Information

I have only observed these warnings from Release builds, never from Debug builds.

@bbondy bbondy added this to the Backlog milestone Jul 26, 2018
@rebron rebron modified the milestone: 1.x Backlog Feb 7, 2019
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

3 participants