xref: /illumos-gate/usr/src/cmd/sgs/rtld/common/rtld.msg (revision 5279807d7e1818eac6f90ac640b7a89cdb37522d)
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 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
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: 0x%llx"
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_NOSYM		"%s: can't find symbol"
74@ MSG_GEN_NODUMP	"%s: DF_1_NODUMP tagged object may not be dldump()'ed"
75@ MSG_GEN_BADHWCAP_1	"hardware capability unsupported: %s"
76@ MSG_GEN_BADSFCAP_1	"software capability unsupported: %s"
77
78
79# Move related messages
80
81@ MSG_MOVE_ERR1		"move entry with illegal size; ignored"
82
83
84# Relocation processing messages (some of these are required to satisfy
85# do_reloc(), which is common code used by cmd/sgs/libld - make sure both
86# message files remain consistent).
87
88@ MSG_REL_NOSYM		"relocation error: file %s: symbol %s: \
89			 referenced symbol not found"
90@ MSG_REL_PLTREF	"relocation error: %s: unidentifiable procedure \
91			 reference: link-map 0x%llx, offset 0x%llx, \
92			 called from 0x%llx"
93@ MSG_REL_UNSUPSZ	"relocation error: %s: file %s: symbol %s: \
94			 offset size (%d bytes) is not supported"
95@ MSG_REL_BADTLS	"relocation error: %s: file %s: symbol %s: \
96			 file contains insufficient TLS support information"
97
98# System call messages.
99
100@ MSG_SYS_BRK		"%s: brk failed: %s"
101@ MSG_SYS_OPEN		"%s: open failed: %s"
102@ MSG_SYS_MMAP		"%s: mmap failed: %s"
103@ MSG_SYS_MPROT		"%s: mprotect failed: %s"
104@ MSG_SYS_MMAPANON	"mmap anon failed: %s"
105
106@ MSG_SEC_OPEN		"%s: open failed: No such file in secure directories"
107@ MSG_SEC_ILLEGAL	"%s: open failed: illegal insecure pathname"
108
109
110# Configuration failures
111
112@ MSG_CONF_APP		"configuration file: %s: is specific to application: %s"
113@ MSG_CONF_DSTAT	"configuration file: %s: original directory %s: stat \
114			 failed: %s"
115@ MSG_CONF_FSTAT	"configuration file: %s: original file %s: stat \
116			 failed: %s"
117@ MSG_CONF_FCMP		"configuration file: %s: original file %s: modified \
118			 since configuration file creation"
119
120# Link Audit diagnostic message formats
121
122@ MSG_AUD_BADVERS	"version mismatch: current %d: required %d"
123@ MSG_AUD_DISABLED	"%s: audit initialization failure: disabled"
124
125
126# Versioning diagnostics.
127
128@ MSG_VER_NFOUND	"%s: version `%s' not found (required by file %s)"
129
130
131# Diagnostics generated under the control of ldd(1).
132
133@ MSG_LDD_VER_FIND	"   find version=%s\n"
134@ MSG_LDD_VER_NFOUND	"\t%s (%s) =>\t (version not found)\n"
135
136@ MSG_LDD_SYM_NFOUND	"\tsymbol not found: %s\t\t(%s)\n"
137
138@ MSG_LDD_PTH_TRYING	"    trying path=%s%s\n"
139@ MSG_LDD_PTH_LIBPATH	"    search path=%s  (LD_LIBRARY_PATH)\n"
140@ MSG_LDD_PTH_LIBPATHC	"    search path=%s  (configuration \
141			 LD_LIBRARY_PATH - %s)\n"
142@ MSG_LDD_PTH_RUNPATH	"    search path=%s  (RUNPATH/RPATH from file %s)\n"
143@ MSG_LDD_PTH_BGNDFL	"    search path="
144@ MSG_LDD_PTH_ENDDFL	"  (default)\n"
145@ MSG_LDD_PTH_ENDDFLC	"  (configuration default - %s)\n"
146@ MSG_LDD_PTH_IGNORE	"    ignore path=%s  (insecure directory name)\n"
147
148@ MSG_LDD_FIL_FILTER	"\n   object=%s; filter for %s\n"
149@ MSG_LDD_FIL_FIND	"\n   find object=%s; required by %s\n"
150@ MSG_LDD_FIL_NFOUND	"\t%s =>\t (file not found)\n"
151@ MSG_LDD_FIL_ILLEGAL	"\t%s =>\t (illegal insecure pathname)\n"
152@ MSG_LDD_FIL_ALTER	"  (alternate)"
153
154@ MSG_LDD_HWCAP_NFOUND	"\t%s =>\t (no hardware capability objects found)\n"
155
156@ MSG_LDD_SEC_NFOUND	"\t%s =>\t (file not found in secure directories)\n"
157
158@ MSG_LDD_REL_ERR1	"\trelocation %s offset invalid: %s: offset=0x%llx \
159			 lies outside memory image; relocation discarded\n"
160@ MSG_LDD_REL_ERR2	"\tloading after relocation has started: interposition \
161			 request (DF_1_INTERPOSE) ignored: %s\n"
162@ MSG_LDD_MOVE_ERR	"\tmove %lld offset invalid: %s: offset=0x%llx \
163			 lies outside memory image; move discarded\n"
164@ MSG_LDD_CPY_SIZDIF	"\trelocation %s sizes differ: %s\n\
165			 \t\t(file %s size=0x%llx; file %s size=0x%llx)\n"
166@ MSG_LDD_CPY_INSDATA	"\t\t%s size used; possible insufficient data copied\n"
167@ MSG_LDD_CPY_DATRUNC	"\t\t%s size used; possible data truncation\n"
168@ MSG_LDD_CPY_PROT	"\trelocation %s symbol: %s: file %s: relocation bound \
169			 to a symbol with STV_PROTECTED visibility\n"
170
171@ MSG_LDD_INIT_FMT_01	"\n   cyclic dependencies detected, group [%d]:\n"
172@ MSG_LDD_INIT_FMT_02	"   init object=%s\n"
173@ MSG_LDD_INIT_FMT_03	"   init object=%s - cyclic group [%d], referenced \
174			 by:\n"
175
176@ MSG_LDD_UNUSED_FMT	"   unused object=%s\n"
177@ MSG_LDD_UNCYC_FMT	"   unused object=%s; member of cyclic group [%d]\n"
178@ MSG_LDD_UNREF_FMT	"   unreferenced object=%s; unused dependency of %s\n"
179
180@ MSG_LDD_REL_CPYDISP	"\tsymbol %s: file %s: copy relocation symbol may \
181			 have been displacement relocated\n"
182
183@ MSG_LDD_REJ_MACH	"  - wrong ELF machine type: %s"
184@ MSG_LDD_REJ_CLASS	"  - wrong ELF class: %s"
185@ MSG_LDD_REJ_DATA	"  - wrong ELF data format: %s"
186@ MSG_LDD_REJ_TYPE	"  - bad ELF type: %s"
187@ MSG_LDD_REJ_BADFLAG	"  - bad ELF flags value: %s"
188@ MSG_LDD_REJ_MISFLAG	"  - mismatched ELF flags value: %s"
189@ MSG_LDD_REJ_VERSION	"  - mismatched ELF/lib version: %s"
190@ MSG_LDD_REJ_HAL	"  - HAL R1 extensions required"
191@ MSG_LDD_REJ_US3	"  - Sun UltraSPARC III extensions required"
192@ MSG_LDD_REJ_STR	"  - %s"
193@ MSG_LDD_REJ_UNKFILE	"  - unknown file type"
194@ MSG_LDD_REJ_HWCAP_1	"  - hardware capability unsupported: %s"
195@ MSG_LDD_REJ_SFCAP_1	"  - software capability unsupported: %s"
196
197@ MSG_LDD_GEN_HWCAP_1	"%s: warning: hardware capability unsupported: %s\n"
198@ MSG_LDD_GEN_SFCAP_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@ MSG_ERR_REJ_SFCAP_1	"%s: software capability unsupported: %s"
215
216# Error TLS failures
217
218@ MSG_TLS_NOSUPPORT	"%s: TLS requirement failure : TLS support is \
219			 unavailable"
220@ MSG_TLS_STATBASE	"%s: static TLS failure: object is not part of primary \
221			 link-map list"
222@ MSG_TLS_STATSIZE	"%s: static TLS failure: object loaded after process \
223			 initialization: size (%#llx) exceeds available backup \
224			 reservation (%#llx)"
225@ MSG_TLS_STATINIT	"%s: static TLS failure: object loaded after process \
226			 initialization: can not accommodate initialized data"
227
228# Error expand()
229
230@ MSG_ERR_EXPAND1	"%s: %s: path name too long"
231@ MSG_ERR_EXPAND2	"%s: %s: token %s could not be expanded"
232
233# Error diagnostic standard prefixes.
234
235@ MSG_ERR_WARNING	"warning: "
236@ MSG_ERR_FATAL		"fatal: "
237@ MSG_ERR_ELF		"elf error: "
238
239@ MSG_STR_UNKNOWN	"(unknown)"
240@ MSG_STR_NULL		"(null)"
241
242# Unused errors - used by ldd.
243
244@ MSG_USD_LDLIBPATH	"   unused search path=%s  (LD_LIBRARY_PATH)\n"
245@ MSG_DUP_LDLIBPATH	"   unused (duplicate) search path=%s  \
246			 (LD_LIBRARY_PATH)\n"
247@ MSG_USD_LDLIBPATHC	"   unused search path=%s  (configuration \
248			 LD_LIBRARY_PATH - %s)\n"
249@ MSG_DUP_LDLIBPATHC	"   unused (duplicate) search path=%s  (configuration \
250			 LD_LIBRARY_PATH - %s)\n"
251@ MSG_USD_RUNPATH	"   unused search path=%s  (RUNPATH/RPATH from \
252			 file %s)\n"
253
254@ _END_
255
256@ MSG_LDD_FIL_PATH	"\t%s%s%s\n"
257@ MSG_LDD_FIL_EQUIV	"\t%s =>\t %s%s%s\n"
258@ MSG_LDD_FMT_PATH1	"%s"
259@ MSG_LDD_FMT_PATHN	":%s"
260@ MSG_LDD_INIT_FMT_FILE	"\t%s\n"
261@ MSG_LDD_VER_FOUND	"\t%s (%s) =>\t %s\n"
262
263
264# The following strings represent reserved words, files, pathnames and symbols.
265# Reference to this strings is via the MSG_ORIG() macro, and thus no message
266# translation is required.
267
268@ MSG_STR_EMPTY		""
269@ MSG_STR_NEGATE	"-"
270@ MSG_STR_ZERO		"0"
271@ MSG_STR_HEX		"0x"
272@ MSG_STR_ELF		"ELF"
273@ MSG_STR_EMSGFOR1	"%s: %s: %s"
274@ MSG_STR_EMSGFOR2	"%s: %s"
275@ MSG_STR_HEXNUM	"0123456789abcdef"
276@ MSG_STR_NL		"\n"
277@ MSG_STR_SLASH		"/"
278@ MSG_STR_DELIMIT	": "
279
280@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
281@ MSG_SUNW_OST_OSLIB	"SUNW_OST_OSLIB"
282
283@ MSG_TKN_PLATFORM	"PLATFORM"
284@ MSG_TKN_ORIGIN	"ORIGIN"
285@ MSG_TKN_ISALIST	"ISALIST"
286@ MSG_TKN_OSNAME	"OSNAME"
287@ MSG_TKN_OSREL		"OSREL"
288@ MSG_TKN_HWCAP		"HWCAP"
289@ MSG_TKN_BINDINGS	"bindings"
290@ MSG_TKN_POSIX		"POSIX"
291@ MSG_TKN_DOTDOT	".."
292
293@ MSG_FMT_CWD		"."
294@ MSG_FMT_MSGFILE	"/usr/lib/locale/%s/LC_MESSAGES/%s.mo"
295
296@ MSG_FIL_RTLD		"ld.so.1"
297@ MSG_FIL_LIBC		"libc.so.1"
298
299@ MSG_SYM_ELFERRMSG	"elf_errmsg"
300@ MSG_SYM_ELFERRNO	"elf_errno"
301@ MSG_SYM_ELFPLTTRACE	"elf_plt_trace"
302@ MSG_SYM_ENVIRON	"_environ"
303
304@ MSG_SYM_LAPREINIT	"la_preinit"
305@ MSG_SYM_LAVERSION	"la_version"
306@ MSG_SYM_LAACTIVITY	"la_activity"
307@ MSG_SYM_LAOBJSEARCH	"la_objsearch"
308@ MSG_SYM_LAOBJOPEN	"la_objopen"
309@ MSG_SYM_LAOBJFILTER	"la_objfilter"
310@ MSG_SYM_LAOBJCLOSE	"la_objclose"
311@ MSG_SYM_LADYNDATA	"la_dyndata"
312
313@ MSG_SYM_START		"_START_"
314
315@ MSG_SPECFIL_DYNPLT	"dyn_plt(ld.so.1)"
316
317@ MSG_PTH_LDPROF	"/usr/lib/link_audit/ldprof.so.1"
318@ MSG_PTH_LDPROFSE	"/usr/lib/secure/ldprof.so.1"
319@ MSG_PTH_LIBSYS	"/usr/lib/libsys.so.1"
320@ MSG_PTH_RTLD		"/usr/lib/ld.so.1"
321@ MSG_PTH_LIB		"/lib"
322@ MSG_PTH_USRLIB	"/usr/lib"
323@ MSG_PTH_LIBSE		"/lib/secure"
324@ MSG_PTH_USRLIBSE	"/usr/lib/secure"
325@ MSG_PTH_DEVNULL	"/dev/null"
326@ MSG_PTH_CONFIG	"/var/ld/ld.config"
327@ MSG_PTH_VARTMP	"/var/tmp"
328
329@ MSG_ORG_CONFIG	"$ORIGIN/ld.config.%s"
330
331@ MSG_LD_AUDIT		"AUDIT"
332@ MSG_LD_AUDIT_ARGS	"AUDIT_ARGS"
333@ MSG_LD_BIND_LAZY	"BIND_LAZY"
334@ MSG_LD_BIND_NOW	"BIND_NOW"
335@ MSG_LD_BIND_NOT	"BIND_NOT"
336@ MSG_LD_BINDINGS	"BINDINGS"
337@ MSG_LD_CONFGEN	"CONFGEN"
338@ MSG_LD_CONFIG		"CONFIG"
339@ MSG_LD_DEBUG		"DEBUG"
340@ MSG_LD_DEBUG_OUTPUT	"DEBUG_OUTPUT"
341@ MSG_LD_DEMANGLE	"DEMANGLE"
342@ MSG_LD_FLAGS		"FLAGS"
343@ MSG_LD_INIT		"INIT"
344@ MSG_LD_LIBPATH	"LIBRARY_PATH"
345@ MSG_LD_LOADAVAIL	"LOADAVAIL"
346@ MSG_LD_LOADFLTR	"LOADFLTR"
347@ MSG_LD_NOAUDIT	"NOAUDIT"
348@ MSG_LD_NOAUXFLTR	"NOAUXFLTR"
349@ MSG_LD_NOBAPLT	"NOBAPLT"
350@ MSG_LD_NOCONFIG	"NOCONFIG"
351@ MSG_LD_NODIRCONFIG	"NODIRCONFIG"
352@ MSG_LD_NODIRECT	"NODIRECT"
353@ MSG_LD_NOENVCONFIG	"NOENVCONFIG"
354@ MSG_LD_NOFLTCONFIG	"NOFLTCONFIG"
355@ MSG_LD_NOLAZY		"NOLAZYLOAD"
356@ MSG_LD_NOOBJALTER	"NOOBJALTER"
357@ MSG_LD_NOPAREXT	"NOPAREXT"
358@ MSG_LD_NOUNRESWEAK	"NOUNRESWEAK"
359@ MSG_LD_NOVERSION	"NOVERSION"
360@ MSG_LD_PRELOAD	"PRELOAD"
361@ MSG_LD_PROFILE	"PROFILE"
362@ MSG_LD_PROFILE_OUTPUT	"PROFILE_OUTPUT"
363@ MSG_LD_SIGNAL		"SIGNAL"
364@ MSG_LD_TRACE_OBJS	"TRACE_LOADED_OBJECTS"
365@ MSG_LD_TRACE_OBJS_E	"TRACE_LOADED_OBJECTS_E"
366@ MSG_LD_TRACE_OBJS_A	"TRACE_LOADED_OBJECTS_A"
367@ MSG_LD_TRACE_PTHS	"TRACE_SEARCH_PATHS"
368@ MSG_LD_UNREF		"UNREF"
369@ MSG_LD_UNUSED		"UNUSED"
370@ MSG_LD_VERBOSE	"VERBOSE"
371@ MSG_LD_WARN		"WARN"
372
373@ MSG_LD_BRAND_PREFIX	"BRAND_"
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_RESET		"---------\n"
382@ MSG_DBG_UNDEF		"debug: "
383@ MSG_DBG_LMID		"%s: "
384@ MSG_DBG_THREAD	"%d: "
385@ MSG_DBG_FILE		"%s.%5.5d"
386
387@ MSG_LMID_BASE		"BASE"
388@ MSG_LMID_LDSO		"LDSO"
389@ MSG_LMID_ALT		"ALT"
390
391@ MSG_LMID_FMT		"%s%d"
392@ MSG_LMID_MAXED	"ALTMAXEDOUT"
393
394@ MSG_AUD_PLTENTER	"la_pltenter"
395@ MSG_AUD_SYMBIND	"la_symbind"
396