DEBUG_FLAGS broken with -jX (Was: svn commit: r244236 - head/share/mk)

From: Jan Beich <jbeich_at_tormail.org>
Date: Sun, 03 Feb 2013 15:21:52 -0100
Ed Maste <emaste_at_FreeBSD.org> writes:

> Author: emaste
> Date: Sat Dec 15 00:03:35 2012
> New Revision: 244236
> URL: http://svnweb.freebsd.org/changeset/base/244236
>
> Log:
>   Put shared library debug info into separate .symbols file
>   
>   Sponsored by: ADARA Networks

Does this work with -jX ?

  $ echo DEBUG_FLAGS=-g >/etc/make.conf
  $ make -vj2
  [...]
  --- Version.map ---
  cat /usr/src/lib/librpcsec_gss/Symbol.map | cpp - -  | awk -v vfile=/usr/src/lib/librpcsec_gss/../libc/Versions.def -f /usr/src/share/mk/version_gen.awk > Version.map
  --- librpcsec_gss.a ---
  building static rpcsec_gss library
  ranlib librpcsec_gss.a
  --- librpcsec_gss.so.1.debug ---
  building shared library librpcsec_gss.so.1
  /usr/obj/usr/src/tmp/usr/bin/ld:Version.map:1: syntax error in VERSION script
  cc: error: linker command failed with exit code 1 (use -v to see invocation)
  *** [librpcsec_gss.so.1.debug] Error code 1
  1 error
Received on Sun Feb 03 2013 - 15:23:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC