Last active
August 29, 2015 14:01
-
-
Save berkus/8dcccd2ff9d9978b636f to your computer and use it in GitHub Desktop.
Clang EFI PECOFF problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../toolchain/clang/bin/clang | |
-target i686-pc--coff | |
-I./include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include | |
-std=c++11 | |
-ffreestanding | |
-fno-stack-protector | |
-fpic | |
-fshort-wchar | |
-fno-exceptions | |
-Wall -Wextra -Wno-unused-private-field -Wno-ignored-attributes | |
-mno-sse -mno-sse2 -mno-mmx | |
-v | |
-c -o kernel.o helloworld.cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang version 3.5.0 | |
Target: i686-pc--coff | |
Thread model: posix | |
"/Users/berkus/Hobby/Metta/toolchain/clang/bin/clang-3.5" -cc1 -triple i686-pc--coff -emit-obj | |
-mrelax-all -disable-free -disable-llvm-verifier -main-file-name helloworld.cpp -mrelocation-model pic | |
-pic-level 1 -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 | |
-target-feature -sse -target-feature -sse2 -target-feature -mmx -v | |
-coverage-file /Users/berkus/Hobby/Metta/libefi/kernel.o | |
-resource-dir /Users/berkus/Hobby/Metta/toolchain/clang/bin/../lib/clang/3.5.0 | |
-I ./include -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include | |
-Wall -Wextra -Wno-unused-private-field -Wno-ignored-attributes -std=c++11 -fdeprecated-macro | |
-fdebug-compilation-dir /Users/berkus/Hobby/Metta/libefi -ferror-limit 19 -fmessage-length 120 | |
-ffreestanding -mstackrealign -fobjc-runtime=gcc -fshort-wchar -fdiagnostics-show-option | |
-fcolor-diagnostics -o kernel.o -x c++ helloworld.cpp | |
clang -cc1 version 3.5.0 based upon LLVM 3.5.0svn default target x86_64-apple-darwin13.2.0 | |
#include "..." search starts here: | |
#include <...> search starts here: | |
./include | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include | |
/usr/local/include | |
/Users/berkus/Hobby/Metta/toolchain/clang/bin/../lib/clang/3.5.0/include | |
/usr/include | |
End of search list. | |
fatal error: error in backend: alignment is limited to 32-bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment