Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16069 - Xfree could not load modules on hppa
Summary: Xfree could not load modules on hppa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 05:58 UTC by Guy Martin (RETIRED)
Modified: 2003-05-29 04:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
starxt log (startx.log,2.52 KB, text/plain)
2003-02-20 05:58 UTC, Guy Martin (RETIRED)
Details
startx log of xfree 4.2.99.4 (xfree-4.2.99.4.log,379.90 KB, text/plain)
2003-02-22 05:42 UTC, Guy Martin (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Martin (RETIRED) gentoo-dev 2003-02-20 05:58:00 UTC
Building xfree on a hppa stations works fine but running it is harder.
Each time I try to exec X, with startx or X -configure or else, I got the error described in the log.
I think this come from a invalid ELF format or something like that but I'm unable to find a solutions.
I've tryied to take some patchs from debian but it does not work too.


Reproducible: Always
Steps to Reproduce:
1. Just run X





I'm using gcc 3.2.1, kernel 2.4.20-pa26 (see parisc-linux.org for kernel patch) and glibc 2.3.1-r2.
The xfree version I'm trying to build is 4.2.1-r2. Feel free to ask me a xs to my box.
Comment 1 Guy Martin (RETIRED) gentoo-dev 2003-02-20 05:58:41 UTC
Created attachment 8528 [details]
starxt log
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-20 14:01:05 UTC
Err, that is a first for me.  Anybody else got it working ... maybe we can
check for patch/gcc option ?
Comment 3 Guy Martin (RETIRED) gentoo-dev 2003-02-20 18:42:57 UTC
Xfree from Debian seems to be compiled with gcc2.
Btw, I dunno if it's possible but can we compile module directly in X as a first workaround ?
Comment 4 Guy Martin (RETIRED) gentoo-dev 2003-02-22 05:42:20 UTC
Created attachment 8604 [details]
startx log of xfree 4.2.99.4

Here is a log of xfree-4.2.99.4 compiled with the latest gcc (3.2.2) (gcc-3.2.1
was segfaulting)
I thing the error is the same than the other log but the error message is
different.
I hope it will help.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-26 03:03:13 UTC
Check in binutils if enableing for hppa:

--------------------------------------------------------------
        use x86 &> /dev/null \
                && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.16-array-sects-compat.patch

-----------------------------------------------------------------

dont fix it.  Else maybe try to downgrade to binutils-2.13.90.0.16
Dunno.
Comment 6 Guy Martin (RETIRED) gentoo-dev 2003-03-09 23:51:14 UTC
None of those solutions worked. 
Btw, I've found a workaround : 
echo "#define DoLoadableServer NO" >> conf/cf/host.def 
 
This build a static server and it work perfectly on my box. 
 
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-29 04:52:11 UTC
closing since -r2 does this.