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

Jan Beich jbeich at tormail.org
Sun Feb 3 16:23:56 UTC 2013


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


More information about the freebsd-current mailing list