Heads up: Mac makefiles may mandate minor massaging

1 view
Skip to first unread message

Ryan Sleevi

unread,
Nov 21, 2011, 2:00:18 AM11/21/11
to Chromium-dev
If you don't use the Mac make build, you can stop reading now.

If you're using Mac make, after syncing past http://crrev.com/110875,
you may find that while attempting to build, you get errors
complaining about gl_context_mac.cc being missing, needed to generate
gl_context_mac.o

This is due to the file being renamed to gl_context_mac.mm. This is a
re-hash of a similar issue back from May, which affected native_client
build on Linux - https://groups.google.com/a/chromium.org/group/chromium-dev/browse_frm/thread/28896cf9916fa0e0

The TL;DR is the the make/make generator don't handle file extension
renames all that gracefully. While you can choose to clobber
everything (rm -rf out/[Debug, Release]), the much easier solution is
to just clobber the .o and the deps files used to cache that
information.

Delete the following files/directories if (when) you encounter
trouble:
out/[Debug,Release]/.deps/all.deps
(entire directory) out/[Debug,Release]/.deps/out/[Debug,Release]/
obj.target/gl/ui/gfx/gl
out/[Debug,Release]/obj.target/gl/ui/gfx/gl/gl_context_mac.o

Hironori Bono (坊野 博典)

unread,
Nov 21, 2011, 4:33:55 AM11/21/11
to rsl...@chromium.org, Chromium-dev
Greetings,

Thank you so much for your investigation.
Unfortunately, this issue now happens on most of our mac trybots. To
fix them, I have sent empty tryjobs to clobber them.

Regards,

Hironori Bono
E-mail: hb...@chromium.org

> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/a/chromium.org/group/chromium-dev
>

Reply all
Reply to author
Forward
0 new messages