xref: /titanic_50/usr/src/cmd/sgs/rtld/common/rtld.msg (revision 02e56f3f1bfc8d9977bafb8cb5202f576dcded27)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25#pragma ident	"%Z%%M%	%I%	%E% SMI"
26
27@ _START_
28
29# Message file for cmd/sgs/rtld (ld.so.1)
30
31@ MSG_ID_RTLD
32
33# Usage error
34@ MSG_USG_BADOPT	"usage: ld.so.1 [-e option,...] \
35			 dynamic-object [object args,...]"
36
37# Message formatting error.
38@ MSG_EMG_BUFOVRFLW	"ld.so.1: internal: message buffer overflow"
39
40# Argument processing errors
41
42@ MSG_ARG_ILLMODE_1	"illegal mode: RTLD_NOW or RTLD_LAZY or RTLD_NOLOAD \
43			 required"
44@ MSG_ARG_ILLMODE_2	"illegal mode: RTLD_NOW cannot be combined with \
45			 RTLD_LAZY"
46@ MSG_ARG_ILLMODE_3	"illegal mode: LM_ID_NEWLM requires non-zero path"
47@ MSG_ARG_ILLMODE_4	"illegal mode: LM_ID_NEWLM cannot be combined with \
48			 RTLD_PARENT"
49@ MSG_ARG_ILLMODE_5	"illegal mode: potential multiple path expansion \
50			 requires RTLD_FIRST"
51
52@ MSG_ARG_ILLPATH	"illegal pathname"
53@ MSG_ARG_ILLSYM	"illegal symbol name"
54@ MSG_ARG_INVADDR	"address 0x%llx does not fall within any mapped object"
55@ MSG_ARG_INVHNDL	"invalid handle"
56@ MSG_ARG_ILLVAL	"illegal request value"
57@ MSG_ARG_NOCONFIG	"no configuration file in use"
58@ MSG_ARG_NOPROFNAME	"no profile target specified"
59@ MSG_ARG_ATEXIT	"purge of atexit() registrations failed: %d"
60@ MSG_ARG_SERCNT	"information path count (%d) insufficient"
61@ MSG_ARG_SERSIZE	"information buffer size (%lld) insufficient"
62@ MSG_ARG_ILLFLAGS	"illegal flags value: %d"
63@ MSG_ARG_ILLINFO	"non-null info field required for flags value: %d"
64@ MSG_ARG_INVSIG	"invalid signal supplied: %d"
65
66
67# General error diagnostics
68
69@ MSG_GEN_NOOPEN	"DF_1_NOOPEN tagged object may not be dlopen()'ed"
70
71@ MSG_GEN_NOFILE	"%s: can't find file"
72@ MSG_GEN_ALTER		"%s: alternate file in use"
73@ MSG_GEN_CORTRUNC	"%s: corrupt or truncated file"
74@ MSG_GEN_NOSYM		"%s: can't find symbol"
75@ MSG_GEN_BADTYPE	"%s: bad ELF type: %s"
76@ MSG_GEN_INVPRGHDR	"%s: invalid ELF program header, segments out of order"
77@ MSG_GEN_NOLOADSEG	"%s: no loadable ELF segments found"
78@ MSG_GEN_MAPINUSE	"%s: required mapping 0x%llx size 0x%llx, \
79			 is already in use by file %s"
80@ MSG_GEN_NODUMP	"%s: DF_1_NODUMP tagged object may not be dldump()'ed"
81@ MSG_GEN_AUDITERM	"%s: auditing terminated search"
82@ MSG_GEN_BADHWCAP_1	"hardware capability unsupported: %s"
83
84
85# Move related messages
86
87@ MSG_MOVE_ERR1		"move entry with illegal size; ignored"
88
89
90# Relocation processing messages (some of these are required to satisfy
91# do_reloc(), which is common code used by cmd/sgs/libld - make sure both
92# message files remain consistent).
93
94@ MSG_REL_NOSYM		"relocation error: file %s: symbol %s: \
95			 referenced symbol not found"
96@ MSG_REL_PLTREF	"relocation error: %s: unidentifiable procedure \
97			 reference: link-map 0x%llx, offset 0x%llx, \
98			 called from 0x%llx"
99
100
101# System call messages.
102
103@ MSG_SYS_BRK		"%s: brk failed: %s"
104@ MSG_SYS_OPEN		"%s: open failed: %s"
105@ MSG_SYS_MMAP		"%s: mmap failed: %s"
106@ MSG_SYS_MMAPANON	"%s: mmap anon failed: %s"
107@ MSG_SYS_MPROT		"%s: mprotect failed: %s"
108@ MSG_SYS_PROC		"%s: /proc error: %s"
109
110@ MSG_SEC_OPEN		"%s: open failed: No such file in secure directories"
111@ MSG_SEC_ILLEGAL	"%s: open failed: illegal insecure pathname"
112
113
114# Configuration failures
115
116@ MSG_CONF_APP		"configuration file: %s: is specific to application: %s"
117@ MSG_CONF_DSTAT	"configuration file: %s: original directory %s: stat \
118			 failed: %s"
119@ MSG_CONF_FSTAT	"configuration file: %s: original file %s: stat \
120			 failed: %s"
121@ MSG_CONF_FCMP		"configuration file: %s: original file %s: modified \
122			 since configuration file creation"
123
124# Link Audit diagnostic message formats
125
126@ MSG_AUD_BADVERS	"version mismatch: current %d: required %d"
127@ MSG_AUD_DISABLED	"%s: audit initialization failure: disabled"
128
129
130# Versioning diagnostics.
131
132@ MSG_VER_NFOUND	"%s: version `%s' not found (required by file %s)"
133
134
135# Diagnostics generated under the control of ldd(1).
136
137@ MSG_LDD_VER_FIND	"   find version=%s\n"
138@ MSG_LDD_VER_NFOUND	"\t%s (%s) =>\t (version not found)\n"
139
140@ MSG_LDD_SYM_NFOUND	"\tsymbol not found: %s\t\t(%s)\n"
141
142@ MSG_LDD_PTH_TRYING	"    trying path=%s%s\n"
143@ MSG_LDD_PTH_LIBPATH	"    search path=%s  (LD_LIBRARY_PATH)\n"
144@ MSG_LDD_PTH_LIBPATHC	"    search path=%s  (configuration \
145			 LD_LIBRARY_PATH - %s)\n"
146@ MSG_LDD_PTH_RPATH	"    search path=%s  (RPATH from file %s)\n"
147@ MSG_LDD_PTH_BGNDFL	"    search path="
148@ MSG_LDD_PTH_ENDDFL	"  (default)\n"
149@ MSG_LDD_PTH_ENDDFLC	"  (configuration default - %s)\n"
150@ MSG_LDD_PTH_IGNORE	"    ignore path=%s  (insecure directory name)\n"
151
152@ MSG_LDD_FIL_FILTER	"\n   object=%s; filter for %s\n"
153@ MSG_LDD_FIL_FIND	"\n   find object=%s; required by %s\n"
154@ MSG_LDD_FIL_NFOUND	"\t%s =>\t (file not found)\n"
155@ MSG_LDD_FIL_ILLEGAL	"\t%s =>\t (illegal insecure pathname)\n"
156@ MSG_LDD_FIL_ALTER	"  (alternate)"
157
158@ MSG_LDD_HWCAP_NFOUND	"\t%s =>\t (no hardware capability objects found)\n"
159
160@ MSG_LDD_SEC_NFOUND	"\t%s =>\t (file not found in secure directories)\n"
161
162@ MSG_LDD_REL_ERR1	"\trelocation %s offset invalid: %s: offset=0x%llx \
163			 lies outside memory image; relocation discarded\n"
164@ MSG_LDD_REL_ERR2	"\tloading after relocation has started: interposition \
165			 request (DF_1_INTERPOSE) ignored: %s\n"
166@ MSG_LDD_CPY_SIZDIF	"\trelocation %s sizes differ: %s\n\
167			 \t\t(file %s size=0x%llx; file %s size=0x%llx)\n"
168@ MSG_LDD_CPY_INSDATA	"\t\t%s size used; possible insufficient data copied\n"
169@ MSG_LDD_CPY_DATRUNC	"\t\t%s size used; possible data truncation\n"
170@ MSG_LDD_CPY_PROT	"\trelocation %s symbol: %s: file %s: relocation bound \
171			 to a symbol with STV_PROTECTED visibility\n"
172
173@ MSG_LDD_INIT_FMT_01	"\n   cyclic dependencies detected, group [%d]:\n"
174@ MSG_LDD_INIT_FMT_02	"   init object=%s\n"
175@ MSG_LDD_INIT_FMT_03	"   init object=%s - cyclic group [%d], referenced \
176			 by:\n"
177
178@ MSG_LDD_UNUSED_FMT	"   unused object=%s\n"
179@ MSG_LDD_UNCYC_FMT	"   unused object=%s; member of cyclic group [%d]\n"
180@ MSG_LDD_UNREF_FMT	"   unreferenced object=%s; unused dependency of %s\n"
181
182@ MSG_LDD_REL_CPYDISP	"\tsymbol %s: file %s: copy relocation symbol may \
183			 have been displacement relocated\n"
184
185@ MSG_LDD_REJ_MACH	"  - wrong ELF machine type: %s"
186@ MSG_LDD_REJ_CLASS	"  - wrong ELF class: %s"
187@ MSG_LDD_REJ_DATA	"  - wrong ELF data format: %s"
188@ MSG_LDD_REJ_TYPE	"  - bad ELF type: %s"
189@ MSG_LDD_REJ_BADFLAG	"  - bad ELF flags value: %s"
190@ MSG_LDD_REJ_MISFLAG	"  - mismatched ELF flags value: %s"
191@ MSG_LDD_REJ_VERSION	"  - mismatched ELF/lib version: %s"
192@ MSG_LDD_REJ_HAL	"  - HAL R1 extensions required"
193@ MSG_LDD_REJ_US3	"  - Sun UltraSPARC III extensions required"
194@ MSG_LDD_REJ_STR	"  - %s"
195@ MSG_LDD_REJ_UNKFILE	"  - unknown file type"
196@ MSG_LDD_REJ_HWCAP_1	"  - hardware capability unsupported: %s"
197
198@ MSG_LDD_GEN_HWCAP_1	"%s: warning: hardware capability unsupported: %s\n"
199
200# Error rejection messages.
201
202@ MSG_ERR_REJ_MACH	"%s: wrong ELF machine type: %s"
203@ MSG_ERR_REJ_CLASS	"%s: wrong ELF class: %s"
204@ MSG_ERR_REJ_DATA	"%s: wrong ELF data format: %s"
205@ MSG_ERR_REJ_TYPE	"%s: bad ELF type: %s"
206@ MSG_ERR_REJ_BADFLAG	"%s: bad ELF flags value: %s"
207@ MSG_ERR_REJ_MISFLAG	"%s: mismatched ELF flags value: %s"
208@ MSG_ERR_REJ_VERSION	"%s: mismatched ELF/lib version: %s"
209@ MSG_ERR_REJ_HAL	"%s: HAL R1 extensions required"
210@ MSG_ERR_REJ_US3	"%s: Sun UltraSPARC III extensions required"
211@ MSG_ERR_REJ_STR	"%s: %s"
212@ MSG_ERR_REJ_UNKFILE	"%s: unknown file type"
213@ MSG_ERR_REJ_HWCAP_1	"%s: hardware capability unsupported: %s"
214
215# Error TLS failures
216
217@ MSG_ERR_TLS_NOTLS	"%s: object requires TLS, but TLS failed to initialize"
218
219# Error expand()
220@ MSG_ERR_EXPAND1	"%s: %s: path name too long"
221@ MSG_ERR_EXPAND2	"%s: %s: token %s could not be expanded"
222
223# Error diagnostic standard prefixes.
224
225@ MSG_ERR_WARNING	"warning: "
226@ MSG_ERR_FATAL		"fatal: "
227@ MSG_ERR_ELF		"elf error: "
228
229@ MSG_STR_UNKNOWN	"(unknown)"
230@ MSG_STR_NULL		"(null)"
231
232@ _END_
233
234@ MSG_LDD_FIL_PATH	"\t%s%s%s\n"
235@ MSG_LDD_FIL_EQUIV	"\t%s =>\t %s%s%s\n"
236@ MSG_LDD_FMT_PATH1	"%s"
237@ MSG_LDD_FMT_PATHN	":%s"
238@ MSG_LDD_INIT_FMT_FILE	"\t%s\n"
239@ MSG_LDD_VER_FOUND	"\t%s (%s) =>\t %s\n"
240
241
242
243# The following strings represent reserved words, files, pathnames and symbols.
244# Reference to this strings is via the MSG_ORIG() macro, and thus no message
245# translation is required.
246
247@ MSG_STR_EMPTY		""
248@ MSG_STR_NEGATE	"-"
249@ MSG_STR_ZERO		"0"
250@ MSG_STR_HEX		"0x"
251@ MSG_STR_ELF		"ELF"
252@ MSG_STR_EMSGFOR1	"%s: %s: %s"
253@ MSG_STR_EMSGFOR2	"%s: %s"
254@ MSG_STR_HEXNUM	"0123456789abcdef"
255@ MSG_STR_NL		"\n"
256@ MSG_STR_SLASH		"/"
257@ MSG_STR_DELIMIT	": "
258
259@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
260@ MSG_SUNW_OST_OSLIB	"SUNW_OST_OSLIB"
261
262@ MSG_TKN_PLATFORM	"PLATFORM"
263@ MSG_TKN_ORIGIN	"ORIGIN"
264@ MSG_TKN_ISALIST	"ISALIST"
265@ MSG_TKN_OSNAME	"OSNAME"
266@ MSG_TKN_OSREL		"OSREL"
267@ MSG_TKN_HWCAP		"HWCAP"
268@ MSG_TKN_BINDINGS	"bindings"
269@ MSG_TKN_POSIX		"POSIX"
270
271@ MSG_FMT_PATH		"%s/%s"
272@ MSG_FMT_CWD		"."
273@ MSG_FMT_PARENT	"/.."
274@ MSG_FMT_PROC		"/proc/%d"
275@ MSG_FMT_MSGFILE	"/usr/lib/locale/%s/LC_MESSAGES/%s.mo"
276
277@ MSG_FIL_RTLD		"ld.so.1"
278@ MSG_FIL_LIBC		"libc.so.1"
279
280@ MSG_SYM_ELFERRMSG	"elf_errmsg"
281@ MSG_SYM_ELFERRNO	"elf_errno"
282@ MSG_SYM_ELFPLTTRACE	"elf_plt_trace"
283@ MSG_SYM_ENVIRON	"_environ"
284
285@ MSG_SYM_LAPREINIT	"la_preinit"
286@ MSG_SYM_LAVERSION	"la_version"
287@ MSG_SYM_LAACTIVITY	"la_activity"
288@ MSG_SYM_LAOBJSEARCH	"la_objsearch"
289@ MSG_SYM_LAOBJOPEN	"la_objopen"
290@ MSG_SYM_LAOBJFILTER	"la_objfilter"
291@ MSG_SYM_LAOBJCLOSE	"la_objclose"
292@ MSG_SYM_LADYNDATA	"la_dyndata"
293
294@ MSG_SPECFIL_DYNPLT	"dyn_plt(ld.so.1)"
295
296@ MSG_PTH_LDPROF	"/usr/lib/link_audit/ldprof.so.1"
297@ MSG_PTH_LDPROFSE	"/usr/lib/secure/ldprof.so.1"
298@ MSG_PTH_LIBSYS	"/usr/lib/libsys.so.1"
299@ MSG_PTH_RTLD		"/usr/lib/ld.so.1"
300@ MSG_PTH_LIB		"/lib"
301@ MSG_PTH_USRLIB	"/usr/lib"
302@ MSG_PTH_LIBSE		"/lib/secure"
303@ MSG_PTH_USRLIBSE	"/usr/lib/secure"
304@ MSG_PTH_DEVNULL	"/dev/null"
305@ MSG_PTH_DEVZERO	"/dev/zero"
306@ MSG_PTH_CONFIG	"/var/ld/ld.config"
307@ MSG_PTH_VARTMP	"/var/tmp"
308
309@ MSG_ORG_CONFIG	"$ORIGIN/ld.config.%s"
310
311@ MSG_LD_AUDIT		"AUDIT"
312@ MSG_LD_AUDIT_ARGS	"AUDIT_ARGS"
313@ MSG_LD_BIND_LAZY	"BIND_LAZY"
314@ MSG_LD_BIND_NOW	"BIND_NOW"
315@ MSG_LD_BIND_NOT	"BIND_NOT"
316@ MSG_LD_BINDINGS	"BINDINGS"
317@ MSG_LD_BREADTH	"BREADTH"
318@ MSG_LD_CONCURRENCY	"CONCURRENCY"
319@ MSG_LD_CONFGEN	"CONFGEN"
320@ MSG_LD_CONFIG		"CONFIG"
321@ MSG_LD_DEBUG		"DEBUG"
322@ MSG_LD_DEBUG_OUTPUT	"DEBUG_OUTPUT"
323@ MSG_LD_DEMANGLE	"DEMANGLE"
324@ MSG_LD_FLAGS		"FLAGS"
325@ MSG_LD_INIT		"INIT"
326@ MSG_LD_LIBPATH	"LIBRARY_PATH"
327@ MSG_LD_LOADAVAIL	"LOADAVAIL"
328@ MSG_LD_LOADFLTR	"LOADFLTR"
329@ MSG_LD_NOAUDIT	"NOAUDIT"
330@ MSG_LD_NOAUXFLTR	"NOAUXFLTR"
331@ MSG_LD_NOBAPLT	"NOBAPLT"
332@ MSG_LD_NOCONFIG	"NOCONFIG"
333@ MSG_LD_NODIRCONFIG	"NODIRCONFIG"
334@ MSG_LD_NODIRECT	"NODIRECT"
335@ MSG_LD_NOENVCONFIG	"NOENVCONFIG"
336@ MSG_LD_NOFLTCONFIG	"NOFLTCONFIG"
337@ MSG_LD_NOLAZY		"NOLAZYLOAD"
338@ MSG_LD_NOOBJALTER	"NOOBJALTER"
339@ MSG_LD_NOVERSION	"NOVERSION"
340@ MSG_LD_ORIGIN		"ORIGIN"
341@ MSG_LD_PRELOAD	"PRELOAD"
342@ MSG_LD_PROFILE	"PROFILE"
343@ MSG_LD_PROFILE_OUTPUT	"PROFILE_OUTPUT"
344@ MSG_LD_SIGNAL		"SIGNAL"
345@ MSG_LD_TRACE_OBJS	"TRACE_LOADED_OBJECTS"
346@ MSG_LD_TRACE_OBJS_E	"TRACE_LOADED_OBJECTS_E"
347@ MSG_LD_TRACE_OBJS_A	"TRACE_LOADED_OBJECTS_A"
348@ MSG_LD_TRACE_PTHS	"TRACE_SEARCH_PATHS"
349@ MSG_LD_UNREF		"UNREF"
350@ MSG_LD_UNUSED		"UNUSED"
351@ MSG_LD_VERBOSE	"VERBOSE"
352@ MSG_LD_WARN		"WARN"
353
354@ MSG_LD_FIX_1		"_FIX_1_"
355
356@ MSG_LC_ALL		"ALL="
357@ MSG_LC_MESSAGES	"MESSAGES="
358
359@ MSG_EMG_ENOMEM	"internal: Not enough space"
360
361@ MSG_DBG_FMT_DIAG	"%5.5d: "
362@ MSG_DBG_FMT_FILE	"%s.%5.5d"
363@ MSG_DBG_FMT_THREAD	"%5.5d: %d: "
364
365@ MSG_AUD_PLTENTER	"la_pltenter"
366@ MSG_AUD_SYMBIND	"la_symbind"
367
368@ MSG_REL_BADROFFSET	"<offset lies outside memory image; relocation discarded>"
369