Closed Bug 583113 Opened 14 years ago Closed 14 years ago

NSPR tests do not compile with libmozalloc for Android

Categories

(NSPR :: NSPR, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alexp, Assigned: alexp)

Details

Attachments

(1 file)

NSPR tests under /mozilla-central/nsprpub/pr/tests do not build with the following errors:

.../arm-eabi/bin/ld: warning: libmozalloc.so, needed by /mozilla/mozilla-central/objdir/dist/lib/libplc4.so, not found (try using -rpath or -rpath-link)
/mozilla/mozilla-central/objdir/dist/lib/libplc4.so: undefined reference to `__wrap_PR_Free'
/mozilla/mozilla-central/objdir/dist/lib/libplc4.so: undefined reference to `__wrap_PR_Calloc'
...
Attached patch FixSplinter Review
Added $(WRAP_MALLOC_LIB) to LDOPTS in the Makefile.
Assignee: wtc → alexp
Status: NEW → ASSIGNED
Attachment #461381 - Flags: review?(blassey.bugs)
Comment on attachment 461381 [details] [diff] [review]
Fix

r=wtc.

I checked in the patch on the NSPR trunk (NSPR 4.8.7).

Checking in Makefile.in;
/cvsroot/mozilla/nsprpub/pr/tests/Makefile.in,v  <--  Makefile.in
new revision: 1.67; previous revision: 1.66
done
Attachment #461381 - Flags: review?(blassey.bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.8.7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: