Skip to content
This repository has been 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

Open
bigkahuna666 opened this issue Apr 1, 2017 · 0 comments
Open

Comments

@bigkahuna666
Copy link

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?

@bigkahuna666 bigkahuna666 changed the title impossible to generate kernel for arch x86_64H due to firehouse impossible to generate kernel for arch x86_64H due to firehose Apr 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant