URL:
<http://savannah.gnu.org/bugs/?31721>
Summary: gdomap fails to compile with clang
Project: GNUstep
Submitted by: bogomipz
Submitted on: Sun 21 Nov 2010 01:43:20 PM CET
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When compiling -base with clang, I get:
gdomap.c:2499:12: error: invalid instruction mnemonic 'setcb'
if (FD_ISSET(i, &rfds))
Using GNUstep trunk r31638 on GNU/Linux 2.6.35, LLVM/clang from trunk
r119905, and glibc 2.12.1 from distro repository.
It does not matter if I use libobjc2 from GNUstep or libobjc from GCC 4.5.1.
The attached build logs are with the latter, only installing -make and -base
using:
-make: ./configure --with-layout=gnustep --prefix=/
-base: ./configure --with-ffi-include=`pkg-config --variable=includedir
libffi`
Interestingly, GSRunLoopCtxt.m also uses FD_ISSET, but compiles fine. Both
libgnustep-base.so.1.21.1 and all the objc tools are built by the time gdomap
compile fails.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 21 Nov 2010 01:43:20 PM CET Name: gnustep-make.log Size: 14kB
By: bogomipz
<http://savannah.gnu.org/bugs/download.php?file_id=22075>
-------------------------------------------------------
Date: Sun 21 Nov 2010 01:43:20 PM CET Name: gnustep-base.log Size: 216kB
By: bogomipz
<http://savannah.gnu.org/bugs/download.php?file_id=22076>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31721>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep