Cobalt 25 LTS RC build is failing

48 views
Skip to first unread message

ramasr...@gmail.com

unread,
Jul 11, 2024, 10:02:10 PM7/11/24
to cobalt-dev
Hi ,

the build is failing with error 
_______________________________
"../../base/third_party/symbolize/symbolize.h:194:1: error: 'GLOG_EXPORT' does not name a type; did you mean 'LL_EXPORTS'?
 GLOG_EXPORT bool Symbolize(void* pc, char* out, size_t out_size);"
_________________________________________


and the third_party/symbolize/BUILD.gn has 
______________________________________________
config("symbolize_config") {
  defines = [
    # Only built for Linux and ChromeOS so no special export magic needed.
   # "GLOG_EXPORT=",
_______________________

it seems the dependent glog module is missing . What can be the fix ?


Thanks,
Sri



Kaido Kert

unread,
Jul 11, 2024, 10:20:24 PM7/11/24
to ramasr...@gmail.com, cobalt-dev
Thank you for reporting this !

However, it looks the GLOG_EXPORT macro is not commented out in that GN file, as you show

https://github.com/youtube/cobalt/blob/25.lts.1/third_party/symbolize/BUILD.gn#L19

It's expected to be an empty/no-op definition.

Do you have local modifications on your checkout, perhaps ?

Also if you could share a longer log of the build error ( with verbose flags ) it would help diagnosing the issue.

Feel free to open a bug in the issue tracker, and attach logs there, if this persists.

Kaido

You received this message because you are subscribed to the Google Groups "cobalt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobalt-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cobalt-dev/ef2018ea-070f-446b-aea1-3bfa5f5b8fe0n%40googlegroups.com.

ramasr...@gmail.com

unread,
Jul 12, 2024, 3:53:37 PM7/12/24
to cobalt-dev
yes the issue happens without commenting out the  "GLOG_EXPORT="  , commenting it and defining ""GLOG_USE_GLOG_EXPORT"," did not help. 


Thanks,
Sri
Reply all
Reply to author
Forward
0 new messages