Bug 45070 - 'make linux-x86-64-debug' fails to build libGL.so.1.5.08000
Summary: 'make linux-x86-64-debug' fails to build libGL.so.1.5.08000
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 01:47 UTC by Vinson Lee
Modified: 2012-01-27 13:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-01-22 01:47:18 UTC
mesa: 840a342cd0ac4a9937798a2137122387c0d3d7f6 (master)

'make linux-x86-64-debug' fails to build libGL.so.1.5.08000.

$ ls -l lib64
total 16992
drwxrwxr-x 2 vlee vlee     4096 Jan 22 00:03 gallium
lrwxrwxrwx 1 vlee vlee       11 Jan 22 00:03 libEGL.so -> libEGL.so.1
lrwxrwxrwx 1 vlee vlee       13 Jan 22 00:03 libEGL.so.1 -> libEGL.so.1.0
-rwxrwxr-x 1 vlee vlee   275684 Jan 22 00:03 libEGL.so.1.0
lrwxrwxrwx 1 vlee vlee       10 Jan 22 00:02 libGL.so -> libGL.so.1
lrwxrwxrwx 1 vlee vlee       18 Jan 22 00:02 libGL.so.1 -> libGL.so.1.5.08000
lrwxrwxrwx 1 vlee vlee       11 Jan 22 00:03 libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 vlee vlee       19 Jan 22 00:03 libGLU.so.1 -> libGLU.so.1.3.08000
-rwxrwxr-x 1 vlee vlee  1594372 Jan 22 00:03 libGLU.so.1.3.08000
lrwxrwxrwx 1 vlee vlee       14 Jan 22 00:01 libOpenVG.so -> libOpenVG.so.1
lrwxrwxrwx 1 vlee vlee       18 Jan 22 00:01 libOpenVG.so.1 -> libOpenVG.so.1.0.0
-rwxrwxr-x 1 vlee vlee   125170 Jan 22 00:01 libOpenVG.so.1.0.0
lrwxrwxrwx 1 vlee vlee       14 Jan 22 00:02 libOSMesa.so -> libOSMesa.so.8
lrwxrwxrwx 1 vlee vlee       18 Jan 22 00:02 libOSMesa.so.8 -> libOSMesa.so.8.0.0
-rwxrwxr-x 1 vlee vlee 15390028 Jan 22 00:02 libOSMesa.so.8.0.0

$ ls -l lib64/gallium
total 0
lrwxrwxrwx 1 vlee vlee 10 Jan 22 00:03 libGL.so -> libGL.so.1
lrwxrwxrwx 1 vlee vlee 18 Jan 22 00:03 libGL.so.1 -> libGL.so.1.5.08000


adefee50d954151f76150af80207081ae3c247d9 is the first bad commit
commit adefee50d954151f76150af80207081ae3c247d9
Author: Matt Turner <mattst88@gmail.com>
Date:   Wed Jan 11 18:32:14 2012 -0500

    Always build shared glapi
    
    libglapi.so, libGL.so, libGLESv2.so, libGLESv1_CM.so must all
    come from the same version of Mesa or bad things may happen.
    
    Acked-by: Kenneth Graunke <kenneth@whitecape.org>
    Signed-off-by: Matt Turner <mattst88@gmail.com>
Comment 1 Kenneth Graunke 2012-01-22 02:05:40 UTC
Why are you using the old static Makefile targets instead of automake or SCons?  We'd like to remove those.
Comment 2 Vinson Lee 2012-01-22 02:23:18 UTC
(In reply to comment #1)
> Why are you using the old static Makefile targets instead of automake or SCons?
>  We'd like to remove those.

What is now the right and correct way to build swrast and softpipe?

The static Makefile targets are what is referenced by the latest documentation. Please point me in the right direction and update the documentation.
Comment 3 Matt Turner 2012-01-22 08:32:50 UTC
From a clean git checkout of mesa:

./autogen.sh --with-dri-drivers=swrast --with-gallium-drivers=swrast [--enable-egl --enable-osmesa --enable-openvg --prefix=...]


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.