Hi,
I just use monolithic sources, therefore I don't copy any Mesa source
neither point MesaSrcDir. This is one of my goals build exclusive with
one source.
My host.def is one redhat custom it goes in attach 
I just add this patch to enable savage DRI
http://sergiomb.no-ip.org/xorg/xorgRC2/SOURCES/xorg.cf.diff

and build it as rpm like I explain on
http://sergiomb.no-ip.org/xorg/xorgRC2

For me the best way to build it on Fedora Core 4, this formula has
worked well, since xorg-6.8.99.4 snapshot 

Brian Paul had write recently to xorg-ML this
"I see that the Mesa 6.4 release has been incorporated (on RC2) .  I'm
not sure who's been doing that, but thanks!"

Any test I can do further, are welcome 
Thanks,  


On Tue, 2005-11-15 at 16:10 -0500, Felix Kühling wrote:
> What does your host.def file look like? What I'm getting at, when you
> build Xorg 6.9RC2, do you use the Mesa copy in extras or do you point
> MesaSrcDir at a different Mesa checkout?
> 
> Regards,
>   Felix
> 
> Am Dienstag, den 15.11.2005, 20:39 +0000 schrieb Sergio Monteiro Basto:
> > On Mon, 2005-11-14 at 12:38 -0800, Ian Romanick wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > > 
> > > Sergio Monteiro Basto wrote:
> > > > On Mon, 2005-11-14 at 07:51 -0800, Ian Romanick wrote:
> > > >>Sergio Monteiro Basto wrote:
> > > >>
> > > >>>Today, I test chromium, tuxracer and foobillard and none of then runs
> > > >>>try to dig with gdb and all stop on run_texnorm_stage()
> > > >>>
> > > >>>here is the debug with backtrace: 
> > > >>>
> > > >>>Program received signal SIGFPE, Arithmetic exception.
> > > >>>[Switching to Thread -1208801600 (LWP 12723)]
> > > >>>0x00ec8a80 in _mesa_test_os_sse_exception_support () from 
> > > >>>/usr/X11R6/lib/modules/dri/savage_dri.so
> > > >>>(gdb) cont
> > > >>>Continuing.
> > > >>
> > > >>What platform are you running on?  Properly built drivers on Linux or
> > > >>BSD should *NEVER* encounter this code.  That code has been removed from
> > > >>the Linux builds for almost a year.  I suspect that you're either
> > > >>picking up a very old savage_dri.so or something is not right with your
> > > >>build.
> > > >>
> > > >>The code is #ifdef'ed out at line 186 of src/mesa/x86/x86_common.c:
> > > >>
> > > >>#if defined(__linux__) && !defined(IN_DRI_DRIVER)
> > > >>
> > > >>Clearly, IN_DRI_DRIVER should be defined when building the Savage DRI
> > > >>driver! :)
> > > > 
> > 
> > 
> > Hi, 
> > Well I downgrade to xorg-6.9RC1 and the problem disappears, so is a very
> > recent regression.
> > About IN_DRI_DRIVE, yes it is defined at all the places.
> > 
> > With RC1 I still get this "Arithmetic exception"
> > but 3D apps works without problems.
> > If I recall correctly this "Arithmetic exception" is not new at all.
> > 
> > BTW don't know if meters but my laptop is one mobile AMD Athlon(tm) 4
> > Processor
> > 
> > thanks (for your time),
> > 
> > 
> > 
> > > > I will go investigate this, but this is not the problem because this
> > > > doesn't stop the app. 
> > > 
> > > That is true, but there are other places in the code that depend on
> > > IN_DRI_DRIVER being correctly set.  If it's not set at this place, it is
> > > likely that it's not set at the other places either.  Having it not set
> > > in the other places may be the source of the crash.
> > 
-- 
Sérgio M.B.
#define XorgCustomVersion "Unsupported Custom Build by root: 6.8.99.901-1"

/* Experimental custom messages */
#define XorgRedHatCustom    YES

#define BuilderString "Build Host: darkstar.portugal\n"
#define LinuxDistribution       LinuxRedHat
    
#define BuildDebug              0


#define BootstrapCFlags         -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -pipe

#define AsCmd                   CcCmd -c -x assembler



#define BuildServer                     YES
#define XVirtualFramebufferServer       YES
#define XnestServer                     YES
/* by default BuildDPSLibraries is NO but we need it by ImageMagick */
#define BuildDPSLibraries       YES

/* Make xtrans fail gracefully by default, for bug #129622 and others */
#define XtransFailSoft          YES

/* We want includes in /usr/include/GL, so we move them there later on
 * because the LinkGLToUsrInclude option makes the GL subdirectory a symlink,
 * which is bad for RPM packaging as other packages may place files there,
 * plus there's the whole rpm replacing a symlink with a dir, etc. thing.
 */
#define LinkGLToUsrInclude      NO

/* The OpenGL ABI on Linux standard states libGL and libGLU must be present in
 * /usr/lib either directly, or as symlinks.  The supplied Imake config option
 * LinkGLToUsrLib makes absolute symlinks rather than relative ones, so it is
 * not suitable for us to use.
 */
#define LinkGLToUsrLib          NO
/* LinkGLToUsrInclude makes an absolute symlink to the _x11includedir, which
 * essentially makes /usr/lib/GL a symlink, which is messy, and may conflict
 * with other package's files that may be installed in the GL include dir for
 * whatever reason.  We disable this option for now, and handle things
 * ourselves with a bit of scripting in the spec file.
 */
#define BuildGLwLibrary         YES
#define ForceNormalLib          YES

/* Disable joystick support because it is totally broken */
#define JoystickSupport         NO


/* FIXME: MOST of the HasXXXXXX defines below can be discarded when we update
 * to the X.org X11 tree, because linux.cf sets defaults for them on the
 * Linux platform.  I need to check and ensure the new defaults match what
 * we expect.   -- mharris
 */

/* FIXME: This should be defaulted upstream correctly, or patched and sent
 * upstream, and then removed from our specfile.
 */
#define HasAgpGart              YES

/* FIXME: HasFontconfig is broken so we have to use UseFontconfig
 * Update: This appears to work now (4.3.0-11.2), so HasFontconfig is being used
 * experimentally in rawhide now.  HasExpat can probably be removed if this 
works out.
 */
#define HasFontconfig           YES

/* Expat is only needed by fontconfig (4.3.0) */
#define HasExpat                YES
#define HasFreetype2            YES
#define HasPam                  YES
#define HasPamMisc              YES
#define HasZlib                 YES


#define HasDevRandom            YES
#define HasLinuxInput           YES

#define HasGlide3               0

#define BuildFonts              NO
/* ucs2any and bdftruncate */
#define BuildFontDevelUtils     YES

#define InstallXcmsTxt          NO
#define BuildXF86MiscExt        YES
#define BuildHtmlManPages       NO

/* Do not build config tools if we are not shipping them anyway */
#define BuildXFree86ConfigTools NO

/* This disables building of libXaw 8, since we only ship Xaw 6 and 7 for
 * legacy application compatibility.
 */
#define BuildXaw                NO

#define BuildXprint             NO
#define BuildXprintClients      NO
/* OpenMotif and Java currently use libXp, as well as some other stuff.  We
 * are currently shipping libXp for compatibility, but consider it deprecated,
 * and we plan to remove it entirely in a future OS release, after a
 * reasonable migration period to give 3rd parties time to migrate their apps
 * to libgnomeprint and libgnomeprintui.
 */
#define BuildXprintLib          YES

#define BuildXterm              0

#undef  DefaultUserPath
#define DefaultUserPath         /usr/local/bin:/bin:/usr/bin
#undef  DefaultSystemPath
#define DefaultSystemPath       /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin

/* We default to the Red Hat Bluecurve(TM) cursor theme, but if it isn't
 * installed, X will fallback to core cursors, so no forced dependancy is
 * required.
 */
#define DefaultCursorTheme      Bluecurve

/* FIXME: Check and see if we actually need this junk still, or if Imake
 * defaults are ok now. */
#define AdmDir              /var/log
#define LbxproxyDir         /etc/X11/lbxproxy
#define ProxyManagerDir     /etc/X11/proxymngr
#define ServerConfigDir     /etc/X11/xserver
#define XdmDir              /etc/X11/xdm
#define XConfigDir          /etc/X11
#define XinitDir            /etc/X11/xinit

#define DriverManDir    $(MANSOURCEPATH)4
#define DriverManSuffix 4x /* use just one tab or cpp will die */
#define MiscManDir      $(MANSOURCEPATH)7
#define MiscManSuffix   7x /* use just one tab or cpp will die */

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to