You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I just tried to build the cross toolchain for OS X 10.9 on my (fully updated) x86_64 Arch Linux box, I got the following error during the o32-clang test:
+ '[' 10.5 '!=' default ']'
++ osxcross-cmp 10.9 '<' 10.5
+ '[' 0 -eq 1 ']'
++ osxcross-cmp 10.5 '<' 10.4
+ '[' 0 -eq 1 ']'
+ test_compiler o32-clang /home/jakob/Downloads/osxtools/osxcross/oclang/test.c
+ echo -ne 'testing o32-clang ... '
testing o32-clang ... + o32-clang /home/jakob/Downloads/osxtools/osxcross/oclang/test.c -O2 -Wall -o test
[d] --> o32-clang /home/jakob/Downloads/osxtools/osxcross/oclang/test.c -O2 -Wall -o test
[d] <-- clang -target i386-apple-darwin13 -mlinker-version=241.9 -isystem /usr/bin/../lib/clang/3.5.1/include -isysroot /home/jakob/Downloads/osxtools/osxcross/target/bin/../SDK/MacOSX10.9.sdk -cxx-isystem /home/jakob/Downloads/osxtools/osxcross/target/bin/../SDK/MacOSX10.9.sdk/usr/include/c++/4.2.1 -cxx-isystem /home/jakob/Downloads/osxtools/osxcross/target/bin/../SDK/MacOSX10.9.sdk/usr/include/c++/4.2.1/i386-apple-darwin13 -mmacosx-version-min=10.5.0 -arch i386 -o test /home/jakob/Downloads/osxtools/osxcross/oclang/test.c -O2 -Wall
[d] === time spent in wrapper: 0.264121 ms
/home/jakob/Downloads/osxtools/osxcross/oclang/test.c:5:5: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
printf("works");
^
/home/jakob/Downloads/osxtools/osxcross/oclang/test.c:5:5: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
1 warning generated.
ld: file too small (length=0) file '/home/jakob/Downloads/osxtools/osxcross/target/bin/../SDK/MacOSX10.9.sdk/usr/lib/crt1.10.5.o' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
+ _exit
+ EC=1
+ '[' 1 -ne 0 ']'
+ test -z build.sh
+ echo ''
+ echo 'exiting with abnormal exit code (1)'
exiting with abnormal exit code (1)
+ test -n 1
+ declare -f -F remove_locks
+ echo 'removing stale locks...'
removing stale locks...
+ remove_locks
+ rm -rf /home/jakob/Downloads/osxtools/osxcross/build/have_cctools_2201b7b_darwin13
+ echo 'if it is happening the first time, then just re-run the script'
if it is happening the first time, then just re-run the script
+ echo ''
+ test build.sh = build.sh
+ check_for_bug_1242300
+ '[' -e /etc/issue ']'
++ grep -i ubuntu.13.10 /etc/issue
+ '[' '' ']'
Since stdio.h is included in oclang/test.c I have no clue where that error originates. It would be great if you could help me to fix it. You can find the full log at https://gist.github.com/J5lx/eb1341717bc2e0978702. Thanks in advance!
The text was updated successfully, but these errors were encountered:
ld: file too small (length=0) file '/home/jakob/Downloads/osxtools/osxcross/target/bin/../SDK/MacOSX10.9.sdk/usr/lib/crt1.10.5.o' for architecture i386
It looks like your SDK is broken.
You probably attempted to create the SDK package on Linux, but that doesn't
work properly with recent Xcode versions, please see README for further details.
Okay, thanks. Seems like I stopped reading after the sentence "Xcode 4.6, 5.0+, 6.0, and the 6.1 Betas are known to work.". Let's see whether it works when I package the SDK on OS X.
When I just tried to build the cross toolchain for OS X 10.9 on my (fully updated) x86_64 Arch Linux box, I got the following error during the o32-clang test:
Since stdio.h is included in
oclang/test.c
I have no clue where that error originates. It would be great if you could help me to fix it. You can find the full log at https://gist.github.com/J5lx/eb1341717bc2e0978702. Thanks in advance!The text was updated successfully, but these errors were encountered: