Closed Bug 787904 Opened 12 years ago Closed 12 years ago

Assertion failure: size_t(sysconf(_SC_PAGESIZE)) == PageSize, at gc/Memory.cpp:302

Categories

(Core :: JavaScript Engine, defect)

Other
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: jbeich, Assigned: jbeich)

References

()

Details

Attachments

(1 file)

      No description provided.
sys/amd64/include/param.h:#define PAGE_SHIFT    12              /* LOG2(PAGE_SIZE) */
sys/i386/include/param.h:#define PAGE_SHIFT     12              /* LOG2(PAGE_SIZE) */

sys/arm/include/param.h:#define PAGE_SHIFT      12
sys/mips/include/param.h:#define        PAGE_SHIFT              12              /* LOG2(PAGE_SIZE) */
sys/powerpc/include/param.h:#define     PAGE_SHIFT      12

sys/ia64/include/param.h:#define LOG2_PAGE_SIZE          13              /* 8K pages by default. */
sys/ia64/include/param.h:#define PAGE_SHIFT      (LOG2_PAGE_SIZE)

sys/sparc64/include/param.h:#define PAGE_SHIFT  PAGE_SHIFT_8K   /* LOG2(PAGE_SIZE) */
sys/sparc64/include/param.h:#define     PAGE_SHIFT_8K   13
Attachment #657812 - Flags: review?(terrence)
I'm probably wrong. OpenBSD sparc64 uses 8k pagesize, too, but doesn't trigger assert.
/usr/src/sys/arch/alpha/include/param.h:#define PAGE_SHIFT      13
/usr/src/sys/arch/amd64/include/param.h:#define PAGE_SHIFT      12
/usr/src/sys/arch/arm/include/param.h:#define   PAGE_SHIFT      12              /* LOG2(NBPG) */
/usr/src/sys/arch/hp300/include/param.h:#define PAGE_SHIFT      12
/usr/src/sys/arch/hppa/include/param.h:#define  PAGE_SHIFT      12
/usr/src/sys/arch/hppa64/include/param.h:#define        PAGE_SHIFT      12
/usr/src/sys/arch/i386/include/param.h:#define PAGE_SHIFT       12
/usr/src/sys/arch/loongson/include/param.h:#define      PAGE_SHIFT      14
/usr/src/sys/arch/m88k/include/param.h:#define  PAGE_SHIFT      12
/usr/src/sys/arch/mvme68k/include/param.h:#define       PAGE_SHIFT      12
/usr/src/sys/arch/octeon/include/param.h:#define        PAGE_SHIFT      14
/usr/src/sys/arch/powerpc/include/param.h:#define       PAGE_SHIFT      12
/usr/src/sys/arch/sgi/include/param.h:#define   PAGE_SHIFT      12
/usr/src/sys/arch/sgi/include/param.h:#define   PAGE_SHIFT      14
/usr/src/sys/arch/sh/include/param.h:#define    PAGE_SHIFT              12
/usr/src/sys/arch/sparc64/include/param.h:#define PAGE_SHIFT    13
/usr/src/sys/arch/vax/include/param.h:#define   PAGE_SHIFT      12

No idea what that means..

atm sparc64 builds for me, see http://buildbot.rhaalovely.net/builders/mozilla-central-sparc64/builds/399 for a log.
Comment on attachment 657812 [details] [diff] [review]
use 8k pagesize on FreeBSD ia64/sparc64

Review of attachment 657812 [details] [diff] [review]:
-----------------------------------------------------------------

I'm not entirely sure how much sense OpenBSD && Sparc makes, but we can always narrow it later if we hit issues.
Attachment #657812 - Flags: review?(terrence) → review+
sparc64/sparcv9 is in a buildable state, but is broken by design at runtime because of 64-bits jsval (see bug #577056 among others)
Keywords: checkin-needed
Assignee: general → jbeich
https://hg.mozilla.org/mozilla-central/rev/864f3ea3c164
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: