Hi Marcus,
On 17 Jul 2013, at 09:53, Marcus Müller <[email protected]> wrote:
> 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).
Can you check your conflg.log to see what it says about the failing program?
>
> I've configured gnustep-make and libobjc2 (in this order) like this:
This looks mostly sensible, except that if you do it like this you will have to
re-configure GNUstep-make to tell it to use libobjc2 - currently it will
default to -lobjc, and you're installing libobjc2 as libobjc2.so.
>
> 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/
>
>
>
> _______________________________________________
> Gnustep-dev mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
--
This email complies with ISO 3103
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev