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 19:01, Jonathan A. Kollasch wrote:

On Sun, May 11, 2008 at 05:48:26PM -0400, Michael Lorenz wrote:
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?

Nope, I started with a fresh installation without XFree86.

Hmm, I have this one installed:
modular-xorg-server-1.3.0.0nb4 Xorg X11 Server from modular X.org X11
Did you install just modular-xorg-server or did you also get things like
xf86-input-keyboard-1.2.2 Modular Xorg keyboard driver
xf86-input-mouse-1.2.3 Modular Xorg mouse driver
xf86-video-ati-6.6.3nb1 Modular Xorg ATI video driver
?

I just tried a regular malloc (build/installed libc w/ USE_JEMALLOC=no), it didn't seem
to help.

It will help XFree86 though.

have fun
Michael

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

iQEVAwUBSCd8bMpnzkX8Yg2nAQKo6Qf/Z9Ddp5lDiW6sWcWilYm6szdbND/lrY7p
ybWV8zzVJriv914E5INi5ed/PaU5YUYC5JHozI8p6SXNOo9d4IV9VqE7lBmizp8Z
EJlWtJwCfZv7qNjkWqUbfDph16/oHy3w6i15gRogisJFdE6YcopQpYPES6R/0Oq5
9GA/HeOfRiJySa+vGEkNHwcNpYYm7LQfeZtRowzRXRDQVy9cKDPuKm1DH0Ah9S44
gjNUREOtbSYh/g4npixuP7Lan3FZHhhSNhhgYlTdnpeP78EO9c5HkfyAjQpHb1na
esa67wutYNj2pUxwzsTMx+EruED7gfi0gS76Ptk5reGghYPjdfcxdw==
=weCK
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index