yetist / ios-toolchain-based-on-clang-for-linux

Automatically exported from code.google.com/p/ios-toolchain-based-on-clang-for-linux
0 stars 0 forks source link

Encountered a .else that doesn't follow a .if or an .elseif #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've managed to run ./configure, but running make causes some strange issues.
I'm running Ubuntu 12.04 64bit and I've installed gcc, llvm and clang through 
apt. I'm curious as to whether there are any fixes/patches for this issue. The 
error log is as below:

 .elseif
.else
^
./objc_msgSend.x86-64.S:149:2: note: while in macro instantiation
 MSGSEND %rdi, %rsi
 ^
<instantiation>:101:1: error: Encountered a .endif that doesn't follow a .if or 
.else
.endif
^
./objc_msgSend.x86-64.S:149:2: note: while in macro instantiation
 MSGSEND %rdi, %rsi
 ^
<instantiation>:90:1: warning: ignoring directive for now
.ifc "%rsi", "%rdi"
^
./objc_msgSend.x86-64.S:153:2: note: while in macro instantiation
 MSGSEND %rsi, %rdx
 ^
<instantiation>:95:1: error: Encountered a .else that doesn't follow a .if or 
an .elseif
.else
^
./objc_msgSend.x86-64.S:153:2: note: while in macro instantiation
 MSGSEND %rsi, %rdx
 ^
<instantiation>:101:1: error: Encountered a .endif that doesn't follow a .if or 
.else
.endif
^
./objc_msgSend.x86-64.S:153:2: note: while in macro instantiation
 MSGSEND %rsi, %rdx
 ^
objc_msgSend.S:4:1: error: unmatched .ifs or .elses

Thanks, Adil

Original issue reported on code.google.com by adil.photon on 10 Jun 2013 at 3:39

GoogleCodeExporter commented 9 years ago
it's a problem of compiler.

Original comment by cjac...@gmail.com on 23 Sep 2013 at 7:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Any tip how to fix it?

Original comment by iamr...@gmail.com on 4 Mar 2014 at 6:28