The NetBSD Project

CVS log for pkgsrc/devel/lmdbg/Makefile

[BACK] Up to [] / pkgsrc / devel / lmdbg

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 19 15:24:27 2023 UTC (2 months ago) by nia
Branch: MAIN
Changes since 1.20: +8 -1 lines
Diff to previous 1.20 (colored)

lmdbg: Disable FORTIFY on Linux only

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 6 12:40:40 2023 UTC (3 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 2 20:22:35 2021 UTC (2 years, 8 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Update to version 1.3.0

  Support for aligned_alloc(3) was added.

  Modernize build system, mk-configure>=0.29.1 is required.

  Undefine _FORTIFY_SOURCE when compiling liblmdbg.

  Introduce LMDBG_ALLOW_WRITEABLE (rWx flag for memory segment)
  environment variable.  By default this flag is set to True, which
  allows to fix problem with lmdbg-sym seen on M$ WSL/OpenSuSE.

  lmdbg-leaks: fix the order of output, now it does not depend on AWK.

  Fixes and improvements in tests.

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 22 05:58:51 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

devel/lmdbg: fix typo in REPLACE_SH

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 16 20:21:08 2017 UTC (6 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Follow some http redirects.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 19 18:52:07 2017 UTC (6 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \

style continuation lines to be simple repeated


lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 4 02:47:06 2015 UTC (8 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Use BROKEN_ON_PLATFORM for undocumented MacOS restriction.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 5 21:14:00 2014 UTC (9 years, 7 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update to 1.2.1
  lmdbg-leaks: fix incorrect memory leak detection with calloc(3).

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 7 21:07:25 2013 UTC (10 years, 1 month ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.12: +5 -3 lines
Diff to previous 1.12 (colored)

Update to 1.2.0

  New tool lmdbg-head(1) was implemented, see the man page for

  README: recomendations for procfs

    - Much simplier (and correct) method for address convertion was
      implemented. As a result lmdbg-sym works correctly on AltLinux
      where ASLR and PIE are enabled by default.
    - Breakpoint are removed very soon after creation.
      This saves a lot of memory consumed by gdb(1)
      and dramatically speeds up it.

    - Arguments are passed correctly to progname
    - On glibc-based systems (e.g. Linux) malloc hooks are not used
      anymore as they are declared deprecated
    - Addresses from lmdbg.c are not included to stacktrace
    - Additional checks for address (returned by stacktrace(3))
      correctness.  As a result gdb(1) doesn't crash and therefore
      lmdbg-sym(1) work correctly.
    - stacktrace(3) doesn't not crash anymore on NetBSD/x64_64 with
      system utilities.  See implementation details in stacktrace.c.
    - New option -N
    - Option -v works correctly with non-zero exit status of progname.
    - Exits with error if progname is not specified.

    - Fix for NULL dereference appeared if free(3) or realloc(3)
      stacktrace is seen without appropriate malloc(3) stacktrace.

  AWK interpreter is found at configure time via MKC_REQUIRE_PROGS.

  Build and regression tests were fixed for non-empty MAKEOBJDIR case.

  ChangeLog file is never installed.

  lmdbg-s2m and lmsbg-m2s was moved to libexec dir.

  mk-configure >= 0.24.0 is required for build.

  Fixes, improvements and additions in regression tests.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 31 11:17:24 2012 UTC (10 years, 10 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 2 18:48:19 2012 UTC (11 years ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Update to 1.1.0
  Fix in regression tests. Now "make test" exits with non-zero status
  if something fails.

    - Zero addresses are removed from stacktraces generated by glibc's
      backtrace(3).  This fixes asserts in lmdbg-stat(1).
    - Double "0x" in "info section" were fixed (seen on NetBSD).
    - backtrace(3) from libexecinfo is used instead of builtin
      implementation if the library and execinfo.h are available
      (FreeBSD, NetBSD).

    - Fixes. Sometimes addresses were converted to symbols
      incorrectly. The problem was seen on modern Linux distros with
      recent gdb(1).

    - Now incompletly read lines (having no LF in the end) are
      ignored.  This fixes crashes and therefore empty output or
      lmdbg(1) when analysed program is killed.
    - Alternative implementation written in awk was removed.

  Build infrastructure was converted to 2-level dirs.
  This requires mk-configure>=0.23.0 for build.

  Minor clean-ups in man pages and Makefiles.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 9 19:10:04 2012 UTC (11 years, 6 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

clean-ups (adapted for recent mk-configure)

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 9 19:47:35 2012 UTC (11 years, 8 months ago) by cheusov
Branch: MAIN
Changes since 1.8: +4 -10 lines
Diff to previous 1.8 (colored)

Update to lmdbg-1.0.0
     Remove signal handlers and other garbage.
     All we need is __builtin_frame_address and __builtin_return_address
     builtins and nothing else.

  Documentation files have been moved to subproject "doc".
  Run "mkcmake install-doc" for installing it (or change SUBPRJ_DFLT).

  Only backtrace(3) in libc is accepted as an external implementation
  of stacktrace(3). This may fix build failure on FreeBSD with
  installed libexeinfo.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 2 22:45:47 2011 UTC (11 years, 9 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

Update to 0.17.0
  Long options have been removed from all programs.
  Use standard single-letter POSIX-compatible options.

    - Doesn't accept progname as an argument anymore.
      Use -P option instead.
    - option --with-so was replaced with -s.



    - -M option was added. lmdbg(1) is now a meta tools which is able
      to not only collecting memory leaks. See the manual page for
    - -n option was added
    - -T and -B options were added
    - Regression tests were added for -M

  A lot of improvements and grammar fixes in manual pages.
  Thanks to Nikolai Krot for this.

  lmdbg-stat, tests/
    - Fixes for Solaris

    - options -T and -B were added to lmdbg-run.
    - option -n was added. It disables logging on startup.
      Sending SIGUSR1 signal to the process enables it.
    -f option was added, synonym for -p.

    - documentation for "bytes" variable

  If set, LMDBG_MODULES_AWK and LMDBG_STRIP_AWK environment variables
  are used as a path to AWK interpreter by "lmdbg-modules" and
  "lmdbg-strip" programs respectively.

  More regression tests

Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 26 10:18:49 2011 UTC (11 years, 10 months ago) by cheusov
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

clang was added to a list of supported compilers
minor code clean-ups

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 19 15:04:37 2011 UTC (11 years, 11 months ago) by cheusov
Branch: MAIN
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored)

Adding MANDIR to MAKE_ENV is not needed anymore

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 9 10:02:47 2011 UTC (11 years, 11 months ago) by cheusov
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update my email

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 4 18:21:26 2011 UTC (12 years ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

For all packages based on mk-configure "configure" target is provided.
   This fixes parallel builds.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 3 02:00:40 2011 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Using REPLACE_INTERPRETER does not magically generate a dependence on the
interpreter. Depend explicitly on lang/runawk. PKGREVISION++

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 10 08:10:13 2011 UTC (12 years, 4 months ago) by cheusov
Branch: MAIN
Changes since 1.1: +6 -1 lines
Diff to previous 1.1 (colored)

fix #!/usr/bin/env issue

Revision / (download) - annotate - [select for diffs] (vendor branch), Sun May 8 18:32:15 2011 UTC (12 years, 4 months ago) by cheusov
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

LMDBG is a collection of small tools for collecting and analyzing logs
of malloc/realloc/memalign/free etc. function calls. Unlike many
others, LMDBG does not provide any way to detect overruns of the
boundaries of malloc() memory allocations, as this is not the
goal. Like most other malloc debuggers, LMDBG allows detecting memory
leaks. Unlike some others LMDBG generates full stacktraces and
separates the logging process from analysis, thus allowing you to
analyze application on a per-module basis. Simple but powerful tools
for analisis are also provided.

lmdbg-run    - Creates malloc/realloc/free/memalign/... logs
lmdbg-sym    - Converts addresses to 'file.c:NUM func_name'
lmdbg-leak   - Checks for memory leaks
lmdbg-stat   - Gathers statistical information about memory allocations
lmdbg-grep   - Greps the stackframes
lmdbg-strip  - Strips the stackframes
lmdbg-module - Enrichs the stackframes with a module name
lmdbg-sort   - Sorts the stackframes by e.g. total allocated bytes,
               a number of memory allocations etc.
lmdbg-sysleaks - Filters out system memory leaks e.g. libc's

Revision 1.1 / (download) - annotate - [select for diffs], Sun May 8 18:32:15 2011 UTC (12 years, 4 months ago) by cheusov
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>