Skip to content
This repository was archived by the owner on Nov 13, 2017. It is now read-only.
This repository was archived by the owner on Nov 13, 2017. It is now read-only.

impossible to generate kernel for arch x86_64H due to firehose #1

@bigkahuna666

Description

@bigkahuna666

Hi, I am quite new to kernel compiling/debugging and especially the new firehose library.

I just tried to compile a new XNU kernel with the following command:
bash-3.2# make SDKROOT=macosx ARCH_CONFIGS=X86_64H KERNEL_CONFIGS=RELEASE

But I am getting this error just before it normally finishes:

"...
CC syscalls.o
LDFILELIST bsd
CC lastkerneldataconst.o
CC lastkernelconstructor.o
CC version.o
LD kernel.unstripped
ld: object file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/local/lib/kernel/libfirehose_kernel.a(firehose_buffer.o) was built for different x86_64 sub-type (3) than link command line (8) for architecture x86_64h
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/philippvonfrankenberg/Desktop/Kernel/xnu-3789.41.3/BUILD/obj/RELEASE_X86_64H//kernel.unstripped] Error 1
make[2]: *** [build_all] Error 2
make[1]: *** [build_all_bootstrap_RELEASE^X86_64H^NONE] Error 2
make: *** [all] Error 2
"

Can anybody tell me how I can install firehose library as x86_64H architecture?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions