Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ted Goodridge <tedgoodridgejr@acm.org>
To: axp-list@redhat.com
Subject: Re: Compiling XFree86 4.2.x--sig11
Date: Wed, 20 Nov 2002 13:48:19 -0600	[thread overview]
Message-ID: <200211201348.19252.tedgoodridgejr@acm.org> (raw)
In-Reply-To: <200211200951.05757.kelledin+AXP@skarpsey.dyndns.org>

Have you tried using the rawhide rpm?  That compiled fine for me.

Ted

On Wednesday 20 November 2002 09:51 am, Kelledin wrote:
> I just tried compiling XFree86 4.2.x on Alpha with fairly bad
> luck--more or less a segfault, see below:
>
> --------
> (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
> (II) Module ABI versions:
>         XFree86 ANSI C Emulation: 0.1
>         XFree86 Video Driver: 0.5
>         XFree86 XInput driver : 0.3
>         XFree86 Server Extension : 0.1
>         XFree86 Font Renderer : 0.3
> (II) Loader running on linux
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Module bitmap: vendor="The XFree86 Project"
>         compiled for 4.2.0, module version = 1.0.0
>         Module class: XFree86 Font Renderer
>         ABI class: XFree86 Font Renderer, version 0.3
>
> Fatal server error:
> Caught signal 11.  Server aborting
>
>
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> This can be found in the log file "/var/log/XFree86.0.log".
> Please report problems to xfree86@xfree86.org.
> --------
>
> The above is stock 4.2.0, with a patch applied from Thorsten
> Kranzkowski for gcc-3.x compatibility in the XFree86 module
> loader.  I've also tried 4.2.1 with similar results.  Since the
> posting relating to this patch is apparently no longer in google
> (it was yesterday...), I've attached a text copy of it below.
> FYI, I'm using gcc-3.2.
>
> Without the patch, XFree86 compiles on alpha but cannot load any
> modules (thanks to the R_ALPHA_GPREL{HIGH,LOW} relocation types
> being added somewhere around gcc-3.1).  With the patch, it seems
> XFree86 crashes when trying to load the first module...
>
> I have a few ideas on how to get around this, but I figured I'd
> run them by some people on the list rather than spend another
> 3-4 hours building XFree86 for each wild goose-chase I go off
> on:
>
> 1) A lot of this module loading trouble appears to spring from
> XFree86 using a misbegotten module loader that monkeys around
> with ELF format directly.  If I compile it to load modules the
> proper, portable way (via the dlopen API), will it solve this
> problem for good?  How well supported is this?
>
> 2) Do I need to manually specify compilation with -fPIC (via the
> DefaultGcc2AxpOpts definition?)  It occurs to me that the
> XFree86 build isn't smart enough to figure out how to
> selectively apply this flag on its own.  Then again, considering
> XFree86's jacked module loader, neither am I.




  reply	other threads:[~2002-11-20 19:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20 15:51 Compiling XFree86 4.2.x--sig11 Kelledin
2002-11-20 19:48 ` Ted Goodridge [this message]
2002-11-20 21:43   ` Will Woods
2002-11-21  6:43     ` Alan Young
2002-11-22  8:43       ` Mike A. Harris
2002-11-22 14:08         ` Clear Password on PWS-series (433/500/600au) Alphas Thursday AKA dr._john
2002-11-22 19:05         ` Compiling XFree86 4.2.x--sig11 Alan Young
2002-11-21 16:36     ` Running XFree86 4.2.x--S3 Trio64V+ Kelledin
2002-11-20 22:00 ` Compiling XFree86 4.2.x--sig11 Will Woods
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox