Home | History | Annotate | Download | only in libGL
History log of /src/external/mit/xorg/lib/libGL/Makefile
RevisionDateAuthorComments
 1.35  22-Apr-2024  maya mesa21: link against libxcb-sync for missing symbols

Not super obvious in practice, but it does show if you run GL programs
with LD_BIND_NOW.
 1.34  16-Jul-2023  rjs Make most of MesaLib build.
 1.33  03-Jun-2023  lukem adapt to ${CC_WNO_STRINGOP_OVERFLOW}

Use ${CC_WNO_STRINGOP_OVERFLOW} instead of
the older style more complex expressions.

Remove workarounds if they were only for gcc < 10.
 1.32  11-Jul-2021  mrg xorg/lib stuff to enable mesa.old, prepare for new mesa

- rename OLD_PREFIX to OLD_SUFFIX, since it is
- include mesa-which.mk and use ${OLD_SUFFIX} in several places
- remove mesa < 18 support
 1.31  31-Oct-2020  nia mesa: re-enable GLX TLS to help i386

mesa's assembly code for i386 only seems to be position independent
when compiled with ELF TLS, so having it disabled causes worse problems
than the edge cases ELF TLS causes.

potentially the assembly code could be fixed (it looks like it not
being safe is a bug), it could also be disabled, but i don't currently
have the means to measure the impact of that.
 1.30  16-Sep-2020  nia disable use of ELF TLS in Mesa/libGL

this is an optimization that primarily benefits linux/glibc -
most other systems have this disabled. in netbsd we've tried to
patch around it to make things work, but there still appears to be
some edge cases where libGL mysteriously crashes.

discussed on tech-x11 some time ago. already in place in pkgsrc.
 1.29  29-Mar-2020  maya Define GL_LIB_NAME somewhere that applies to dri_common.c, which is the
file that needs it.
 1.28  24-Sep-2019  maya Update build logic for mesa 19.1.7.

A lot of files are now living outside of dist, since they're not in the
distributed sources: they're generated, usually by python/meson.

The remaining changes are due to files being moved around.
 1.27  16-May-2019  christos Fix MKCOMPATX11 build
 1.26  18-Apr-2019  mrg remove now dated comment.
 1.25  11-Apr-2019  maya the drivers we dlopen need pthread.
I'm not sure about the exact scenario causing failure, but using the
libc pthread stubs isn't sufficient.

fixes one of the glmark2 crashes (at startup with llvmpipe)
 1.24  09-Apr-2019  maya Expand all @@ things in pkgconfig file.
claim TLS.
pick up the list of private libs from pkgsrc mesalib
GL_LIB got renamed to GL_PKGCONF_LIB.
 1.23  10-Mar-2019  mrg pull across most of the new build infrastruture for mesa18 from maya's
git tree. this includes may of the changes from the changes below:


commit 52d85e74a1197aace38cc7acb705509e969120e6
Author: coypu <coypu@sdf.org>
Date: Mon Mar 4 12:25:33 2019 +0200

Make 32bit archs happier.

except i386, which now suffers from locked atomics because we
don't have clever ifunc tricks in libc.

commit ee9b4c19c58127934ed3548ad0d68934cc95ccc7
Author: coypu <coypu@sdf.org>
Date: Mon Mar 4 09:08:35 2019 +0200

Adjust includes, append rather than replace, appease clang ppc builds

commit a5341a3ad42572c78b6a2e6e5545bd323d7f2e4c
Author: coypu <coypu@sdf.org>
Date: Sun Mar 3 11:52:19 2019 +0200

Resolve i386 atomic issue and set lists.

XXX libGL in i386 is still causing issues
XXX pkgconfig file for vdpau
XXX set lists for arm32

commit 27bffc20bc15186c92cc5b8d5cc08d7299966b34
Author: coypu <coypu@sdf.org>
Date: Sat Mar 2 21:52:45 2019 +0200

make llvm sources x86 specific

hopefully not breaking non-x86 clang builds, which
have MKLLVM set.

commit f9d34922619cc8f2a224c0138a73985e50daf87f
Author: coypu <coypu@sdf.org>
Date: Sat Mar 2 21:33:31 2019 +0200

move hack to build llvm libraries soon enough.

add u_process.c to libGL specifically (dri, gallium and libGL all need
it).

Add some missing includes for pipe-loader when it moved to gallium

commit 2b1083d0d538bb5d5dd88ab2ca0ca6c331e5dd5b
Author: coypu <coypu@sdf.org>
Date: Sat Mar 2 16:47:58 2019 +0200

shuffle around:

some files move from shared driver.mk/loader.mk into gallium.
others move to shared.

add i915 files.

now i965 glxgears works (amd64).

commit 1897a90569b30b294bcbedadb3745092eca0bb33
Author: Maya Rashish <maya@NetBSD.org>
Date: Sun Feb 24 23:36:26 2019 +0200

Progress towards glxgears on i915

commit 28c9c99a236404de41ae74e88ea6d9578c088b92
Author: Maya Rashish <maya@NetBSD.org>
Date: Sun Feb 24 21:55:56 2019 +0200

rototill i965/i915 causing it to no longer startx.

Now missing sw_screen_create in the dri driver.

commit 48eb746983a5a7967fba221e7b167808af36f44a
Author: Maya Rashish <maya@NetBSD.org>
Date: Sun Feb 24 09:31:22 2019 +0200

More of vdpau. Cogs spin.

commit d9fbba8f61a43648d32f160c5fa62626788566ff
Author: Maya Rashish <maya@NetBSD.org>
Date: Sat Feb 23 22:36:37 2019 +0200

Adjust for MesaLib 18.

Build llvmpipe driver on x86 (the driver itself is x86-only).
build llvm on all x86, even on GCC builds.
galahad driver removed (upstream).
Don't build mesa 7 at all.
 1.22  10-Mar-2019  mrg move mesa10 build into .old scheme:

- add ${X11SRCDIR.MesaLib.old} and introduce ${X11SRCDIR.Mesa} as an
alias for either the former or the non old. this allows many of
the makefiles to simply use ${X11SRCDIR.Mesa} (but does not really
enable much sharing of makefiles, but reduces their diffs.)

- use mesa-which.mk to define ${OLD_PREFIX} to either "" or ".old",
and to know if to build 'dri7' (.old only.) ${OLD_PREFIX} is used
by other code (eg, LIBDPLIBS) to pick the right subdir.
 1.21  18-Dec-2014  mrg branches: 1.21.16;
update sets and reachover makefiles for mesa 10.3.5.
 1.20  15-Dec-2014  mrg delete tools/glsl, is hasn't been used for a while.
move Makefile.glsl into libGL.
 1.19  09-Jul-2014  riastradh branches: 1.19.2;
Update reachover makefiles for MesaLib 7.11.2.

With the new GL shader compiler, glsl-compile is no longer needed as
a tool, but the shader compiler is now duplicated in several
libraries, so (XXX) external/mit/xorg/tools/glsl should be turned
into a proper library that libGL and libmesa can link against.
 1.18  22-Mar-2012  joerg branches: 1.18.2; 1.18.8;
Disable a bunch of additional warnings for now for the clang build.
 1.17  11-Aug-2011  joerg branches: 1.17.2;
Various warning adjustments for clang
 1.16  22-Nov-2010  mrg install dri.pc.
put the Mesa version into it's own makefile, and share it. there
are now 4 references to it.
 1.15  19-Jul-2010  mrg updates for Mesa 7.8.2:
- build glsl as a host tool
- add the glsl objects to libmesa
- add/remove new/deleted sources for various components
- adjust the libmesa/libGL builds to pull in the new glsl objects
- re-apply the BUILDSYMLINK hack for eval.c/pixel.c/pixelstore.c
- use glsl to build the slang headers on the fly
 1.14  28-May-2010  mrg we're now at mesa 7.7.1.

XXX: really really really need to make this in one place...
 1.13  23-May-2010  mrg we have Mesa 7.4.4.
 1.12  22-May-2010  mrg updates for changed header locations for libdrm.
 1.11  22-May-2010  mrg install GL/internal/sarea.h and GL/internal/dri_interface.h, like Mesa does.
 1.10  08-Oct-2009  snj Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
 1.9  11-Jun-2009  mrg add glapi_getproc.c.
 1.8  11-Jun-2009  mrg fix up the Mesa version for the gl*.pc files.
 1.7  11-Jun-2009  mrg build fixes for Mesa 7.4.2.
 1.6  14-Feb-2009  abs Use MACHINE_ARCH rather than MACHINE where relevant. At least one file had a nice mixture of amd64 and x86_64 tests...
 1.5  21-Sep-2008  cube branches: 1.5.4; 1.5.6; 1.5.8; 1.5.12;
Note the proper location of the DRI modules.
 1.4  20-Sep-2008  cube Don't install osmesa.h from here, libOSMesa will do it.
 1.3  13-Sep-2008  cube branches: 1.3.2;
Install pkgconfig files. Where applicable, remove .if 0 code that tried to
do the same thing.
 1.2  02-Aug-2008  rtr * don't build glapi_x86.S for now on i386.
* when preprorcessed glapi_x86.S ends up being invalid assembler input
because of whitespace problems in concatenation macros. normally the
use of these macros as they are wouldn't be a problem except we are
receiving -traditional-cpp from share/mk and the spaces are being
passed.

XXX further discussion needs to occur in order for this to be properly
fixed
 1.1  29-Jul-2008  mrg branches: 1.1.1;
Initial revision
 1.1.1.1  29-Jul-2008  mrg initial import of the crossbuild framework for modular Xorg. this
is heavily based upon the work rtr@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated. there are 192 of them so it may take some time
before that is completed.
 1.3.2.3  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.3.2.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.3.2.1  13-Sep-2008  wrstuden file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:35 +0000
 1.5.12.1  21-Apr-2010  matt sync to netbsd-5
 1.5.8.1  13-May-2009  jym Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.5.6.2  10-Oct-2009  sborrill Pull up the following revisions(s) (requested by snj in ticket #1079):
distrib/sets/lists/base/mi: patch
etc/mtree/NetBSD.dist: patch
distrib/sets/lists/xcomp/mi: revision 1.100
external/mit/xorg/lib/dri/dri.mk: revision 1.8
external/mit/xorg/lib/dri/libmesa/Makefile: revision 1.4
external/mit/xorg/lib/libGL/Makefile: revision 1.10
external/mit/xorg/lib/libdrm/Makefile: revision 1.5
external/mit/xorg/lib/libdrm/drm/Makefile: revision 1.3
external/mit/xorg/lib/libdrm_intel/Makefile: revision 1.3
external/mit/xorg/server/drivers/Makefile.xf86-driver: revision 1.16
external/mit/xorg/server/drivers/xf86-video-glint/Makefile: revision 1.7
external/mit/xorg/server/drivers/xf86-video-intel/Makefile: revision 1.7
external/mit/xorg/server/drivers/xf86-video-intel/ch7017/Makefile: revision 1.2
external/mit/xorg/server/drivers/xf86-video-intel/ch7xxx/Makefile: revision 1.2
external/mit/xorg/server/drivers/xf86-video-intel/ivch/Makefile: revision 1.2
external/mit/xorg/server/drivers/xf86-video-intel/sil164/Makefile: revision 1.2
external/mit/xorg/server/drivers/xf86-video-intel/tfp410/Makefile: revision 1.2
external/mit/xorg/server/drivers/xf86-video-mga/Makefile: revision 1.7
external/mit/xorg/server/drivers/xf86-video-radeon/Makefile: revision 1.5
external/mit/xorg/server/drivers/xf86-video-savage/Makefile: revision 1.7
external/mit/xorg/server/drivers/xf86-video-sis/Makefile: revision 1.7
external/mit/xorg/server/drivers/xf86-video-tdfx/Makefile: revision 1.6
external/mit/xorg/server/drivers/xf86-video-via/Makefile: revision 1.5
external/mit/xorg/server/xorg-server/GL/glx/Makefile.glx: revision 1.5
external/mit/xorg/server/xorg-server/glx/Makefile.glx: revision 1.4
external/mit/xorg/server/xorg-server/hw/xfree86/dri/Makefile: revision 1.7
external/mit/xorg/server/xorg-server/hw/xfree86/dri2/Makefile: revision 1.4

Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
 1.5.6.1  17-Sep-2009  snj Apply patch (requested by mrg in ticket #958):
Sync X.Org reachover build framework and setlists with the new X.Org.
 1.5.4.2  19-Oct-2008  haad Sync with HEAD.
 1.5.4.1  21-Sep-2008  haad file Makefile was added on branch haad-dm on 2008-10-19 22:41:08 +0000
 1.17.2.1  17-Apr-2012  yamt sync with head
 1.18.8.1  10-Aug-2014  tls Rebase.
 1.18.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.2.2  05-Jan-2015  martin Pull up following revision(s) (requested by mrg in ticket #381):
distrib/sets/lists/xdebug/md.amd64: revision 1.7
external/mit/xorg/lib/libGL/internal/Makefile: revision 1.2
distrib/sets/lists/xdebug/md.amd64: revision 1.8
distrib/sets/lists/xserver/md.sparc64: revision 1.55
distrib/sets/lists/xdebug/md.sparc64: revision 1.4
external/mit/xorg/lib/Makefile: revision 1.30
external/mit/xorg/lib/libglapi/Makefile: revision 1.1
distrib/sets/lists/xserver/md.macppc: revision 1.67
external/mit/xorg/lib/dri/radeon/Makefile: file removal
external/mit/xorg/lib/asm.mk: revision 1.1
external/mit/xorg/lib/dri/dri.mk: file removal
external/mit/xorg/lib/dri/mach64/Makefile: file removal
external/mit/xorg/lib/libGL/Makefile: revision 1.21
external/mit/xorg/lib/libGL/Makefile.glslsrcs: file removal
external/mit/xorg/lib/dri/Makefile: revision 1.20
external/mit/xorg/lib/driver.mk: revision 1.1
external/mit/xorg/lib/dri/r600/Makefile: file removal
external/mit/xorg/lib/dri/r128/Makefile: file removal
external/mit/xorg/lib/dri/i915/Makefile: file removal
external/mit/xorg/lib/dri/Makefile: revision 1.23
external/mit/xorg/lib/gallium/Makefile: revision 1.1
external/mit/xorg/lib/gallium/Makefile: revision 1.2
distrib/sets/lists/xcomp/mi: revision 1.154
external/mit/xorg/lib/libOSMesa/libmesa.mk: file removal
external/mit/xorg/lib/libGL/mesa-ver.mk: revision 1.2
distrib/sets/lists/xserver/mi: revision 1.34
external/mit/xorg/bin/glxgears/Makefile: revision 1.4
distrib/sets/lists/xserver/md.alpha: revision 1.38
external/mit/xorg/lib/libOSMesa/shlib_version: file removal
external/mit/xorg/lib/dri/trident/Makefile: file removal
external/mit/xorg/lib/dri/i810/Makefile: file removal
external/mit/xorg/lib/libGLw/Makefile: revision 1.4
external/mit/xorg/TODO: file removal
external/mit/xorg/lib/dri/sis/Makefile: file removal
distrib/sets/lists/xserver/md.sparc: revision 1.57
distrib/sets/lists/xserver/md.prep: revision 1.15
distrib/sets/lists/xcomp/shl.mi: revision 1.38
external/mit/xorg/lib/dri/tdfx/Makefile: file removal
external/mit/xorg/lib/dri/mga/Makefile: file removal
distrib/sets/lists/xdebug/md.macppc: revision 1.4
external/mit/xorg/lib/libOSMesa/Makefile: file removal
distrib/sets/lists/xdebug/shl.mi: revision 1.16
external/mit/xorg/lib/libGL/Makefile.mesa: file removal
distrib/sets/lists/xdebug/mi: revision 1.9
distrib/sets/lists/xdebug/md.i386: revision 1.7
external/mit/xorg/lib/dri/swrast/Makefile: file removal
distrib/sets/lists/xdebug/md.i386: revision 1.8
external/mit/xorg/lib/dri/savage/Makefile: file removal
external/mit/xorg/lib/dri/r200/Makefile: file removal
distrib/sets/lists/xetc/mi: revision 1.24
distrib/sets/lists/xbase/shl.mi: revision 1.57
distrib/sets/lists/xdebug/md.sparc: revision 1.5
external/mit/xorg/lib/dri/i965/Makefile: file removal
external/mit/xorg/lib/libloader.mk: revision 1.1
external/mit/xorg/bin/glxinfo/Makefile: revision 1.5
distrib/sets/lists/xserver/md.ofppc: revision 1.20
external/mit/xorg/lib/libmesa.mk: revision 1.1
external/mit/xorg/lib/dri/libmesa/Makefile: file removal
external/mit/xorg/lib/dri/Makefile: revision 1.19
distrib/sets/lists/xserver/md.amd64: revision 1.74
distrib/sets/lists/xserver/md.bebox: revision 1.11
distrib/sets/lists/xdebug/md.ofppc: revision 1.4
external/mit/xorg/lib/libglsl.mk: revision 1.1
external/mit/xorg/lib/dri/r300/Makefile: file removal
external/mit/xorg/lib/dri/unichrome/Makefile: file removal
external/mit/xorg/lib/dri/s3v/Makefile: file removal
distrib/sets/lists/xserver/md.i386: revision 1.93
update sets and reachover makefiles for mesa 10.3.5.
fix build problem with radeon_*.c files.
- mesa_dri_drivers.so.0.debug is not obsolete for amd64
- kms_swrast_dri.so.0.debug was missing
- Don't install absolute symlinks
- Add missing debug symlinks
- consistently install symlinks (like we do for everything else)
- add missing debug libs
 1.19.2.1  23-Dec-2014  snj Pull up following revision(s) (requested by mrg in ticket #340):
external/mit/xorg/tools/glsl/Makefile.glslsrcs: file removal
external/mit/xorg/lib/libGL/Makefile: revision 1.20
external/mit/xorg/lib/libGL/Makefile.glslsrcs: revision 1.1
external/mit/xorg/lib/libOSMesa/libmesa.mk: revision 1.9
external/mit/xorg/lib/dri/libmesa/Makefile: revision 1.14
external/mit/xorg/tools/glsl/Makefile: file removal
external/mit/xorg/tools/glsl/Makefile.glsl: file removal
delete tools/glsl, is hasn't been used for a while.
move Makefile.glsl into libGL.
 1.21.16.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.21.16.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed