Re: latest xorg port compiles but does not run on sparc64

From: Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
Date: Sun, 11 Feb 2007 18:07:03 +0300
> > > Anyway, I recently got hold of an old Sun Ultra10 which I upgraded from 
> > > 6.2-RELEASE to -CURRENT (dated about midnight, 7 feb). At that time no 
> > > ports were installed.
> > > 
> > > Then I proceeded to build and install the xorg-server port 
> > > (xorg-server-6.9.0_6) manually, but it wouldn't run. On startup of X the 
> > > rather curious message appeared:
> > > 
> > > dlopen: /usr/X11R6/lib/modules/fonts/libbitmap.so: Undefined symbol 
> > > "xf86stderr".
> > > 
> > > Unfortunately I forgot to make a typescript, so I can't tell if 
> > > something went wrong during the build. Building xorg on an ultra10 takes 
> > > several hours, so please forgive me for not building a second time. 
> > > Meanwhile I got X running using binary packages.
> > > 
> > > Does anyone have any clue as to what might have happend? The full 
> > > Xorg.log is reproduced below.

I do not know what's happened, but the attached file should go to
the x11-servers/xorg-server/files/ directory and overwrite the original
patch-FreeBSD.cf. Basically, it adds the --export-dynamic flag for
the linker to make global symbols in Xorg to be visible to the
dlopen()/dlsym(), since this is the immediate reason for failures.

> This is related to the removal of objformat from -current.  Richard and
> I got his working by installing objformat from my -current box and
> recompiling xorg-server and xorg-libraries.
> 
>  ./work/xc/lib/Xft/configure:  objformat=`test -x /usr/bin/objformat
> && /usr/bin/objformat || echo aout`
> ./work/xc/lib/Xft/configure:  version_type=freebsd-$objformat
> 
> this is scattered all around in several places in the code.

I will try to look at the objformat changes and
will try to undestand why it broke the things. But this will be done
only tomorrow.
-- 
Eygene

Received on Sun Feb 11 2007 - 14:21:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC