netbsd build error (20)

0 views
Skip to first unread message

syzbot

unread,
Jul 30, 2025, 10:23:36 PMJul 30
to syzkaller-...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4aa4d35827d9 Explain the previous commit in the source.
git tree: netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=176beca2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=fab579639ba4bf0a
dashboard link: https://syzkaller.appspot.com/bug?extid=385ab27803f41df7b224
compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+385ab2...@syzkaller.appspotmail.com

obj/tooldir.Linux-5.9.0-0.bpo.5-cloud-amd64-x86_64/include/sys/elfdefinitions.h:104: error: unterminated #ifndef
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:237:1: error: unknown type name 'Elf32_Ehdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:238:1: error: unknown type name 'Elf32_Phdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:239:1: error: unknown type name 'Elf32_Shdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:240:1: error: unknown type name 'Elf32_Ehdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:241:1: error: unknown type name 'Elf32_Phdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:250:1: error: unknown type name 'Elf64_Ehdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:251:1: error: unknown type name 'Elf64_Phdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:252:1: error: unknown type name 'Elf64_Shdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:253:1: error: unknown type name 'Elf64_Ehdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/libelf.h:254:1: error: unknown type name 'Elf64_Phdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/_libelf.h:120:33: error: unknown type name 'Elf32_Ehdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/_libelf.h:121:33: error: unknown type name 'Elf64_Ehdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/_libelf.h:124:33: error: unknown type name 'Elf32_Phdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/_libelf.h:125:33: error: unknown type name 'Elf64_Phdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/_libelf.h:147:17: error: unknown type name 'Elf32_Shdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/_libelf.h:148:17: error: unknown type name 'Elf64_Shdr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/gelf.h:36:9: error: unknown type name 'Elf64_Addr'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/gelf.h:37:9: error: unknown type name 'Elf64_Half'
tools/elftoolchain/libelf/../../../external/bsd/elftoolchain/dist/libelf/gelf.h:38:9: error: unknown type name 'Elf64_Off'

---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages