Closed Bug 671441 Opened 13 years ago Closed 13 years ago

Detect whether the crtdll.obj hack is necessary

Categories

(Core :: Memory Allocator, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file)

As far as I can tell, my crtdll.obj from the Windows 7.1 SDK doesn't call __imp__free, so I should be able to link to msvc(p)rtd instead of mozcrt.
Yeah, we should do this in configure.
Attached patch Possible patchSplinter Review
I considered removing the NO_INSTALL_IMPORT_LIBRARY = 1 from jemalloc's Makefile.in which would let me simplify the path to $(DIST)/lib/jemalloc.lib
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #545781 - Flags: review?(khuey)
Comment on attachment 545781 [details] [diff] [review]
Possible patch

Review of attachment 545781 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #545781 - Flags: review?(khuey) → review+
Comment on attachment 545781 [details] [diff] [review]
Possible patch

>+      if grep -q '__imp__?free' crtdll.obj; then
Oops, this was supposed to be egrep, which supports ?s...
http://hg.mozilla.org/mozilla-central/rev/5dd42d33cba8

I changed it to use what I think is the right syntax.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: