Date: Fri, 26 Jan 2007 09:42:19 -0500 From: "Stephane E. Potvin" <sepotvin@videotron.ca> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: xorg-server build hack Message-ID: <45BA134B.9080608@videotron.ca> In-Reply-To: <45B9637E.1020900@freebsd.org>
index | next in thread | previous in thread | raw e-mail
Hi Peter, I have a local patchset that I'm currently working on that add support for libgcc_s (shared libgcc) which might fix this problem. I have not tested it on powerpc but at least it's compiling (survives a make universe). If you want to give it a try just tell me and I'll send it to you. Regards Steph Peter Grehan wrote: > I built the xorg-server port and had the same issue as has been reported > by a number of people; > > "dlopen: /usr/X11R6/lib/modules/libfb.so: Unsupported relocation type 6 > in non-PLT relocations" > > Turns out this is due to having the Xorg modules statically linking > against libgcc, which contains non-PIC relocations. Also, libgcc may not > be being built correctly since I don't think it should end up having any > unresolved functions, even within itself. > > Regardless, I manually fixed the problem by dropping down into the Xorg > build area for libfb.so > > cd work/xc/programs/Xserver/fb > > editing Makefile to change libgcc to libgcc_pic: > > POSTNOSTDLIB = -Wl,-Bstatic -lgcc_pic -Wl,-Bdynamic > > forcing a rebuild by deleting libfb.so > > rm libfb.so ; gmake > > and then copying the newly built libfb.so to /usr/X11R6/lib/modules/ > > The Radeon driver still isn't working but at least there's snow on the > screen :) > > later, > > Peter. > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45BA134B.9080608>
