Print this page
10816 ctf_dwarf_convert_type() relies on un-initialized id
10817 ctfconvert -i option is mis-handled
10818 Improve ctfconvert error messages
10819 ctfconvert should handle empty dies
10820 ctfconvert -i never converts
10821 bad free in ctf_dwarf_init_die
10815 shouldn't build gcore.c as part of kmdb
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>


   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2016 Garrett D'Amore <garrett@damore.org>
  25 # Copyright 2013 Saso Kiselkov. All rights reserved.
  26 # Copyright 2016 Joyent, Inc.
  27 # Copyright 2018 Nexenta Systems, Inc.
  28 # Copyright (c) 2016 by Delphix. All rights reserved.
  29 #
  30 
  31 #
  32 # uts/common/Makefile.rules
  33 #
  34 #       This Makefile defines all the file build rules for the directory
  35 # uts/common and its children. These are the source files which may
  36 # be considered common to all SunOS systems.
  37 #
  38 #       The following two-level ordering must be maintained in this file.
  39 #         Lines are sorted first in order of decreasing specificity based on
  40 #         the first directory component.  That is, sun4u rules come before
  41 #         sparc rules come before common rules.
  42 #
  43 #         Lines whose initial directory components are equal are sorted
  44 #         alphabetically by the remaining components.
  45 
  46 #


 358         $(CTFCONVERT_O)
 359 
 360 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/fs/zut/%.c
 361         $(COMPILE.c) -o $@ $<
 362         $(CTFCONVERT_O)
 363 
 364 $(OBJS_DIR)/%.o:                $(COMMONBASE)/xattr/%.c
 365         $(COMPILE.c) -o $@ $<
 366         $(CTFCONVERT_O)
 367 
 368 $(OBJS_DIR)/%.o:                $(COMMONBASE)/zfs/%.c
 369         $(COMPILE.c) -o $@ $<
 370         $(CTFCONVERT_O)
 371 
 372 $(OBJS_DIR)/%.o:        $(UTSBASE)/common/io/scsi/adapters/pmcs/%.c
 373         $(COMPILE.c) -o $@ $<
 374         $(CTFCONVERT_O)
 375 
 376 $(OBJS_DIR)/%.o:        $(UTSBASE)/common/io/scsi/adapters/pmcs/%.bin
 377         $(COMPILE.b) -o $@ $<
 378         $(CTFCONVERT_O)
 379 
 380 $(OBJS_DIR)/%.o:                $(COMMONBASE)/fsreparse/%.c
 381         $(COMPILE.c) -o $@ $<
 382         $(CTFCONVERT_O)
 383 
 384 KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
 385 
 386 KGSSDFLAGS=-I $(UTSBASE)/common/gssapi/include
 387 
 388 # Note, KRB5_DEFS can be assigned various preprocessor flags,
 389 # typically -D defines on the make invocation.  The standard compiler
 390 # flags will not be overwritten.
 391 KGSSDFLAGS += $(KRB5_DEFS)
 392 
 393 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/gssapi/%.c
 394         $(COMPILE.c) $(KGSSDFLAGS) -o $@ $<
 395         $(CTFCONVERT_O)
 396 
 397 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/gssapi/mechs/dummy/%.c
 398         $(COMPILE.c) $(KGSSDFLAGS) -o $@ $<




   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2016 Garrett D'Amore <garrett@damore.org>
  25 # Copyright 2013 Saso Kiselkov. All rights reserved.
  26 # Copyright 2019 Joyent, Inc.
  27 # Copyright 2018 Nexenta Systems, Inc.
  28 # Copyright (c) 2016 by Delphix. All rights reserved.
  29 #
  30 
  31 #
  32 # uts/common/Makefile.rules
  33 #
  34 #       This Makefile defines all the file build rules for the directory
  35 # uts/common and its children. These are the source files which may
  36 # be considered common to all SunOS systems.
  37 #
  38 #       The following two-level ordering must be maintained in this file.
  39 #         Lines are sorted first in order of decreasing specificity based on
  40 #         the first directory component.  That is, sun4u rules come before
  41 #         sparc rules come before common rules.
  42 #
  43 #         Lines whose initial directory components are equal are sorted
  44 #         alphabetically by the remaining components.
  45 
  46 #


 358         $(CTFCONVERT_O)
 359 
 360 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/fs/zut/%.c
 361         $(COMPILE.c) -o $@ $<
 362         $(CTFCONVERT_O)
 363 
 364 $(OBJS_DIR)/%.o:                $(COMMONBASE)/xattr/%.c
 365         $(COMPILE.c) -o $@ $<
 366         $(CTFCONVERT_O)
 367 
 368 $(OBJS_DIR)/%.o:                $(COMMONBASE)/zfs/%.c
 369         $(COMPILE.c) -o $@ $<
 370         $(CTFCONVERT_O)
 371 
 372 $(OBJS_DIR)/%.o:        $(UTSBASE)/common/io/scsi/adapters/pmcs/%.c
 373         $(COMPILE.c) -o $@ $<
 374         $(CTFCONVERT_O)
 375 
 376 $(OBJS_DIR)/%.o:        $(UTSBASE)/common/io/scsi/adapters/pmcs/%.bin
 377         $(COMPILE.b) -o $@ $<

 378 
 379 $(OBJS_DIR)/%.o:                $(COMMONBASE)/fsreparse/%.c
 380         $(COMPILE.c) -o $@ $<
 381         $(CTFCONVERT_O)
 382 
 383 KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
 384 
 385 KGSSDFLAGS=-I $(UTSBASE)/common/gssapi/include
 386 
 387 # Note, KRB5_DEFS can be assigned various preprocessor flags,
 388 # typically -D defines on the make invocation.  The standard compiler
 389 # flags will not be overwritten.
 390 KGSSDFLAGS += $(KRB5_DEFS)
 391 
 392 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/gssapi/%.c
 393         $(COMPILE.c) $(KGSSDFLAGS) -o $@ $<
 394         $(CTFCONVERT_O)
 395 
 396 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/gssapi/mechs/dummy/%.c
 397         $(COMPILE.c) $(KGSSDFLAGS) -o $@ $<