This appears to be an LLVM/clang bug.  I'll look into it.  There are two 
work-arounds that you can use for now:

1) Link libobjc2 to libstdc++.
2) Compile libobjc2 with GCC.

Either of these should work.  I'll try to get Clang fixed soon.

David

On 17 May 2010, at 13:20, Mathieu Suen wrote:

> Ok now when I rebuild the GNUStep base I got the following error when I 
> configure the project.
> 
> ...
> checking for dynamic linker type... simple
> checking for dladdr in -ldl... yes
> checking whether objc really works...
> /usr/GNUstep/Local/Library/Libraries/libobjc.so: undefined reference to 
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> no
> I don't seem to be able to use your Objective-C compiler to produce
> working binaries!  Please check your Objective-C compiler installation.
> If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
> can be found by the dynamic linker - usually that requires you to play
> with LD_LIBRARY_PATH or /etc/ld.so.conf.
> Please refer to your compiler installation instructions for more help.
> configure: error: The Objective-C compiler does not work or is not installed 
> properly.
> 
> I did tweak the configure file in order to output the stderr
> Thanks
> 
> --Mathieu
> 
> 
> 
> ----- Message d'origine ----
> De : Sándor <[email protected]>
> À : Discussion list for  Ãtoilé desktop environment <[email protected]>
> Envoyé le : Lun 17 mai 2010, 13h 00min 49s
> Objet : Re: [Etoile-discuss] Re :  Enable to open a session
> 
> I had that problem too. Never solved it. I guess my (and your) build was not 
> that good.
> Updated gnustep, (Including libobjc2) updated etoile from the trunk, (llvm 
> was 
> already the newest.
> Build and install gnustepmake libobjc2 and the rest of the gnustep core. Made 
> sure that ffi is enabled.
> Built and installed etoile, and  /usr/local/bin/etoile does NOT segment 
> faults.
> Maybe I was just lucky,end I did things right or everything was in the righ 
> revision.
> /usr/local/bin/etoile: line 1: 20036 Segmentation fault      etoile_system IS 
> THE PROBLEM. It should run.
> 
> On Monday 17 May 2010 12.02.44 Mathieu Suen wrote:
>> $ /usr/local/bin/etoile
>> /usr/local/bin/etoile: line 1: 20036 Segmentation fault      etoile_system
>> 
>> :S
>> 
>> ----- Message d'origine ----
>> De : Sándor <[email protected]>
>> 
>> What happens when you execute/usr/local/bin/etoile in an xterm?
>> 
>> -Mathieu
>> 
>> 
> 
> 
> 
> 
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss


-- Sent from my Cray X1


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à