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