Lines Matching refs:pr_warn

253 		pr_warn("failed to create '%s': %d\n", filename, err);  in bpf_linker__new()
532 pr_warn("failed to open file '%s': %s\n", filename, errstr(err)); in bpf_linker__add_file()
578 pr_warn("failed to create memfd '%s': %s\n", filename, errstr(ret)); in bpf_linker__add_buf()
587 pr_warn("failed to write '%s': %s\n", filename, errstr(ret)); in bpf_linker__add_buf()
702 pr_warn("unknown byte order of ELF file %s\n", obj->filename); in linker_load_obj_file()
712 pr_warn("byte order mismatch with ELF file %s\n", obj->filename); in linker_load_obj_file()
773 pr_warn("multiple SYMTAB sections found, not supported\n"); in linker_load_obj_file()
786 pr_warn("failed to parse .BTF from %s: %s\n", in linker_load_obj_file()
797 pr_warn("failed to parse .BTF.ext from '%s': %s\n", in linker_load_obj_file()
814 pr_warn("unrecognized section #%zu (%s) in %s\n", in linker_load_obj_file()
835 pr_warn("ELF is missing SYMTAB section in %s\n", obj->filename); in linker_sanity_check_elf()
839 pr_warn("ELF is missing section headers STRTAB section in %s\n", obj->filename); in linker_sanity_check_elf()
847 pr_warn("ELF section #%zu has empty name in %s\n", sec->sec_idx, obj->filename); in linker_sanity_check_elf()
855 pr_warn("ELF section #%zu alignment %llu is non pow-of-2 alignment in %s\n", in linker_sanity_check_elf()
861 pr_warn("ELF section #%zu has inconsistent alignment addr=%llu != d=%llu in %s\n", in linker_sanity_check_elf()
868 pr_warn("ELF section #%zu has inconsistent section size sh=%llu != d=%llu in %s\n", in linker_sanity_check_elf()
885 pr_warn("ELF section #%zu has unexpected size alignment %llu in %s\n", in linker_sanity_check_elf()
902 pr_warn("ELF section #%zu (%s) has unrecognized type %zu in %s\n", in linker_sanity_check_elf()
923 pr_warn("ELF SYMTAB section #%zu points to missing STRTAB section #%zu in %s\n", in linker_sanity_check_elf_symtab()
929 pr_warn("ELF SYMTAB section #%zu points to invalid STRTAB section #%zu in %s\n", in linker_sanity_check_elf_symtab()
945 pr_warn("ELF sym #0 is invalid in %s\n", obj->filename); in linker_sanity_check_elf_symtab()
951 pr_warn("ELF sym #%d in section #%zu has unsupported symbol binding %d\n", in linker_sanity_check_elf_symtab()
956 pr_warn("ELF sym #%d in section #%zu has unsupported symbol visibility %d\n", in linker_sanity_check_elf_symtab()
963 pr_warn("ELF sym #%d is invalid extern symbol in %s\n", in linker_sanity_check_elf_symtab()
971 pr_warn("ELF sym #%d in section #%zu points to missing section #%zu in %s\n", in linker_sanity_check_elf_symtab()
998 pr_warn("ELF relo section #%zu points to invalid SYMTAB section #%zu in %s\n", in linker_sanity_check_elf_relos()
1005 pr_warn("ELF relo section #%zu points to missing section #%zu in %s\n", in linker_sanity_check_elf_relos()
1014 pr_warn("ELF relo section #%zu name has invalid name in %s\n", in linker_sanity_check_elf_relos()
1025 pr_warn("ELF relo section #%zu points to invalid section #%zu in %s\n", in linker_sanity_check_elf_relos()
1040 pr_warn("ELF relo #%d in section #%zu has unexpected type %zu in %s\n", in linker_sanity_check_elf_relos()
1046 pr_warn("ELF relo #%d in section #%zu points to invalid symbol #%zu in %s\n", in linker_sanity_check_elf_relos()
1053 pr_warn("ELF relo #%d in section #%zu points to missing symbol #%zu in %s\n", in linker_sanity_check_elf_relos()
1217 pr_warn("sec %s types mismatch\n", dst->sec_name); in secs_match()
1221 pr_warn("sec %s flags mismatch\n", dst->sec_name); in secs_match()
1225 pr_warn("sec %s entsize mismatch\n", dst->sec_name); in secs_match()
1372 pr_warn("failed to init section '%s'\n", src_sec->sec_name); in linker_append_sec_data()
1377 pr_warn("ELF sections %s are incompatible\n", src_sec->sec_name); in linker_append_sec_data()
1385 pr_warn("non-identical contents of section '%s' are not supported\n", src_sec->sec_name); in linker_append_sec_data()
1426 pr_warn("can't fetch symbol name for symbol #%d in '%s'\n", i, obj->filename); in linker_append_elf_syms()
1501 pr_warn("global '%s': incompatible forward declaration names '%s' and '%s'\n", in glob_sym_btf_matches()
1511 pr_warn("global '%s': incompatible %s forward declaration and concrete kind %s\n", in glob_sym_btf_matches()
1518 pr_warn("global '%s': incompatible %s forward declaration and concrete kind %s\n", in glob_sym_btf_matches()
1525 pr_warn("global '%s': incompatible BTF kinds %s and %s\n", in glob_sym_btf_matches()
1541 pr_warn("global '%s': incompatible %s names '%s' and '%s'\n", in glob_sym_btf_matches()
1560 pr_warn("global '%s': incompatible %s '%s' size %u and %u\n", in glob_sym_btf_matches()
1584 pr_warn("global '%s': incompatible func '%s' linkage\n", sym_name, n1); in glob_sym_btf_matches()
1596 pr_warn("global '%s': incompatible var '%s' linkage\n", sym_name, n1); in glob_sym_btf_matches()
1611 pr_warn("global '%s': incompatible number of %s fields %u and %u\n", in glob_sym_btf_matches()
1623 pr_warn("global '%s': incompatible field #%d names '%s' and '%s'\n", in glob_sym_btf_matches()
1628 pr_warn("global '%s': incompatible field #%d ('%s') offsets\n", in glob_sym_btf_matches()
1642 pr_warn("global '%s': incompatible number of %s params %u and %u\n", in glob_sym_btf_matches()
1670 pr_warn("global '%s': unsupported BTF kind %s\n", in glob_sym_btf_matches()
1760 pr_warn("global '%s': map %s mismatch\n", sym_name, reason); in map_defs_match()
1775 pr_warn("global '%s': invalid map definition type [%d]\n", sym_name, btf_id); in glob_map_defs_match()
1782 pr_warn("global '%s': invalid map definition\n", sym_name); in glob_map_defs_match()
1792 pr_warn("global '%s': invalid dst map definition\n", sym_name); in glob_map_defs_match()
1814 pr_warn("BTF info is missing for global symbol '%s'\n", sym_name); in glob_syms_match()
1820 pr_warn("only extern variables and functions are supported, but got '%s' for '%s'\n", in glob_syms_match()
1851 pr_warn("failed to find BTF info for object '%s'\n", obj->filename); in find_glob_sym_btf()
1888 pr_warn("global/extern '%s' BTF is ambiguous: both types #%d and #%u match\n", in find_glob_sym_btf()
1907 pr_warn("failed to find BTF info for global/extern symbol '%s'\n", sym_name); in find_glob_sym_btf()
2014 pr_warn("externs without BTF info are not supported\n"); in linker_append_elf_sym()
2057 pr_warn("failed to find matching ELF sec '%s'\n", sec_name); in linker_append_elf_sym()
2078 pr_warn("conflicting non-weak symbol #%d (%s) definition in '%s'\n", in linker_append_elf_sym()
2223 pr_warn("failed to init section '%s'\n", src_sec->sec_name); in linker_append_elf_relos()
2227 pr_warn("sections %s are not compatible\n", src_sec->sec_name); in linker_append_elf_relos()
2278 pr_warn("relocation against STT_SECTION in non-exec section is not supported!\n"); in linker_append_elf_relos()
2401 pr_warn("failed to find symbol for variable '%s' in section '%s'\n", var_name, sec_name); in linker_fixup_btf()
2469 pr_warn("failed to append BTF type #%d from file '%s'\n", i, obj->filename); in linker_append_btf()
2498 pr_warn("failed to find new ID mapping for original BTF type ID %u\n", in linker_append_btf()
2558 pr_warn("global '%s': section mismatch %d vs %d\n", in linker_append_btf()
2583 pr_warn("global '%s': failed to resolve size of underlying type: %d\n", in linker_append_btf()
2648 pr_warn("can't find section '%s' referenced from .BTF.ext\n", sec_name); in linker_append_btf_ext()
2656 pr_warn("incompatible .BTF.ext record sizes for section '%s'\n", sec_name); in linker_append_btf_ext()
2677 pr_warn("can't find section '%s' referenced from .BTF.ext\n", sec_name); in linker_append_btf_ext()
2685 pr_warn("incompatible .BTF.ext record sizes for section '%s'\n", sec_name); in linker_append_btf_ext()
2719 pr_warn("can't find section '%s' referenced from .BTF.ext\n", sec_name); in linker_append_btf_ext()
2727 pr_warn("incompatible .BTF.ext record sizes for section '%s'\n", sec_name); in linker_append_btf_ext()
2881 pr_warn("failed to add consolidated BTF type for datasec '%s': %d\n", in finalize_btf()
2896 pr_warn(".BTF.ext generation failed: %s\n", errstr(err)); in finalize_btf()
2903 pr_warn("BTF dedup failed: %s\n", errstr(err)); in finalize_btf()
2921 pr_warn("failed to write out .BTF ELF section: %s\n", errstr(err)); in finalize_btf()
2933 pr_warn("failed to write out .BTF.ext ELF section: %s\n", errstr(err)); in finalize_btf()
2987 pr_warn("mismatch in func_info record size %zu != %u\n", in finalize_btf_ext()
2998 pr_warn("mismatch in line_info record size %zu != %u\n", in finalize_btf_ext()
3009 pr_warn("mismatch in core_relo_info record size %zu != %u\n", in finalize_btf_ext()
3109 pr_warn("failed to parse final .BTF.ext data: %s\n", errstr(err)); in finalize_btf_ext()