Lines Matching refs:pr_warn

254 		pr_warn("failed to create '%s': %d\n", filename, err);  in bpf_linker__new()
533 pr_warn("failed to open file '%s': %s\n", filename, errstr(err)); in bpf_linker__add_file()
579 pr_warn("failed to create memfd '%s': %s\n", filename, errstr(ret)); in bpf_linker__add_buf()
588 pr_warn("failed to write '%s': %s\n", filename, errstr(ret)); in bpf_linker__add_buf()
703 pr_warn("unknown byte order of ELF file %s\n", obj->filename); in linker_load_obj_file()
713 pr_warn("byte order mismatch with ELF file %s\n", obj->filename); in linker_load_obj_file()
774 pr_warn("multiple SYMTAB sections found, not supported\n"); in linker_load_obj_file()
787 pr_warn("failed to parse .BTF from %s: %s\n", in linker_load_obj_file()
798 pr_warn("failed to parse .BTF.ext from '%s': %s\n", in linker_load_obj_file()
815 pr_warn("unrecognized section #%zu (%s) in %s\n", in linker_load_obj_file()
836 pr_warn("ELF is missing SYMTAB section in %s\n", obj->filename); in linker_sanity_check_elf()
840 pr_warn("ELF is missing section headers STRTAB section in %s\n", obj->filename); in linker_sanity_check_elf()
848 pr_warn("ELF section #%zu has empty name in %s\n", sec->sec_idx, obj->filename); in linker_sanity_check_elf()
856 pr_warn("ELF section #%zu alignment %llu is non pow-of-2 alignment in %s\n", in linker_sanity_check_elf()
862 pr_warn("ELF section #%zu has inconsistent alignment addr=%llu != d=%llu in %s\n", in linker_sanity_check_elf()
869 pr_warn("ELF section #%zu has inconsistent section size sh=%llu != d=%llu in %s\n", in linker_sanity_check_elf()
886 pr_warn("ELF section #%zu has unexpected size alignment %llu in %s\n", in linker_sanity_check_elf()
903 pr_warn("ELF section #%zu (%s) has unrecognized type %zu in %s\n", in linker_sanity_check_elf()
924 pr_warn("ELF SYMTAB section #%zu points to missing STRTAB section #%zu in %s\n", in linker_sanity_check_elf_symtab()
930 pr_warn("ELF SYMTAB section #%zu points to invalid STRTAB section #%zu in %s\n", in linker_sanity_check_elf_symtab()
946 pr_warn("ELF sym #0 is invalid in %s\n", obj->filename); in linker_sanity_check_elf_symtab()
952 pr_warn("ELF sym #%d in section #%zu has unsupported symbol binding %d\n", in linker_sanity_check_elf_symtab()
957 pr_warn("ELF sym #%d in section #%zu has unsupported symbol visibility %d\n", in linker_sanity_check_elf_symtab()
964 pr_warn("ELF sym #%d is invalid extern symbol in %s\n", in linker_sanity_check_elf_symtab()
972 pr_warn("ELF sym #%d in section #%zu points to missing section #%zu in %s\n", in linker_sanity_check_elf_symtab()
999 pr_warn("ELF relo section #%zu points to invalid SYMTAB section #%zu in %s\n", in linker_sanity_check_elf_relos()
1006 pr_warn("ELF relo section #%zu points to missing section #%zu in %s\n", in linker_sanity_check_elf_relos()
1015 pr_warn("ELF relo section #%zu name has invalid name in %s\n", in linker_sanity_check_elf_relos()
1026 pr_warn("ELF relo section #%zu points to invalid section #%zu in %s\n", in linker_sanity_check_elf_relos()
1041 pr_warn("ELF relo #%d in section #%zu has unexpected type %zu in %s\n", in linker_sanity_check_elf_relos()
1047 pr_warn("ELF relo #%d in section #%zu points to invalid symbol #%zu in %s\n", in linker_sanity_check_elf_relos()
1054 pr_warn("ELF relo #%d in section #%zu points to missing symbol #%zu in %s\n", in linker_sanity_check_elf_relos()
1218 pr_warn("sec %s types mismatch\n", dst->sec_name); in secs_match()
1222 pr_warn("sec %s flags mismatch\n", dst->sec_name); in secs_match()
1226 pr_warn("sec %s entsize mismatch\n", dst->sec_name); in secs_match()
1373 pr_warn("failed to init section '%s'\n", src_sec->sec_name); in linker_append_sec_data()
1378 pr_warn("ELF sections %s are incompatible\n", src_sec->sec_name); in linker_append_sec_data()
1386 pr_warn("non-identical contents of section '%s' are not supported\n", src_sec->sec_name); in linker_append_sec_data()
1427 pr_warn("can't fetch symbol name for symbol #%d in '%s'\n", i, obj->filename); in linker_append_elf_syms()
1502 pr_warn("global '%s': incompatible forward declaration names '%s' and '%s'\n", in glob_sym_btf_matches()
1512 pr_warn("global '%s': incompatible %s forward declaration and concrete kind %s\n", in glob_sym_btf_matches()
1519 pr_warn("global '%s': incompatible %s forward declaration and concrete kind %s\n", in glob_sym_btf_matches()
1526 pr_warn("global '%s': incompatible BTF kinds %s and %s\n", in glob_sym_btf_matches()
1542 pr_warn("global '%s': incompatible %s names '%s' and '%s'\n", in glob_sym_btf_matches()
1561 pr_warn("global '%s': incompatible %s '%s' size %u and %u\n", in glob_sym_btf_matches()
1585 pr_warn("global '%s': incompatible func '%s' linkage\n", sym_name, n1); in glob_sym_btf_matches()
1597 pr_warn("global '%s': incompatible var '%s' linkage\n", sym_name, n1); in glob_sym_btf_matches()
1612 pr_warn("global '%s': incompatible number of %s fields %u and %u\n", in glob_sym_btf_matches()
1624 pr_warn("global '%s': incompatible field #%d names '%s' and '%s'\n", in glob_sym_btf_matches()
1629 pr_warn("global '%s': incompatible field #%d ('%s') offsets\n", in glob_sym_btf_matches()
1643 pr_warn("global '%s': incompatible number of %s params %u and %u\n", in glob_sym_btf_matches()
1671 pr_warn("global '%s': unsupported BTF kind %s\n", in glob_sym_btf_matches()
1761 pr_warn("global '%s': map %s mismatch\n", sym_name, reason); in map_defs_match()
1776 pr_warn("global '%s': invalid map definition type [%d]\n", sym_name, btf_id); in glob_map_defs_match()
1783 pr_warn("global '%s': invalid map definition\n", sym_name); in glob_map_defs_match()
1793 pr_warn("global '%s': invalid dst map definition\n", sym_name); in glob_map_defs_match()
1815 pr_warn("BTF info is missing for global symbol '%s'\n", sym_name); in glob_syms_match()
1821 pr_warn("only extern variables and functions are supported, but got '%s' for '%s'\n", in glob_syms_match()
1852 pr_warn("failed to find BTF info for object '%s'\n", obj->filename); in find_glob_sym_btf()
1889 pr_warn("global/extern '%s' BTF is ambiguous: both types #%d and #%u match\n", in find_glob_sym_btf()
1908 pr_warn("failed to find BTF info for global/extern symbol '%s'\n", sym_name); in find_glob_sym_btf()
2015 pr_warn("externs without BTF info are not supported\n"); in linker_append_elf_sym()
2055 pr_warn("failed to find matching ELF sec '%s'\n", sec_name); in linker_append_elf_sym()
2076 pr_warn("conflicting non-weak symbol #%d (%s) definition in '%s'\n", in linker_append_elf_sym()
2221 pr_warn("failed to init section '%s'\n", src_sec->sec_name); in linker_append_elf_relos()
2225 pr_warn("sections %s are not compatible\n", src_sec->sec_name); in linker_append_elf_relos()
2276 pr_warn("relocation against STT_SECTION in non-exec section is not supported!\n"); in linker_append_elf_relos()
2399 pr_warn("failed to find symbol for variable '%s' in section '%s'\n", var_name, sec_name); in linker_fixup_btf()
2467 pr_warn("failed to append BTF type #%d from file '%s'\n", i, obj->filename); in linker_append_btf()
2496 pr_warn("failed to find new ID mapping for original BTF type ID %u\n", in linker_append_btf()
2556 pr_warn("global '%s': section mismatch %d vs %d\n", in linker_append_btf()
2581 pr_warn("global '%s': failed to resolve size of underlying type: %d\n", in linker_append_btf()
2646 pr_warn("can't find section '%s' referenced from .BTF.ext\n", sec_name); in linker_append_btf_ext()
2654 pr_warn("incompatible .BTF.ext record sizes for section '%s'\n", sec_name); in linker_append_btf_ext()
2675 pr_warn("can't find section '%s' referenced from .BTF.ext\n", sec_name); in linker_append_btf_ext()
2683 pr_warn("incompatible .BTF.ext record sizes for section '%s'\n", sec_name); in linker_append_btf_ext()
2717 pr_warn("can't find section '%s' referenced from .BTF.ext\n", sec_name); in linker_append_btf_ext()
2725 pr_warn("incompatible .BTF.ext record sizes for section '%s'\n", sec_name); in linker_append_btf_ext()
2879 pr_warn("failed to add consolidated BTF type for datasec '%s': %d\n", in finalize_btf()
2894 pr_warn(".BTF.ext generation failed: %s\n", errstr(err)); in finalize_btf()
2901 pr_warn("BTF dedup failed: %s\n", errstr(err)); in finalize_btf()
2919 pr_warn("failed to write out .BTF ELF section: %s\n", errstr(err)); in finalize_btf()
2931 pr_warn("failed to write out .BTF.ext ELF section: %s\n", errstr(err)); in finalize_btf()
2985 pr_warn("mismatch in func_info record size %zu != %u\n", in finalize_btf_ext()
2996 pr_warn("mismatch in line_info record size %zu != %u\n", in finalize_btf_ext()
3007 pr_warn("mismatch in core_relo_info record size %zu != %u\n", in finalize_btf_ext()
3107 pr_warn("failed to parse final .BTF.ext data: %s\n", errstr(err)); in finalize_btf_ext()