Problems compiling on 64 bit

5 messages Options
Embed this post
Permalink
Paolo Redaelli

Problems compiling on 64 bit

Reply Threaded More More options
Print post
Permalink
I've encountering some problems compiling SE both snapshots and svn on
my new 64-bit ubuntu intrepid.
I attack here the logs.
The very same tarball compiled on a 32bit box work out-of-the-box.
Packing this installation and moving it into the 64 bit machine provides
an usable enviroment but I wasn't able to compile it on 64bit.
Thanks in advance for your attention..
    Paolo


make_release.log.bz2 (45K) Download Attachment
Guillaume Lemaître-2

Re: Problems compiling on 64 bit

Reply Threaded More More options
Print post
Permalink
I have no issue compiling both 2.3 and latest svn on my x86_64 Fedora
10. The only patch indeed is linked to gcc 4.3 that not allows to
compile SmartEiffel C code with -O2 or -O3.

2008/12/13 Paolo Redaelli <[hidden email]>:
> I've encountering some problems compiling SE both snapshots and svn on my
> new 64-bit ubuntu intrepid.
> I attack here the logs.
> The very same tarball compiled on a 32bit box work out-of-the-box. Packing
> this installation and moving it into the 64 bit machine provides an usable
> enviroment but I wasn't able to compile it on 64bit.
> Thanks in advance for your attention..
>   Paolo
>
Paolo Redaelli

Re: Problems compiling on 64 bit

Reply Threaded More More options
Print post
Permalink
Guillaume Lemaître ha scritto:
> I have no issue compiling both 2.3 and latest svn on my x86_64 Fedora
> 10. The only patch indeed is linked to gcc 4.3 that not allows to
> compile SmartEiffel C code with -O2 or -O3.
>  
Thanks for the hint. I'm not sure but it seems to me I was using the
same version of gcc on both machines. Tomorrow I will check as I cannot
access the other machine right now.

    Paolo
Philippe Ribet

Re: Problems compiling on 64 bit

Reply Threaded More More options
Print post
Permalink
Paolo Redaelli wrote:

> Guillaume Lemaître ha scritto:
>
>> I have no issue compiling both 2.3 and latest svn on my x86_64 Fedora
>> 10. The only patch indeed is linked to gcc 4.3 that not allows to
>> compile SmartEiffel C code with -O2 or -O3.
>>  
>
> Thanks for the hint. I'm not sure but it seems to me I was using the
> same version of gcc on both machines. Tomorrow I will check as I
> cannot access the other machine right now.
>
>
I know there are problems with modern 64 linux releases, but I'm
convinced it's more gcc related problem (note that it can be valid
optimisation applied on tricky C code) that pure 64 problem.

It's my third point on my todo list (first one is eiffeltest).

Best regards,

--

             Philippe Ribet


SmartEiffel:
one methodoology, one language,
highest quality kept secret.
Visit http://smarteiffel.loria.fr


Paolo Redaelli

Re: Problems compiling on 64 bit

Reply Threaded More More options
Print post
Permalink
Il giorno Tue, 16 Dec 2008 08:17:57 +0100
Philippe Ribet <[hidden email]> ha scritto:
> I know there are problems with modern 64 linux releases, but I'm
> convinced it's more gcc related problem (note that it can be valid
> optimisation applied on tricky C code) that pure 64 problem.
>
> It's my third point on my todo list (first one is eiffeltest).

I was able to compile a 64bit version from SVN patching the various
building scripts, actually removing any optimization. I can send you a
diff file this evening if you want (I haven't access to that box right
now).

A long-term option is to turn SmartEiffel into a proper gcc front-end
or to use the compiler infrastructure provided by llvm.org.

Low-level classes to access all the various C functions and structure
could be generated with the (almost finished) eiffel-gcc-xml
(http://svn.gna.org/viewcvs/eiffel-libraries/trunk/tools/)

Thanks for your efforts,
        Paolo