From 172cf1c3ed7e3e55ffa541cc4dd89a5533e91277 Mon Sep 17 00:00:00 2001 From: anon Date: Tue, 15 Aug 2023 21:15:17 +0200 Subject: [PATCH] +all possible ld messages --- docs/possible_messages.list | 314 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 docs/possible_messages.list diff --git a/docs/possible_messages.list b/docs/possible_messages.list new file mode 100644 index 0000000..106c91e --- /dev/null +++ b/docs/possible_messages.list @@ -0,0 +1,314 @@ +(_("Warning: .drectve `%s' unrecognized\n"), param); +(_("Warning: corrupt .drectve at end of def file\n")); +("%s:%d: Warning: path components stripped from %s, '%s'\n", +("%P: %s:%d: %s\n", +(_("%X%P: bfd_hash_table_init of cref table failed: %E\n")); +(_("%X%P: cref_hash_lookup failed: %E\n")); +(_("%X%P: cref alloc failed: %E\n")); +("%P: symbol `%T' missing from main hash table\n", +(_("%B%F: could not read symbols: %E\n"), abfd); +(_("%P: symbol `%T' missing from main hash table\n"), +(_("%B%F: could not read symbols: %E\n"), abfd); +(_("%B%F: could not read relocs: %E\n"), abfd); +(_("%B%F: could not read relocs: %E\n"), abfd); +(_("%X%C: prohibited cross reference from %s to `%T' in %s\n"), +(_("%P%X: Different relocs used in set %s\n"), +(_("%P%X: Different object file formats composing set %s\n"), +(_("%P%X: %s does not support reloc %s for set %s\n"), +(_("%P%X: Special section %s does not support reloc %s for set %s\n"), +(_("%P%X: %s does not support reloc %s for set %s\n"), +(_("%P%X: Unsupported size %d for set %s\n"), +(_("%P: unrecognised emulation mode: %s\n"), target); +(_("Supported emulations: ")); +("%F\n"); +(_("%P%F: bfd_hash_allocate failed creating symbol %s\n"), name); +(_("%P%F: bfd_hash_lookup failed creating symbol %s\n"), name); +(_("%P: warning: address of `%s' " +(_("%F%S %% by zero\n"), tree->binary.rhs); +(_("%F%S / by zero\n"), tree->binary.rhs); +(_("%P%F: bfd_link_hash_lookup failed: %E\n")); +(_("%X%S: unresolvable symbol `%s'" +(_("%F%S: undefined symbol `%s'" +(_("%F%S: undefined section `%s'" +(_("%F%S: undefined section `%s'" +(_("%F%S: undefined section `%s'" +(_("%F%S: undefined MEMORY region `%s'" +(_("%F%S: undefined MEMORY region `%s'" +(_("%F%S: unknown constant `%s' referenced in expression\n"), +("%X%P: %s\n", tree->assert_s.message); +(_("%F%S can not PROVIDE assignment to" +(_("%F%S invalid assignment to" +(_("%F%S assignment to location counter" +(_("%F%S cannot move location counter backwards" +(_("%P%F:%s: hash creation failed\n"), +(_("%F%S: nonconstant expression for %s\n"), +(_("%F%S: nonconstant expression for %s\n"), +(_("%F%S: nonconstant expression for %s\n"), +(_("%P%F: can not create hash table: %E\n")); +(_("%F%P: invalid BFD target `%s'\n"), entry->target); +(_("%P: skipping incompatible %s " +(_("%F%P: attempted static link of dynamic object `%s'\n"), +(_("%P: skipping incompatible %s " +(_("%P: cannot find %s (%s): %E\n"), +(_("%P: cannot find %s: %E\n"), entry->local_sym_name); +(_("%P: cannot find %s inside %s\n"), +(_("%P: cannot find %s\n"), entry->local_sym_name); +(_("%P%F: cannot open linker script file %s: %E\n"), name); +(_("%P%F: cannot represent machine `%s'\n"), string); +(_("%P%F: unrecognised keyword in MRI style script '%s'\n"),$1); +(_("\%X%P:%S: unknown phdr type `%s' (try integer literal)\n"), +(_("%X%P:%S: PHDRS syntax error at `%s'\n"), +(_("%P:%s: file format not recognized; treating as linker script\n"), +("%P%F:%S: %s in %s\n", NULL, arg, error_names[error_index - 1]); +("%P%F:%S: %s\n", NULL, arg); +(_("%P%F: can not create hash table: %E\n")); +(_("%P:%S: warning: redeclaration of memory region `%s'\n"), +(_("%P:%S: warning: memory region `%s' not declared\n"), +(_("%F%P:%S: error: alias for default memory region\n"), NULL); +(_("%P%F: Illegal use of `%s' section\n"), DISCARD_SECTION_NAME); +(_("%P%F: output format %s cannot represent section" +(_("%B: file not recognized: %E\n"), entry->the_bfd); +(_("%B: matching formats:"), entry->the_bfd); +(" %s", *p); +("%F\n"); +(_("%F%B: file not recognized: %E\n"), entry->the_bfd); +(_("%F%B: member %B in archive is not an object\n"), +(_("%F%B: error adding symbols: %E\n"), member); +(_("%F%B: error adding symbols: %E\n"), entry->the_bfd); +(_("%P: warning: could not find any targets" +(_("%P%F: target %s not found\n"), output_target); +(_("%P%F: cannot open output file %s: %E\n"), name); +(_("%P%F:%s: can not make object file: %E\n"), name); +(_("%P%F:%s: can not set architecture: %E\n"), name); +(_("%P%F: can not create hash table: %E\n")); +(_("%P: warning: %s contains output sections;" +("%F"); +(_("%P%F: bfd_link_hash_lookup failed: %E\n")); +(_("%P%X: required symbol `%s' not defined\n"), ptr->name); +(_("%F%P: %s not found for insert\n"), i->where); +(_("%X%P: section %s VMA wraps around address space\n"), +(_("%X%P: section %s LMA wraps around address space\n"), +(_("%X%P: section %s LMA [%V,%V]" +(_("%X%P: section %s VMA [%V,%V]" +(_("%X%P: region `%s' overflowed by %ld bytes\n"), +(_("%X%P: address 0x%v of %B section `%s'" +(_("%X%P: %B section `%s' will not fit in region `%s'\n"), +(_("%F%P: invalid data statement\n")); +(_("%F%P: invalid reloc statement\n")); +(_("%P%F: gc-sections requires either an entry or " +(_("%P%F:%s: can't set start address\n"), entry_symbol.name); +(_("%P%F: can't set start address\n")); +(_("%P: warning: cannot find entry symbol %s;" +(_("%P%F: can't set start address\n")); +(_("%P: warning: cannot find entry symbol %s;" +(_("%P%F: Relocatable linking with relocations from" +(_("%P%X: %s architecture of input file `%B'" +(_("%P%X: failed to merge target specific data" +(_("%P%F: Could not define common symbol `%T': %E\n"), +("%X%P: error: unplaced orphan section `%A' from `%B'.\n", +("%P: warning: orphan section `%A' from `%B' being " +(_("%P%F: invalid character %c (%d) in flags\n"), +(_("%F%P:%S: error: align with input and explicit align specified\n"), +(_("%P%F: Failed to create hash table\n")); +(_("%P%F: %s: plugin reported error after all symbols read\n"), +(_("%P%F: multiple STARTUP files\n")); +(_("%X%P:%S: section has both a load address and a load region\n"), +(_("%X%P:%S: PHDRS and FILEHDR are not supported" +(_("%F%P: no sections assigned to phdrs\n")); +(_("%F%P: bfd_record_phdr failed: %E\n")); +(_("%X%P: section `%s' assigned to non-existent phdr `%s'\n"), +(_("%X%P: unknown language `%s' in version information\n"), +(_("%X%P: anonymous version tag cannot be combined" +(_("%X%P: duplicate version tag `%s'\n"), name); +(_("%X%P: duplicate expression `%s'" +(_("%X%P: duplicate expression `%s'" +(_("%X%P: duplicate expression `%s'" +(_("%X%P: duplicate expression `%s'" +(_("%X%P: unable to find version dependency `%s'\n"), name); +(_("%X%P: unable to read .exports section contents\n"), sec); +(_("%F%P: invalid origin for memory region %s\n"), +(_("%F%P: invalid length for memory region %s\n"), +(_("%X%P: unknown feature `%s'\n"), p); +("%F:includes nested too deeply\n"); +("%F: macros nested too deeply\n"); +("%F%P: read in flex scanner failed\n"); +( "%F%P: EOF in comment\n"); +("%F%s: file not recognized: %E\n", ldlex_filename ()); +("%P:%S: ignoring invalid character `%s'%s\n", NULL, what, where); +(_("%X%P: can't set BFD default target to `%s': %E\n"), TARGET); +(_("%P%F: no input files\n")); +(_("%P%F: cannot open map file %s: %E\n"), +(_("%P: link errors found, deleting executable `%s'\n"), +(_("%F%B: final close failed: %E\n"), link_info.output_bfd); +(_("%P%F: unable to open for source of copy `%s'\n"), +(_("%P%F: unable to open for destination of copy `%s'\n"), +(_("%P: Error writing file `%s'\n"), dst_name); +(_("%P: Error closing file `%s'\n"), dst_name); +(_("%P%F: missing argument to -m\n")); +(_("%P%F: bfd_hash_table_init failed: %E\n")); +(_("%P%F: bfd_hash_lookup failed: %E\n")); +(_("%P%F: bfd_hash_table_init failed: %E\n")); +(_("%P%F: bfd_hash_lookup failed: %E\n")); +(_("%P%F: bfd_hash_table_init failed: %E\n")); +(_("%P%F: bfd_hash_lookup failed: %E\n")); +(_("%X%P: error: duplicate retain-symbols-file\n")); +("%X%P: %s: %E\n", filename); +(_("%P%F: bfd_hash_table_init failed: %E\n")); +(_("%P%F: bfd_hash_lookup for insertion failed: %E\n")); +(_("%P: `-retain-symbols-file' overrides `-s' and `-S'\n")); +(_("%X%C: multiple definition of `%T'\n"), +(_("%D: first defined here\n"), obfd, osec, oval); +(_("%P: Disabling relaxation: it will not work with multiple definitions\n")); +(_("%B: warning: definition of `%T' overriding common\n"), +(_("%B: warning: common is here\n"), obfd); +(_("%B: warning: common of `%T' overridden by definition\n"), +(_("%B: warning: defined here\n"), obfd); +(_("%B: warning: common of `%T' overridden by larger common\n"), +(_("%B: warning: larger common is here\n"), obfd); +(_("%B: warning: common of `%T' overriding smaller common\n"), +(_("%B: warning: smaller common is here\n"), obfd); +(_("%B: warning: multiple common of `%T'\n"), nbfd, name); +(_("%B: warning: previous common is here\n"), obfd); +(_("%P: warning: global constructor %s used\n"), +(_("%P: warning: global constructor %s used\n"), name); +(_("%P%F: BFD backend error: BFD_RELOC_CTOR unsupported\n")); +(_("%P%F: bfd_link_hash_lookup failed: %E\n")); +(_("%B%F: could not read symbols: %E\n"), abfd); +("%C: %s%s\n", abfd, section, address, _("warning: "), warning); +("%P: %s%s\n", _("warning: "), warning); +("%B: %s%s\n", abfd, _("warning: "), warning); +("%B: %s%s\n", abfd, _("warning: "), warning); +(_("%B%F: could not read relocs: %E\n"), abfd); +(_("%B%F: could not read relocs: %E\n"), abfd); +("%C: %s%s\n", abfd, sec, q->address, _("warning: "), +(_("%X%C: undefined reference to `%T'\n"), +(_("%C: warning: undefined reference to `%T'\n"), +(_("%X%D: more undefined references to `%T' follow\n"), +(_("%D: warning: more undefined references to `%T' follow\n"), +("%X"); +(_("%X%B: undefined reference to `%T'\n"), +(_("%B: warning: undefined reference to `%T'\n"), +(_("%X%B: more undefined references to `%T' follow\n"), +(_("%B: warning: more undefined references to `%T' follow\n"), +("%X"); +("%X%H:", abfd, section, address); +(_(" additional relocation overflows omitted from the output\n")); +(_(" relocation truncated to fit: " +(_(" relocation truncated to fit: " +(_(" relocation truncated to fit: %s against `%T'"), +("+%v", addend); +("\n"); +(_("%X%H: dangerous relocation: %s\n"), +(_("%X%H: reloc refers to symbol `%T' which is not being output\n"), +("%B: reference to %s\n", abfd, name); +("%B: definition of %s\n", abfd, name); +(_("%B%F: could not read symbols: %E\n"), abfd); +(_("%F%P: internal error %s %d\n"), file, line); +(_("%P: internal error: aborting at %s:%d in %s\n"), +(_("%P: internal error: aborting at %s:%d\n"), +(_("%P%F: please report this bug\n")); +(_("%P%F: bfd_new_link_order failed\n")); +(_("%P%F: bfd_new_link_order failed\n")); +(_("%P: %s: missing argument\n"), argv[last_optind]); +(_("%P: %s: missing argument\n"), argv[last_optind]); +(_("%P: unrecognized option '%s'\n"), argv[last_optind]); +(_("%P: unrecognized option '%s'\n"), argv[last_optind]); +(_("%P%F: use the --help option for usage information\n")); +(_("%P%F: use the --help option for usage information\n")); +(_("%P%F: unrecognized -a option `%s'\n"), optarg); +(_("%P%F: unrecognized -a option `%s'\n"), optarg); +(_("%P%F: unrecognized -assert option `%s'\n"), optarg); +(_("%P%F: unrecognized -assert option `%s'\n"), optarg); +(_("%F%P: unknown demangling style `%s'\n"), +(_("%F%P: unknown demangling style `%s'\n"), +(_("%P%F: invalid number `%s'\n"), optarg); +(_("%P%F: invalid number `%s'\n"), optarg); +(_("%P%F: bad --unresolved-symbols option: %s\n"), optarg); +(_("%P%F: bad --unresolved-symbols option: %s\n"), optarg); +(_("%P%F: bad -plugin-opt option\n")); +(_("%P%F: bad -plugin-opt option\n")); +(_("%P%F: unrecognised option: %s\n"), argv[optind]); +(_("%P%F: unrecognised option: %s\n"), argv[optind]); +(_("%P%F: -r and %s may not be used together\n"), +(_("%P%F: -r and %s may not be used together\n"), +(_("%P%F: -r and -shared may not be used together\n")); +(_("%P%F: -r and -shared may not be used together\n")); +(_("%P%F: -shared not supported\n")); +(_("%P%F: -shared not supported\n")); +(_("%P%F: -r and -pie may not be used together\n")); +(_("%P%F: -r and -pie may not be used together\n")); +(_("%P%F: -pie not supported\n")); +(_("%P%F: -pie not supported\n")); +(_("%P: SONAME must not be empty string; keeping previous one\n")); +(_("%P: SONAME must not be empty string; keeping previous one\n")); +(_("%P%F: invalid common section sorting option: %s\n"), +(_("%P%F: invalid common section sorting option: %s\n"), +(_("%P%F: invalid section sorting option: %s\n"), +(_("%P%F: invalid section sorting option: %s\n"), +(_("%P%F: invalid argument to option" +(_("%P%F: invalid argument to option" +(_("%P%F: missing argument(s) to option" +(_("%P%F: missing argument(s) to option" +(_("%P%F: -r and %s may not be used together\n"), +(_("%P%F: -r and %s may not be used together\n"), +(_("%P%F: invalid number `%s'\n"), optarg); +(_("%P%F: invalid number `%s'\n"), optarg); +(_("%P%F: group ended before it began (--help for usage)\n")); +(_("%P%F: group ended before it began (--help for usage)\n")); +(_("%P%X: --hash-size needs a numeric argument\n")); +(_("%P%X: --hash-size needs a numeric argument\n")); +(_("%P%F: no state pushed before popping\n")); +(_("%P%F: no state pushed before popping\n")); +(_("%P%F: invalid argument to option" +(_("%P%F: invalid argument to option" +(_("%P: SONAME must not be empty string; ignored\n")); +(_("%P: SONAME must not be empty string; ignored\n")); +(_("%P%F: -F may not be used without -shared\n")); +(_("%P%F: -F may not be used without -shared\n")); +(_("%P%F: -f may not be used without -shared\n")); +(_("%P%F: -f may not be used without -shared\n")); +(_("%P%F: invalid hex number `%s'\n"), valstr); +(_("%P%F: invalid hex number `%s'\n"), valstr); +(_("%P%F: unknown format type %s\n"), name); +(_("%P%X: Unsupported PEI architecture: %s\n"), target); +(_("%B%F: could not read symbols: %E\n"), b); +(_("%P%X: Cannot export %s: invalid export name\n"), +(_("%P%X: Error, duplicate EXPORT with ordinals: %s (%d vs %d)\n"), +(_("%P: Warning, duplicate EXPORT: %s\n"), +(_("%P%X: Cannot export %s: symbol not defined\n"), +(_("%P%X: Cannot export %s: symbol wrong type (%d vs %d)\n"), +(_("%P%X: Cannot export %s: symbol not found\n"), +("%X%P: can not create BFD: %E\n"); +("%X%P: can not create .edata section: %E\n"); +("%X%P: can not create .reloc section: %E\n"); +(_("%P%X: Error: ordinal used twice: %d (%s vs %s)\n"), +(_("%P%X: Error: export ordinal too large: %d\n"), +("DJ: zero vma section reloc detected: `%s' #%d f=%d\n", +(_("%B%F: could not read symbols: %E\n"), b); +(_("%P%X: Error: %d-bit reloc in dll\n"), +(_("%P: Can't open output def file %s\n"), +(_("%P: Error closing file `%s'\n"), pe_out_def_filename); +(_("%P%X%C: variable '%T' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.\n"), +(_("%P%X: Can't open .lib file: %s\n"), impfilename); +(_("%P%X: bfd_openr %s: %E\n"), ibfd->filename); +(_("%P%X: %s(%s): can't find member in non-archive file"), +(_("%P%X: %s(%s): can't find member in archive"), +("%P%X: bfd_set_archive_head: %E\n"); +("%P%X: bfd_close %s: %E\n", impfilename); +("%P%X: addsym %s: %E\n", name); +("%P%X: open %s: %E\n", filename); +("%P%X: %s: this doesn't appear to be a DLL\n", filename); +(_("%P%X: Error: can't use long section names on this arch\n")); +(_("%P%F: %s: error loading plugin: %s\n"), plugin, dlerror ()); +(_("%P: %s: duplicated plugin\n"), plugin); +(_("could not create dummy IR bfd: %F%E\n")); +(_("%P%F: %s: non-ELF symbol in ELF BFD!\n"), asym->name); +(_("%P%F: unknown ELF symbol visibility: %d!\n"), +(_("%P%F: unsupported input file size: %s (%ld bytes)\n"), +("%P%F: %s: plugin symbol table corrupt (sym type %d)\n", +(_("%P: %B: symbol `%s' " +(_("%P%F: %s: error loading plugin: %s\n"), +(_("%P%F: %s: plugin error: %d\n"), curplug->name, rv); +(_("%P%F: plugin_strdup failed to allocate memory: %s\n"), +(_("%P%F: plugin failed to allocate memory for input: %s\n"), +(_("%P%F: %s: plugin reported error claiming file\n"),