From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 4DF873FE31 for ; Wed, 20 Nov 2002 14:48:24 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gAKJmOQ30090 for axp-list@listman.redhat.com; Wed, 20 Nov 2002 14:48:24 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gAKJmND30084 for ; Wed, 20 Nov 2002 14:48:23 -0500 Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gAKJOVP14683 for ; Wed, 20 Nov 2002 14:24:31 -0500 Received: from ip68-0-126-129.tu.ok.cox.net ([68.0.126.129]) by lakemtao08.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20021120194818.LPQO16972.lakemtao08.cox.net@ip68-0-126-129.tu.ok.cox.net> for ; Wed, 20 Nov 2002 13:48:18 -0600 Content-Type: text/plain; charset="iso-8859-1" From: Ted Goodridge To: axp-list@redhat.com Subject: Re: Compiling XFree86 4.2.x--sig11 Date: Wed, 20 Nov 2002 13:48:19 -0600 User-Agent: KMail/1.4.3 References: <200211200951.05757.kelledin+AXP@skarpsey.dyndns.org> In-Reply-To: <200211200951.05757.kelledin+AXP@skarpsey.dyndns.org> MIME-Version: 1.0 Message-Id: <200211201348.19252.tedgoodridgejr@acm.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by int-mx1.corp.redhat.com id gAKJmND30084 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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.