Closed Bug 348735 Opened 18 years ago Closed 18 years ago

Support building js jshell with gcov

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bc, Unassigned)

References

()

Details

Attachments

(2 files)

building the js shell on linux with gcc fails when compiling jscpucfg since it not built with CFLAGS or LDFLAGS.
Attached patch patchSplinter Review
add CFLAGS and LDFLAGS to jscpucfg's rule.
Attachment #233792 - Flags: review?(mrbkap)
Attachment #233792 - Flags: review?(mrbkap) → review+
Checking in Makefile.ref;
/cvsroot/mozilla/js/src/Makefile.ref,v  <--  Makefile.ref
new revision: 3.42; previous revision: 3.41
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Blocks: 348744
jscpucfg is a build-host helper, it needs HOST_CFLAGS and HOST_LDFLAGS.  You do not want to measure its code coverage.  Cc'ing build gurus who can correct me if I'm wrong.

/be
I don't know what I was smoking this weekend, but I can no longer reproduce the problem I was having. set XCFLAGS=--coverage and js shell builds fine for me on the trunk without any change to Makefile.ref. This bug is really invalid.
Flags: in-testsuite-
(In reply to comment #2)
> Checking in Makefile.ref;
> /cvsroot/mozilla/js/src/Makefile.ref,v  <--  Makefile.ref
> new revision: 3.42; previous revision: 3.41
> 

This patch was BS and should not have been committed. 
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch revert patchSplinter Review
Checking in Makefile.ref;
/cvsroot/mozilla/js/src/Makefile.ref,v  <--  Makefile.ref
new revision: 3.43; previous revision: 3.42
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: