Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   martin
Date:           Tue Feb 14 15:47:02 UTC 2023

Modified Files:
        src/external/gpl3/gdb [netbsd-10]: Makefile.inc
        src/external/gpl3/gdb.old [netbsd-10]: Makefile.inc
        src/external/mit/xorg/lib/gallium [netbsd-10]: Makefile
        src/external/mit/xorg/lib/gallium.old [netbsd-10]: Makefile
        src/share/mk [netbsd-10]: bsd.lib.mk

Log Message:
Pull up following revision(s) (requested by mrg in ticket #81):

        external/gpl3/gdb.old/Makefile.inc: revision 1.12
        share/mk/bsd.lib.mk: revision 1.390
        external/gpl3/gdb/Makefile.inc: revision 1.13
        external/mit/xorg/lib/gallium.old/Makefile: revision 1.5
        external/mit/xorg/lib/gallium/Makefile: revision 1.49

fix code attempting to skip adding "-g" if "-g*" already is used.

in bsd.lib.mk there's a check for "MKDEBUG != no" that will add
-g to CFLAGS (maybe) and to CSHLIBFLAGS (always), given that it
isn't in CFLAGS already.. except the conditional is "||" instead
of "&&" and since the MKDEBUG/NODEBUG checks pass, the CFLAGS
check isn't even performed.

additionally, check CXXFLAGS as well as CFLAGS.

this fixes the attempt to use "-g1" in the llvmrt build, which
fails because the compile lines end up being "... -g1 .. -g ..",
(the "-g" comes from the CSHLIBFLAGS variable in that case.)
this reduces the size of llvm-enabled gallium debug by ~1.5GiB
on amd64.

apply -g1 to the gallium sources as well.  saves another couple of 100MB.

apply -g1 to the gdb build as well.
reduces the size of gdb.debug and gdbtui.debug by 100MB each on amd64,
and about 70MB total in the debug set.  (across all builds, this may
be in the order of 3-4GB in releasedir output.)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.6.1 src/external/gpl3/gdb/Makefile.inc
cvs rdiff -u -r1.11 -r1.11.6.1 src/external/gpl3/gdb.old/Makefile.inc
cvs rdiff -u -r1.48 -r1.48.2.1 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.4 -r1.4.2.1 src/external/mit/xorg/lib/gallium.old/Makefile
cvs rdiff -u -r1.389 -r1.389.2.1 src/share/mk/bsd.lib.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index