NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/37811: NetBSD's xsrc on macppc requires USE_JEMALLOC=no

>Number:         37811
>Category:       xsrc
>Synopsis:       NetBSD's xsrc on macppc requires USE_JEMALLOC=no
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 19 16:45:01 +0000 2008
>Originator:     Aymeric Vincent
>Release:        -current
NetBSD ibook 4.99.48 NetBSD 4.99.48 (IBOOK) #9: Wed Jan  9 18:19:35 CET 2008  
vincent@ibook:/usr/src/sys/arch/macppc/compile/IBOOK macppc

NetBSD's provided xsrc doesn't work if USE_JEMALLOC is yes, which is the 

The dynamic loader in XFree86 can't load modules because the relocation offsets 
are 24bit long, and the new jemalloc ends up placing some data at places which 
are further away from the X server's code.

try to start the XFree86 X server with a stock build of NetBSD -current
USE_JEMALLOC=no in /etc/mk.conf is a workaround

Maybe compile the modules with another option which would allow for bigger 

Maybe mmap() the modules at some fixed better-suited location like for amd64? 
(I think it won't be enough for these 24bit offsets)

Home | Main Index | Thread Index | Old Index