THANKS for the patch, I'm going to give it a shot and see how it works out.... Will L G "M�ns Rullg�rd" wrote in message news:yw1xu0vyde3q.fsf@kth.se... > M�ns Rullg�rd writes: > > >> PS if you decide to upgrade X, just simply download the binaries. I couldnt' > >> get the damn thing to compile with gcc-3.0.4 and binutils-2.13.90 OR > >> gcc-3.41 and binutils-2.14 (my standard tools for the trade)... > > > > It's been a while since I built X on my Alphas. I know it can be a > > little sensitive to gcc and binutils versions. I'll give it a shot > > with whatever I have installed and see what happens. > > I have successfully built XFree86 4.4.0 on my SX164 using gcc 3.3.3 > and binutils 2.15.90, after applying this patch which I found > somewhere on the net. > > --- xc/programs/Xserver/hw/xfree86/loader/elfloader.c~ 2004-02-24 03:18:23.000000000 -0500 > +++ xc/programs/Xserver/hw/xfree86/loader/elfloader.c 2004-02-24 03:21:14.000000000 -0500 > @@ -1596,6 +1596,19 @@ > break; > } > > + case R_ALPHA_SREL32: > + { > + dest32 = (unsigned int *)(secp + rel->r_offset); > + symval += rel->r_addend; > + symval -= (unsigned long) dest32; > + if ((long)symval >= 0x80000000 || (long)symval < -(long)0x80000000) > + FatalError("R_ALPHA_SREL32 overflow for %s: %lx\n", > + ElfGetSymbolName(elffile, ELF_R_SYM(rel->r_info)), > + symval); > + *dest32 = symval; > + break; > + } > + > #endif /* alpha */ > #if defined(__mc68000__) > case R_68K_32: > > > -- > M�ns Rullg�rd > mru@kth.se