Re: Fw: Anyone building 6.0 release for OS X?

5 Messages Forum Options Options
Permalink
roederja
Re: Fw: Anyone building 6.0 release for OS X?
Reply Threaded More
Print post
Permalink
I know it's been a while, but the newsserver was down and so I missed
the message.

I fixed the issues with the launcher scripts, I did not bump the
revision of the portfile, though. This little fix does not justify a 7
hours rebuild.

The problem that you can't precompile as a normal user is not a bug but
a feature. Since EiffelStudio is installed in a global directory,
ordinary users don't have write access there. So in order to precompile
the library launch estudio as root (sudo estudio). I wonder how this is
handeled on Linux.

I couldn't figure out the linker problems when freezing a project that
uses the precompiled vision library. I posted on several mailinglists,
but no answer. I suspect this is another size limit of some kind, since
the preobj.o is over 100 MB in size...

Jann

Peter Gummer wrote:
> Hi Jann,
>
> Manu suggested that you might be interested in some of the issues that I
> reported in the last message below.
>
> Regards,
> Peter
>
> ----- Original Message ----- From: "Peter Gummer"
<p-gummer@...>

> To: <es-devel@...>
> Sent: Friday, July 06, 2007 11:53 PM
> Subject: Re: [Es-devel] Anyone building 6.0 release for OS X?
>
>
>> I had assumed that Jann would read this list, but I'll forward this
>> message to him.
>>
>> There are hundreds of errors freezing a project that uses the
>> precompiled vision2. They are all similar to this:
>>
>> /usr/bin/ld:
>>
/Applications/MacPorts/Eiffel60/precomp/spec/macosx-ppc/EIFGENs/vision2/W_code/preobj.o

>> malformed object, illegal reference (reference to a symbol stub not at
>> the start of the stub from section __TEXT,__text) relocation entry
>> (6938622))
>>
>> - Peter Gummer
>>
>>
>> ----- Original Message ----- From: "Emmanuel Stapf [ES]"
>> <manus@...>
>> To: "'Peter Gummer'" <p-gummer@...>; <es-devel@...>
>> Sent: Friday, July 06, 2007 5:23 AM
>> Subject: RE: [Es-devel] Anyone building 6.0 release for OS X?
>>
>>
>>> Thanks for the update. Did you contact Jann directly to report those
>>> issues? I just want to make sure that they do not get lost.
>>>
>>> Also I'm curious to know why the precompiled fails since adding the
>>> `-mlongcall'
>>> should have fixed the linker issues we were facing trying to link
>>> EiffelStudio.
>>> But maybe that's a different error?
>>>
>>> Thanks,
>>> Manu
>>>
>>>> -----Original Message-----
>>>> From: es-devel-bounces@...
>>>> [mailto:es-devel-bounces@...] On Behalf Of Peter Gummer
>>>> Sent: Thursday, June 28, 2007 1:37 AM
>>>> To: es-devel@...
>>>> Subject: Re: [Es-devel] Anyone building 6.0 release for OS X?
>>>>
>>>> I wrote:
>>>> >
>>>> > I'm doing "sudo port install eiffelstudio" right now. When
>>>> it's done,
>>>> > I'll report back to the mailing list how long it takes.
>>>>
>>>> On my 800 MHz G4, it took 7 hours and 10 minutes. Not too bad
>>>> as an overnight job. Thanks to Jann for providing this!
>>>>
>>>> I noticed that it had not precompiled base and vision2. I did
>>>> so manually, but first I had to "sudo chmod 777
>>>> /Applications/MacPorts/Eiffel60/precomp/spec/macosx-ppc/".
>>>>
>>>> But of course, this being the PowerPC version, you can't
>>>> really use precompiled libraries because you get linker
>>>> errors. I forgot this, but I at least I've confirmed that
>>>> this problem still exists.
>>>>
>>>> I notice that a finalised build of my Vision2 application is
>>>> now 10.1 MB, whereas in 5.7 it was 7.4 MB. I've noticed that
>>>> config.sh now uses -mlongcall in the ccflags variable. My app
>>>> is now bigger, but it seems no slower. Also, I am now able to
>>>> freeze it, which I was having difficulty doing in 5.7. This
>>>> is an improvement.
>>>>
>>>> I like the new directory arrangement, with the EiffelStudio
>>>> directories easily accessible at the top level rather than
>>>> hidden inside EiffelStudio.app.
>>>>
>>>> There are a couple of mistakes in the EiffelLauncher script.
>>>> The EiffelBuild and EiffelVision2_Demo packages don't work
>>>> because build has been renamed to esbuilder and tour has been
>>>> renamed to demo.
>>>>
>>>> - Peter Gummer
>>
>>
>> _______________________________________________
>> Es-devel mailing list
>> Es-devel@...
>> http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
>>
>
>
_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel



roederja
Re: Fw: Anyone building 6.0 release for OS X?
Reply Threaded More
Print post
Permalink
About the linking issue:
Since I could not find anything about it on google. The only way to move
forward with this issue seems to be to file an ADC technical support
incident, however that would cost $195, or someone gets an ADC membership.

Jann

Jann Röder wrote:

> I know it's been a while, but the newsserver was down and so I missed
> the message.
>
> I fixed the issues with the launcher scripts, I did not bump the
> revision of the portfile, though. This little fix does not justify a 7
> hours rebuild.
>
> The problem that you can't precompile as a normal user is not a bug but
> a feature. Since EiffelStudio is installed in a global directory,
> ordinary users don't have write access there. So in order to precompile
> the library launch estudio as root (sudo estudio). I wonder how this is
> handeled on Linux.
>
> I couldn't figure out the linker problems when freezing a project that
> uses the precompiled vision library. I posted on several mailinglists,
> but no answer. I suspect this is another size limit of some kind, since
> the preobj.o is over 100 MB in size...
>
> Jann
>
> Peter Gummer wrote:
>> Hi Jann,
>>
>> Manu suggested that you might be interested in some of the issues that I
>> reported in the last message below.
>>
>> Regards,
>> Peter
>>
>> ----- Original Message ----- From: "Peter Gummer"
> <p-gummer@...>
>> To: <es-devel@...>
>> Sent: Friday, July 06, 2007 11:53 PM
>> Subject: Re: [Es-devel] Anyone building 6.0 release for OS X?
>>
>>
>>> I had assumed that Jann would read this list, but I'll forward this
>>> message to him.
>>>
>>> There are hundreds of errors freezing a project that uses the
>>> precompiled vision2. They are all similar to this:
>>>
>>> /usr/bin/ld:
>>>
> /Applications/MacPorts/Eiffel60/precomp/spec/macosx-ppc/EIFGENs/vision2/W_code/preobj.o
>>> malformed object, illegal reference (reference to a symbol stub not at
>>> the start of the stub from section __TEXT,__text) relocation entry
>>> (6938622))
>>>
>>> - Peter Gummer
>>>
>>>
>>> ----- Original Message ----- From: "Emmanuel Stapf [ES]"
>>> <manus@...>
>>> To: "'Peter Gummer'" <p-gummer@...>; <es-devel@...>
>>> Sent: Friday, July 06, 2007 5:23 AM
>>> Subject: RE: [Es-devel] Anyone building 6.0 release for OS X?
>>>
>>>
>>>> Thanks for the update. Did you contact Jann directly to report those
>>>> issues? I just want to make sure that they do not get lost.
>>>>
>>>> Also I'm curious to know why the precompiled fails since adding the
>>>> `-mlongcall'
>>>> should have fixed the linker issues we were facing trying to link
>>>> EiffelStudio.
>>>> But maybe that's a different error?
>>>>
>>>> Thanks,
>>>> Manu
>>>>
>>>>> -----Original Message-----
>>>>> From: es-devel-bounces@...
>>>>> [mailto:es-devel-bounces@...] On Behalf Of Peter Gummer
>>>>> Sent: Thursday, June 28, 2007 1:37 AM
>>>>> To: es-devel@...
>>>>> Subject: Re: [Es-devel] Anyone building 6.0 release for OS X?
>>>>>
>>>>> I wrote:
>>>>>> I'm doing "sudo port install eiffelstudio" right now. When
>>>>> it's done,
>>>>>> I'll report back to the mailing list how long it takes.
>>>>> On my 800 MHz G4, it took 7 hours and 10 minutes. Not too bad
>>>>> as an overnight job. Thanks to Jann for providing this!
>>>>>
>>>>> I noticed that it had not precompiled base and vision2. I did
>>>>> so manually, but first I had to "sudo chmod 777
>>>>> /Applications/MacPorts/Eiffel60/precomp/spec/macosx-ppc/".
>>>>>
>>>>> But of course, this being the PowerPC version, you can't
>>>>> really use precompiled libraries because you get linker
>>>>> errors. I forgot this, but I at least I've confirmed that
>>>>> this problem still exists.
>>>>>
>>>>> I notice that a finalised build of my Vision2 application is
>>>>> now 10.1 MB, whereas in 5.7 it was 7.4 MB. I've noticed that
>>>>> config.sh now uses -mlongcall in the ccflags variable. My app
>>>>> is now bigger, but it seems no slower. Also, I am now able to
>>>>> freeze it, which I was having difficulty doing in 5.7. This
>>>>> is an improvement.
>>>>>
>>>>> I like the new directory arrangement, with the EiffelStudio
>>>>> directories easily accessible at the top level rather than
>>>>> hidden inside EiffelStudio.app.
>>>>>
>>>>> There are a couple of mistakes in the EiffelLauncher script.
>>>>> The EiffelBuild and EiffelVision2_Demo packages don't work
>>>>> because build has been renamed to esbuilder and tour has been
>>>>> renamed to demo.
>>>>>
>>>>> - Peter Gummer
>>>
>>> _______________________________________________
>>> Es-devel mailing list
>>> Es-devel@...
>>> http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
>>>
>>
_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel



Peter Gummer-2
Re: Fw: Anyone building 6.0 release for OS X?
Reply Threaded More
Print post
Permalink
Jann Röder wrote:

> The problem that you can't precompile as a normal user is not a bug
> but a feature. Since EiffelStudio is installed in a global directory,
> ordinary users don't have write access there. So in order to
> precompile the library launch estudio as root (sudo estudio).

Hi Jann,

I didn't notice the "sudo estudio" note on http://dev.eiffel.com/EiffelOnMac 
until after I had sent that email; it would have been a bit easier than my
chmod solution. But, in my opinion, "sudo port install eiffelstudio" should
build the precompiled libraries.

Given the linker problem on PowerPCs, however, building the precompiles on a
PowerPC would be a waste of time.

> About the linking issue:
> Since I could not find anything about it on google. The only
> way to move forward with this issue seems to be to file an
> ADC technical support incident ...

I think the best fix for it is to buy an Intel Mac. I don't do any real
development on my old PowerPC anyway: just batch builds. It's far too slow.
I'm planning to but an Intel Mac later this year.

- Peter Gummer


_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel
roederja
Re: Fw: Anyone building 6.0 release for OS X?
Reply Threaded More
Print post
Permalink
Peter Gummer wrote:
> I didn't notice the "sudo estudio" note on
> http://dev.eiffel.com/EiffelOnMac until after I had sent that email; it
> would have been a bit easier than my chmod solution. But, in my opinion,
> "sudo port install eiffelstudio" should build the precompiled libraries.

Hm, does the windows installer do this ? How is that handeled on Linux ?

> Given the linker problem on PowerPCs, however, building the precompiles
> on a PowerPC would be a waste of time.

Well they do work, only freezing doesn't work. At least I could create a
new vision2 project and launch it without any additional C compilation
after I had precompiled the vision2 and base library.

Jann
_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel



Peter Gummer-2
Re: Fw: Anyone building 6.0 release for OS X?
Reply Threaded More
Print post
Permalink
Jann Röder wrote:
>> ... in my opinion, "sudo port install eiffelstudio"
>> should build the precompiled libraries.
>
> Hm, does the windows installer do this ?
> How is that handeled on Linux ?

I don't know about Linux, but the Windows installer gives the option of
which precompiles to build. By default, it builds all of them: base, wel and
vision2.

- Peter Gummer


_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel