Hi (David), when configuring gnustep-base on FreeBSD 9.1 in conjunction with clang33 and libobjc2 r36872, it's currently broken (since July, 8th):
CC=/usr/local/bin/clang33
CXX=/usr/local/bin/clang++33
$ ./configure --disable-mixedabi CC=${CC} CXX=${CXX}
[…]
checking whether objc really works... yes
checking if the compiler supports -fconstant-string-class... Segmentation fault
(core dumped)
no
configure: error: Your compiler does not appear to implement the
-fconstant-string-class option needed for support of strings. Please check for
a more recent version or consider using --enable-nxconstantstring
I'm doing nightly builds with clang33 on my FreeBSD 9.1 box (which hasn't
changed in quite a while), thus I can narrow down the set of changes which has
introduced this problem to libobjc2 r36850 or r36851 (both committed Mon, 08
Jul 2013).
I've configured gnustep-make and libobjc2 (in this order) like this:
gnustep-make
===========
$ ./configure --enable-objc-nonfragile-abi --enable-native-objc-exceptions
--with-layout=fhs --enable-debug-by-default CC=${CC} CXX=${CXX}
$ gmake -j 8 && sudo -E gmake install
libobjc2
======
$ rm -rf Build; mkdir Build; cd Build
$ CC=${CC} CXX=${CXX} GNUSTEP_CONFIG=/usr/local/bin/gnustep-config
GNUSTEP_INSTALL_TYPE=LOCAL LIBOBJC_NAME=objc2 CMAKE_C_COMPILER=${CC}
CMAKE_CXX_COMPILER=${CXX} CMAKE_ASM_COMPILER=${CC} CMAKE_ASM_FLAGS=-c
CMAKE_BUILD_TYPE=Release cmake ..
$ make -j 4 && sudo -E make install
Cheers,
Marcus
--
Marcus Müller . . . http://www.mulle-kybernetik.com/znek/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
