Port-macppc archive

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

Re: macppc, XFree86, -current, lack of magic



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 11, 2008, at 17:41, Jonathan A. Kollasch wrote:

On Sun, May 11, 2008 at 10:41:43AM -0400, Michael Lorenz wrote:
Yeah, the module loader is broken on powerpc - it doesn't work with the new malloc routine in libc - it expects malloc to return memory chunks close enough together that 24bit relocs always work, something that was true with
the old malloc.
Xorg doesn't have this problem.
So, please try pkgsrc/x11/modular-xorg, it /should/ just work on pretty much any Mac, the only graphics hardware that might not work are ancient, proprietary Apple onboard graphics chips ( /chaos/control and friends ) If you really need XFree86 there's a workaround - you can build a libc with
the old malloc with relatively little hassle.

Okay, I went the pkgsrc modular xorg route.

It's now segfaulting in Xorg with a
backtrace that's something like this:

0 dlsym()
1 DLFindSymbol()
2 LoaderSymbol()
3 LoaderListDirs()
4 LoadModule()
5 xf86LoadModules()
6 InitOutput()
7 main()

Weird, it works on my G4. And that sure is the module loader.

Could this be because I compiled xorg (and the base system)
with -mcpu=750 -O2?

No. Mine's built with -mcpu=7400 -O2 - shouldn't matter at all.
Do you have any old libraries or object files sitting around? Is /usr/ pkg/lib before /usr/X11R6/lib in LD_LIBRARY_PATH?

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSCdpq8pnzkX8Yg2nAQJ2Qwf+Oh3oadNLH4md/8F3YuIvpJzQ4Bf0SZVG
6BCZooTii2jgFQD9aWCB+Rs0EMfhgq0C+7O/U6ruxIPksQRI2uJmxUDG0AMqVIDI
XgiKsM4YSvhsZwgdepu+U8MJ6IM6X46fHaH5pA6Xi5fcHWcKswAK8Gxkbw9X4Om8
NlRzYO2DtWbMg5EVZQGVtxT/VDvn5nBb7E8/i2mHRZW3IDfYuHFV8hl1Wbc2QfOG
6k9esvp86i3cQ2oH01zDpVT5KEaia6Y4JQdNnVt81JzrvaAQePMiVyzJpdJAIiMU
oLz9fVQd5BkziV05UoS8FfgnvokEHf9NL5mtBqLQQyOIc7OxQ0nLtw==
=5VLz
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index