Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 13:57:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231451] devel/llvm70 - produces broken kernel modules when used as a port compiler
Message-ID:  <bug-231451-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231451

            Bug ID: 231451
           Summary: devel/llvm70 - produces broken kernel modules when
                    used as a port compiler
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: arcade@b1t.name
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

Hello.

Not really a problem but might become an issue when updating system compile=
r.

Trying to compile emulators/virtualbox-ose-kmod I found out that produced
binaries can't be loaded as a kernel modules:

Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
...
Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
Sep 18 16:36:31 limbo kernel: kldload: unexpected relocation type 4
Sep 18 16:36:31 limbo kernel: link_elf_obj: symbol bzero undefined
Sep 18 16:36:31 limbo kernel: linker_load_file: Unsupported file type

Compiling said modules with system compiler or clang60 results in a working
kernel module.

Thank you.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231451-7788>