This is a minor flag day for build machine maintainers, and a
heads up for everyone else. As a result of my fix for
6916788 ld version 2 mapfile syntax
PSARC/2009/688 Human readable and extensible ld mapfile syntax
you may encounter one of the following warnings in your builds:
1) The fix for 6916788 modifies the format of some link-editor
messages that are examined by the nightly script. As a result,
if you use an old version of the nightly script on a system that
has the new version of ld installed, you will encounter the
following build warnings on sparc platforms:
ld: warning: symbol 'timezone' has differing types:
ld: warning: symbol 'timezone' has differing types:
ld: warning: symbol 'timezone' has differing types:
These warnings are harmless, and can be safely ignored.
The latest version of the nightly script understands both the
old and new ld warnings, and will properly filter either.
Build machine maintainers should upgrade to the latest version
of the SUNWonbld tools to eliminate these build warnings.
2) If you build an older workspace on a build system that has
the new version of ld installed, you will encounter the
following warning when building usr/src/lib/libwrap:
ld: warning: ../mapfile: 29: auto-reduction ('*') can only
be used in hidden/local, or eliminate scope
This warning can be safely ignored.
Previous versions of ld quietly ignored this condition. As of 6916788,
ld issues the above warning. To eliminate the warning from your
build, pull the latest version of usr/src/lib/libwrap/mapfile, or
remove the offending line from the copy in your workspace.
--- a/usr/src/lib/libwrap/mapfile Sat Feb 20 06:04:43 2010 +0300
+++ b/usr/src/lib/libwrap/mapfile Sat Feb 20 15:02:49 2010 -0700
@@ -1,5 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -26,5 +26,4 @@
global:
allow_severity = extern;
deny_severity = extern;
- *;
};
- Ali