OpenSolaris

  subsites   code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.

heads-up: 6598890 cancellation code abuses synonyms

Date: Wed, 23 Jan 2008 15:00:00 -0800 (PST)
From: "Roger A. Faulkner" <Roger.Faulkner at sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com, on-all at sun dot com
Subject: heads-up: 6598890 cancellation code abuses synonyms

My putback for:

6598890 cancellation code abuses synonyms

included some renames (deletions) that cause a problem with
incremental builds:

rename from: usr/src/lib/libc/port/gen/wait3.c
         to: deleted_files/usr/src/lib/libc/port/gen/wait3.c
rename from: usr/src/lib/libc/port/gen/wait4.c
         to: deleted_files/usr/src/lib/libc/port/gen/wait4.c

If you do a build of usr/src/lib/libc after bringing over my
changes, you will get failures like this on either sparc or
x86 build machines:

check_fnames: error: forbidden names found in i386_hwcap1/pics/wait3.o
check_fnames: error: forbidden names found in i386_hwcap2/pics/wait3.o
check_fnames: error: forbidden names found in i386_hwcap3/pics/wait3.o

The problem is due to left-over old .o files.
To avoid this problem, first remove all .o files from libc:

    $ find $SRC/lib/libc -name '*.o' -exec rm {} +

A full clobber nightly build will not have a problem because
it first removes all .o files from everywhere.

Roger Faulkner