OpenSolaris

You are not signed in. Sign in or register.

Heads Up: PSARC 2007/026 can cause harmless ".SUNW_dynXXXsort has invalid type" warnings from ld(1)

Date: Thu, 25 Jan 2007 15:33:43 -0700
From: Ali Bahrami <Ali.Bahrami at Sun dot COM>
To: onnv-gate at onnv dot eng dot sun dot com, on-all at Sun dot COM
Subject: Heads Up: PSARC 2007/026 can cause harmless ".SUNW_dynXXXsort has invalid type" warnings from ld(1)

The putback of

	PSARC 2007/026 ELF symbol sort sections
	6475344 DTrace needs ELF function and data symbols sorted by address

introduces two new ELF sections into Solaris sharable objects and
dynamic executables named ".SUNW_dynsymsort", and ".SUNW_dyntlsort".
The purpose of these new sections is to allow efficient in-process mapping
of memory addresses to function or variable symbols.

This change does not require you to adjust your workspace or environment.
However, it is possible that you may encounter warnings of the form:

	ld: warning: file libelf.so: section .SUNW_dynsymsort has invalid
		type 0x6ffffff1
	ld: warning: file libelf.so: section .SUNW_dyntlssort has invalid
		type 0x6ffffff2

These warnings are harmless and may be safely ignored. They occur if you
are using a system with an older version of the linker that does not know
about these section types, but are feeding it sharable objects that contain
.SUNW_dynsymsort or .SUNW_dyntlssort sections. The most likely way to
trigger this is when you're using ws, or otherwise setting your environment
up to pull libraries from the gate machine, or another proto area that's
been built with the new linker.

To eliminate the warnings, you can do one of the following:

         - Pull your sharable objects from a proto area that
           predates this putback (25 January 2007).

         - BFU from any Nevada nightly build that includes
           the changes from January 25th.

         - Install Nevada build 58 once it is available (not for a couple
           of weeks yet).

- Ali