This is a flag day for any ON gateling who does incremental builds.
If you pull my fix for
6821619 Solaris linkers need systematic approach to ELF OSABI
PSARC/2009/196 ELF objects to set OSABI / elfdump -O option
into an existing workspace, and then do an incremental build,
you will encounter build errors that look like:
==== Build errors (DEBUG) ====
./msg.h:6: error: redefinition of typedef 'Msg'
../../include/sgsmsg.h:39: error: previous declaration of 'Msg' was here
dmake: Warning: Command failed for target `pics/doreloc_sparc_32.o'
...
To avoid this, do a clobber in usr/src/cmd/sgs after pulling this change,
and before your next build:
% cd usr/src/cmd/sgs
% make clobber
Alternatively, you can just do a full clobber build (omit the -i
from your nightly flags).
----
I did full nightly builds and BFU before integration, but the builds
were in fresh workspaces. The lesson learned is that when you modify
tools that generate files, you need to test both types of nightly.
A secondary lesson is that the make rules for these generated files
should include a dependency on the tool itself. I will be following up
on that.
I apologize for the inconvenience.
- Ali