compiling with Lion, first impressions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling with Lion, first impressions

EstebanLM

Hi,
after a couple of hours playing with Lion, here some experience collected:

1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
2) B3DAcceleratorPlugin does not compiles anymore
3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
4) Is looking cool with full screen mode :)

to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.

cheers,
Esteban


Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

Igor Stasenko

On 22 July 2011 01:14, Esteban Lorenzano <[hidden email]> wrote:
>
> Hi,
> after a couple of hours playing with Lion, here some experience collected:
>
> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2

ages? hmm.. last time i tried to build VM using llvm compiler i felt
its even faster than gcc.
(and much nicer error messages... for console.. but not for log :)

> 2) B3DAcceleratorPlugin does not compiles anymore
> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
> 4) Is looking cool with full screen mode :)
>
> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>
> cheers,
> Esteban
>
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

Andreas.Raab
In reply to this post by EstebanLM
 
On 7/22/2011 0:14, Esteban Lorenzano wrote:
>
> Hi,
> after a couple of hours playing with Lion, here some experience collected:
>
> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
> 2) B3DAcceleratorPlugin does not compiles anymore

Any error messages you'd like to share?

Cheers,
   - Andreas

> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
> 4) Is looking cool with full screen mode :)
>
> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>
> cheers,
> Esteban
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

EstebanLM

Hi,

 <AGL/gl.h> now is <OpenGL/gl.h>, once changed that, the error I'm getting is:

error: 'useTempMem' undeclared (first use in this function)

why this error was not present with older xcode versions, remains a mystery for me :)

cheers,
Esteban

El 22/07/2011, a las 2:57a.m., Andreas Raab escribió:

> On 7/22/2011 0:14, Esteban Lorenzano wrote:
>>
>> Hi,
>> after a couple of hours playing with Lion, here some experience collected:
>>
>> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
>> 2) B3DAcceleratorPlugin does not compiles anymore
>
> Any error messages you'd like to share?
>
> Cheers,
>  - Andreas
>
>> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
>> 4) Is looking cool with full screen mode :)
>>
>> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>>
>> cheers,
>> Esteban
>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

Mathieu SUEN
In reply to this post by Igor Stasenko

Hi Igor

Weren't you using llvm-clang?
It is different from llvm-gcc.
With Clang you get nicer  parse error whereas with llvm-gcc it use gcc
for the parser and IR generator.

Regards

-- Mathieu

2011/7/22 Igor Stasenko <[hidden email]>:

>
> On 22 July 2011 01:14, Esteban Lorenzano <[hidden email]> wrote:
>>
>> Hi,
>> after a couple of hours playing with Lion, here some experience collected:
>>
>> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
>
> ages? hmm.. last time i tried to build VM using llvm compiler i felt
> its even faster than gcc.
> (and much nicer error messages... for console.. but not for log :)
>
>> 2) B3DAcceleratorPlugin does not compiles anymore
>> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
>> 4) Is looking cool with full screen mode :)
>>
>> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>>
>> cheers,
>> Esteban
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

Igor Stasenko

On 25 July 2011 14:39, Mathieu SUEN <[hidden email]> wrote:
>
> Hi Igor
>
> Weren't you using llvm-clang?
> It is different from llvm-gcc.
> With Clang you get nicer  parse error whereas with llvm-gcc it use gcc
> for the parser and IR generator.
>

i just set the compiler to clang.. and it was built using it.
i don't know much details who does what  :)

See

StackCocoaIOSCLANGConfig

in CMakeVMMaker package.

> Regards
>
> -- Mathieu
>
> 2011/7/22 Igor Stasenko <[hidden email]>:
>>
>> On 22 July 2011 01:14, Esteban Lorenzano <[hidden email]> wrote:
>>>
>>> Hi,
>>> after a couple of hours playing with Lion, here some experience collected:
>>>
>>> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
>>
>> ages? hmm.. last time i tried to build VM using llvm compiler i felt
>> its even faster than gcc.
>> (and much nicer error messages... for console.. but not for log :)
>>
>>> 2) B3DAcceleratorPlugin does not compiles anymore
>>> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
>>> 4) Is looking cool with full screen mode :)
>>>
>>> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>>>
>>> cheers,
>>> Esteban
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

EstebanLM
In reply to this post by Mathieu SUEN

Hi,
using llvm-gcc I can compile it (without the b3d plugin), but vm crashes when trying to open any image.
I still didn't figure out why.

cheers,
Esteban

El 25/07/2011, a las 9:39a.m., Mathieu SUEN escribió:

>
> Hi Igor
>
> Weren't you using llvm-clang?
> It is different from llvm-gcc.
> With Clang you get nicer  parse error whereas with llvm-gcc it use gcc
> for the parser and IR generator.
>
> Regards
>
> -- Mathieu
>
> 2011/7/22 Igor Stasenko <[hidden email]>:
>>
>> On 22 July 2011 01:14, Esteban Lorenzano <[hidden email]> wrote:
>>>
>>> Hi,
>>> after a couple of hours playing with Lion, here some experience collected:
>>>
>>> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
>>
>> ages? hmm.. last time i tried to build VM using llvm compiler i felt
>> its even faster than gcc.
>> (and much nicer error messages... for console.. but not for log :)
>>
>>> 2) B3DAcceleratorPlugin does not compiles anymore
>>> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
>>> 4) Is looking cool with full screen mode :)
>>>
>>> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>>>
>>> cheers,
>>> Esteban
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>

Reply | Threaded
Open this post in threaded view
|

Re: compiling with Lion, first impressions

johnmci

At wwdc 09 I observed the same thing talked to the engineers they said can you point to the bad compile c code line?

Sent from my iPhone

On Jul 25, 2011, at 9:22 AM, Esteban Lorenzano <[hidden email]> wrote:

>
> Hi,
> using llvm-gcc I can compile it (without the b3d plugin), but vm crashes when trying to open any image.
> I still didn't figure out why.
>
> cheers,
> Esteban
>
> El 25/07/2011, a las 9:39a.m., Mathieu SUEN escribió:
>
>>
>> Hi Igor
>>
>> Weren't you using llvm-clang?
>> It is different from llvm-gcc.
>> With Clang you get nicer  parse error whereas with llvm-gcc it use gcc
>> for the parser and IR generator.
>>
>> Regards
>>
>> -- Mathieu
>>
>> 2011/7/22 Igor Stasenko <[hidden email]>:
>>>
>>> On 22 July 2011 01:14, Esteban Lorenzano <[hidden email]> wrote:
>>>>
>>>> Hi,
>>>> after a couple of hours playing with Lion, here some experience collected:
>>>>
>>>> 1) new default compiler llvm-gcc compiles (takes ages), but vm hangs when trying to open the image. I changed back to gcc-4.2
>>>
>>> ages? hmm.. last time i tried to build VM using llvm compiler i felt
>>> its even faster than gcc.
>>> (and much nicer error messages... for console.. but not for log :)
>>>
>>>> 2) B3DAcceleratorPlugin does not compiles anymore
>>>> 3) vm performance seems to be a bit lower... but not so much (and I'm not sure).
>>>> 4) Is looking cool with full screen mode :)
>>>>
>>>> to make this version build in hudson, we need to update sdk in server... but please don't do it now... I need to play a little bit more with this before switch hudson builds to lion, for instance I have to make B3D plugin work... and I need to test other plugins.
>>>>
>>>> cheers,
>>>> Esteban
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>