Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X: bcopyinout.s immediate expression requires a # prefix #39

Open
spotlightishere opened this issue Jun 7, 2016 · 3 comments
Open

Comments

@spotlightishere
Copy link

I'm on OS X 10.11.6 beta with Xcode 7.3.1 (not beta, App Store version). Upon compiling XNU, I get the following:

> cd xnu; make TARGET_CONFIGS="debug arm armpba8" NO_DTRACE_SYMS=YES; cd ..
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:67:immediate expression requires a # prefix -- `str r12,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:70:immediate expression requires a # prefix -- `str r11,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:76:immediate expression requires a # prefix -- `str r11,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:486:immediate expression requires a # prefix -- `ldr r11,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:487:immediate expression requires a # prefix -- `str r12,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:490:immediate expression requires a # prefix -- `str r11,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:496:immediate expression requires a # prefix -- `str r11,[r10,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:950:immediate expression requires a # prefix -- `str r5,[r4,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:960:immediate expression requires a # prefix -- `str r0,[r4,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:991:immediate expression requires a # prefix -- `str r5,[r4,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:1001:immediate expression requires a # prefix -- `str r0,[r4,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:1016:immediate expression requires a # prefix -- `str r1,[r4,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:1061:immediate expression requires a # prefix -- `ldr r4,[r12,TH_RECOVER]'
/Users/me/Projects/DarwinARM/Work/xnu/osfmk/arm/bcopyinout.s:1062:immediate expression requires a # prefix -- `str r3,[r12,TH_RECOVER]'
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
make[6]: *** [bcopyinout.o] Error 1
make[5]: *** [build_all] Error 2
make[4]: *** [do_all] Error 2
make[3]: *** [build_all] Error 2
make[2]: *** [build_all_conf] Error 2
make[1]: *** [build_all_osfmk] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

I have also tried changing TARGET_CONFIGS="debug arm armpba8" to TARGET_CONFIGS="debug arm s5l8930x" with no avail.

Is this a bug, or did I miss steps while setting up?

@wargio
Copy link

wargio commented Jun 9, 2016

it's due this bug: #38

@johnothwolo
Copy link

Can somebody please outline a fix clearly? @wargio

@johnothwolo
Copy link

Thanks @wargio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants