Bug 37969 - [chromium] Makefile has overlapping targets in Debug and Release
Summary: [chromium] Makefile has overlapping targets in Debug and Release
Status: RESOLVED DUPLICATE of bug 40285
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 22:20 PDT by Tony Chang
Modified: 2010-07-14 13:10 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Chang 2010-04-21 22:20:51 PDT
Both the Debug and Release builds try to write .o and .a files to WebKit/chromium/out/WebCore/* .  Trying to switch between the two can cause problems for the linker.

The Makefile generated by gyp assumes that it is at the root of the build tree.  We generate the Makefile in WebKit/chromium/, but build files in WebCore, so this causes targets like this:
OBJS := $(obj).target/$(TARGET)/../../WebCore/accessibility/AXObjectCache.o \
  $(obj).target/$(TARGET)/../../WebCore/accessibility/AccessibilityARIAGrid.o \
  $(obj).target/$(TARGET)/../../WebCore/accessibility/AccessibilityARIAGridCell.o \

The fix would be to try to generate something like Makefile.chromium in the root of the checkout so all the paths would be below the Makefile.
Comment 1 Tony Chang 2010-07-14 13:10:50 PDT

*** This bug has been marked as a duplicate of bug 40285 ***