Re: [Mesa3d-dev] softpipe/llvmpipe build regression

2010-03-21 Thread Xavier Chantry
On Sun, Mar 21, 2010 at 6:23 PM, George Sapountzis
 wrote:
> On Sun, Mar 21, 2010 at 6:50 PM, George Sapountzis
>  wrote:
>> Can you please try a clean build ?
>>
>> softpipe_create_screen is defined in the newly added file
>> soft_screen.c and maybe you did not rebuild drm/sw
>>
>> If I actually broke this as well, admittedly I should have stayed away
>> from the computer today
>>
>>
>> On Sun, Mar 21, 2010 at 6:42 PM, Xavier Chantry
>>  wrote:
>>> scons dri=no drivers=softpipe or llvmpipe
>>> glxgears: symbol lookup error:
>>> /home/xavier/app/mesa/build/linux-x86_64/lib/libGL.so.1: undefined
>>> symbol: gallium_soft_create_screen
>>>
>
> ah, this is the scons build, should be fixed in master now.
>
> sorry for that, it seems that I cannot read in addition to type today ...
>

Thanks that did it.

it seems scons would also benefit from -Wl,-no-undefined , but it
might also break the dri builds
(see [PATCH] dri: test whether the built drivers have unresolved symbols)

I guess I could just define LDFLAGS locally or use that simple patch :

diff --git a/SConstruct b/SConstruct
index 6ed44dd..304d73e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -74,6 +74,8 @@ if os.environ.has_key('CXXFLAGS'):
 if os.environ.has_key('LDFLAGS'):
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])

+env['LINKFLAGS'].append("-Wl,-no-undefined")
+
 Help(opts.GenerateHelpText(env))

 # replicate options values in local variables

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] softpipe/llvmpipe build regression

2010-03-21 Thread George Sapountzis
On Sun, Mar 21, 2010 at 6:50 PM, George Sapountzis
 wrote:
> Can you please try a clean build ?
>
> softpipe_create_screen is defined in the newly added file
> soft_screen.c and maybe you did not rebuild drm/sw
>
> If I actually broke this as well, admittedly I should have stayed away
> from the computer today
>
>
> On Sun, Mar 21, 2010 at 6:42 PM, Xavier Chantry
>  wrote:
>> scons dri=no drivers=softpipe or llvmpipe
>> glxgears: symbol lookup error:
>> /home/xavier/app/mesa/build/linux-x86_64/lib/libGL.so.1: undefined
>> symbol: gallium_soft_create_screen
>>

ah, this is the scons build, should be fixed in master now.

sorry for that, it seems that I cannot read in addition to type today ...

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] softpipe/llvmpipe build regression

2010-03-21 Thread George Sapountzis
On Sun, Mar 21, 2010 at 6:50 PM, George Sapountzis
 wrote:
> Can you please try a clean build ?
>
> softpipe_create_screen is defined in the newly added file
> soft_screen.c and maybe you did not rebuild drm/sw
>

s/softpipe_create_screen/gallium_soft_create_screen/ in the above
sentence, only to confirm the statement below.

> If I actually broke this as well, admittedly I should have stayed away
> from the computer today
>
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] softpipe/llvmpipe build regression

2010-03-21 Thread George Sapountzis
Can you please try a clean build ?

softpipe_create_screen is defined in the newly added file
soft_screen.c and maybe you did not rebuild drm/sw

If I actually broke this as well, admittedly I should have stayed away
from the computer today


On Sun, Mar 21, 2010 at 6:42 PM, Xavier Chantry
 wrote:
> scons dri=no drivers=softpipe or llvmpipe
> glxgears: symbol lookup error:
> /home/xavier/app/mesa/build/linux-x86_64/lib/libGL.so.1: undefined
> symbol: gallium_soft_create_screen
>
> Works after these two reverts :
>    Revert "gallium: add soft screen helper"
>
>    This reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.
>
>    Revert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"
>
>    This reverts commit 5d524cce9c4fcc18ed977801d59ba7bb911020db.
>
> Am I doing something wrong or is it indeed still broken after f87a5f6 ?
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Mesa3d-dev mailing list
> Mesa3d-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


[Mesa3d-dev] softpipe/llvmpipe build regression

2010-03-21 Thread Xavier Chantry
scons dri=no drivers=softpipe or llvmpipe
glxgears: symbol lookup error:
/home/xavier/app/mesa/build/linux-x86_64/lib/libGL.so.1: undefined
symbol: gallium_soft_create_screen

Works after these two reverts :
Revert "gallium: add soft screen helper"

This reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.

Revert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"

This reverts commit 5d524cce9c4fcc18ed977801d59ba7bb911020db.

Am I doing something wrong or is it indeed still broken after f87a5f6 ?

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev