Hi everyone,
I'm trying to build GNUstep with CLang, libdispatch and libobjc2 on a
fresh install of Debian Jessie on powerpc32 system. I'm trying on Jessie because it's the last debian stable version for powerpc and I don't want to switch
to debian unstable for now.
I've installed the build dependencies, I've built cmake-3.7 from source, I have cloned the current libobcj2 git repo and I'm now trying to build it.
libobjc2 fails to build with stock debian clang-3.5.
It fails when building arc.m with the following :
[ 71%] Building ASM object CMakeFiles/objc.dir/block_trampolines.S.o
/home/bertrand/Install_GNUstep/libobjc2/block_trampolines.S:136:2: warning:
imp_implementationWithBlock() not implemented for your architecture
[-W#warnings]
#warning imp_implementationWithBlock() not implemented for your architecture
^
1 warning generated.
[ 75%] Building ASM object CMakeFiles/objc.dir/objc_msgSend.S.o
/home/bertrand/Install_GNUstep/libobjc2/objc_msgSend.S:14:2: warning:
objc_msgSend() not implemented for your architecture [-W#warnings]
#warning objc_msgSend() not implemented for your architecture
^
1 warning generated.
[ 78%] Building C object CMakeFiles/objc.dir/NSBlocks.m.o
[ 81%] Building C object CMakeFiles/objc.dir/Protocol2.m.o
[ 84%] Building C object CMakeFiles/objc.dir/arc.m.o
/tmp/arc-feaf47.s: Messages de l'assembleur:
/tmp/arc-feaf47.s:5157: Erreur: Nom de symbole manquant dans la directive
/tmp/arc-feaf47.s:5157: Erreur: type de symbole non reconnu « .objc_sel_nameaddObject »
/tmp/arc-feaf47.s:5157: Erreur: rebut à la fin de la ligne, premier caractère non reconnu est « : »
/tmp/arc-feaf47.s:5159: Erreur: Nom de symbole manquant dans la directive
/tmp/arc-feaf47.s:5159: Erreur: rebut à la fin de la ligne, premier caractère non reconnu est « " »
/tmp/arc-feaf47.s:5160: Erreur: rebut à la fin de la ligne, premier caractère non reconnu est « " »
/tmp/arc-feaf47.s:5162: Erreur: virgule attendue après le nom « » dans la directive .size
/tmp/arc-feaf47.s:5195: Erreur: « " » inattendue dans l'_expression_
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
CMakeFiles/objc.dir/build.make:670: recipe for target 'CMakeFiles/objc.dir/arc.m.o' failed
make[2]: *** [CMakeFiles/objc.dir/arc.m.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/objc.dir/all' failed
make[1]: *** [CMakeFiles/objc.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Sorry for the french parts of the message, I don't know how to temporary change my locale.
I hope someone could help here : do I need a more recent clang than clang-3.5 to build the current libobjc2 ? Will libobjc2 ever build on ppc ?