On Fri, 19 Mar 2010 23:05:27 +0100
Luca Barbieri <l...@luca-barbieri.com> wrote:

> > For developers that makes a lot of sense, but I've never seen any
> > other projects impose this type of thing on regular users.
> 
> Why do you see it as an onerous imposition?
> It just tries to compile a program linked with a couple of libraries
> (the DRI driver, plus libGL) and makes the build fail if that fails.
> It doesn't even execute the built program (and could not always do so
> even if it were desired, since you could be cross-compiling).

This seems to be killing my build at least:

gmake[6]: Entering directory 
`/home/jbarnes/working/mesa/src/mesa/drivers/dri/i915'
/bin/sh ../../../../../bin/mklib -o i915_dri.so.tmp -noprefix -linker 'gcc' 
-ldflags '' \
                ../common/utils.o ../common/vblank.o ../common/dri_util.o 
../common/xmlconfig.o ../../common/driverfuncs.o ../common/texmem.o 
../common/drirenderbuffer.o ../common/dri_metaops.o i830_context.o i830_state.o 
i830_texblend.o i830_texstate.o i830_vtbl.o intel_render.o intel_regions.o 
intel_buffer_objects.o intel_batchbuffer.o intel_clear.o intel_extensions.o 
intel_mipmap_tree.o intel_tex_layout.o intel_tex_image.o intel_tex_subimage.o 
intel_tex_copy.o intel_tex_validate.o intel_tex_format.o intel_tex.o 
intel_pixel.o intel_pixel_bitmap.o intel_pixel_copy.o intel_pixel_draw.o 
intel_pixel_read.o intel_buffers.o intel_blit.o i915_tex_layout.o 
i915_texstate.o i915_context.o i915_debug.o i915_debug_fp.o i915_fragprog.o 
i915_program.o i915_state.o i915_vtbl.o intel_context.o intel_decode.o 
intel_screen.o intel_span.o intel_state.o intel_syncobj.o intel_tris.o 
intel_fbo.o   ../../../../../src/mesa/libmesa.a    -L/opt/gfx-test/lib -ldrm   
-lexpat -lm -lpthread -ldl -L/opt/gfx-test/lib -ldrm_intel -ldrm  
mklib: Making Linux shared library:  i915_dri.so.tmp
gcc -o i915_dri.so.test ../../../../../src/mesa/drivers/dri/common/dri_test.o 
i915_dri.so.tmp -L../../../../../lib -lGL
i915_dri.so.tmp: undefined reference to `drm_intel_bo_emit_reloc_fence'
i915_dri.so.tmp: undefined reference to 
`drm_intel_bufmgr_gem_enable_fenced_relocs'
collect2: ld returned 1 exit status
gmake[6]: *** [i915_dri.so] Error 1

Looks like the mklib call has the right flags, but the test link
doesn't, so it tries to link against a libdrm w/o these functions
exported.

-- 
Jesse Barnes, Intel Open Source Technology Center

------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to