[Ecls-list] Issues with building ECL v9.10.2 on OpenSolaris x86

Semih Cemiloglu Semih.Cemiloglu at nec.com.au
Sun Oct 18 22:57:02 UTC 2009


Hi,

I'm writing to confirm that ECL builds on OpenSolaris-x86 using the source tree obtained on 2009-10-14 via git.
The commands to build it were:

# Using Sun Studio 12 Update 1 C/C++ compilers
export CC="cc -xc99=all"
export CXX=CC

# --with-dffi=no is required to bypass inline assembly errors
./configure --enable-slow-config --with-system-gmp=no  --with-dffi=no --prefix=$HOME/local/ecl-9.10.2 2>&1 |tee conf.log

# make is Gnu-Make v3.81
make 2>&1 |tee make.log  
make install 2>&1 |tee inst.log

# This is required to resolve dynamic libraries at run-time
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/ecl-9.10.2/lib



Kind regards,
Semih Cemiloglu

-----Original Message-----
From: Juan Jose Garcia-Ripoll [mailto:juanjose.garciaripoll at googlemail.com] 
Sent: Monday, 12 October 2009 10:02 PM
To: Semih Cemiloglu
Cc: list-ecl
Subject: Re: Issues with building ECL v9.10.2 on OpenSolaris x86

Could you try building from GIT/CVS using --with-dffi=no?

Juanjo

On Mon, Oct 12, 2009 at 2:24 AM, Semih Cemiloglu
<semihc at necaus.nec.com.au> wrote:
> Dear ECL Users,
>
> Firstly, thanks to Mr. Garcia-Ripoll and all ECL contributors for the
> new release.
>
> I'm trying to build ECL v9.10.2 on OpenSolaris x86 with Sun Studio (v12
> update 1) C/C++ compilers.
> Compiler versions are as follows:
>
> $ cc -V
> cc: Sun C 5.10 SunOS_i386 2009/06/03
> $ CC -V
> CC: Sun C++ 5.10 SunOS_i386 2009/06/03
>
> Before configure I set following environment variables
> # -xc99 flag is used to obtain full C99 compliance
> $ export CC="cc -xc99=all"
> $ export CXX=CC
>
> To build I executed following commands:
>
> a) ./configure --enable-slow-config --with-system-gmp=no
> --prefix=$HOME/local/ecl-9.10.2 2>&1 |tee conf.log
>
> # We use Gnu-make v3.81
> b) make 2>&1 |tee make.log
>
>
> Step (a) completes successfully. However, step (b) fails with an error
> message given below.
> ...
> dpp: /export/home/semihc/Packages/ecl-9.10.2/src/c/arch/ffi_x86.d ->
> ffi_x86.c
> cc -xc99=all
> -DECLDIR="\"/export/home/semihc/local/ecl-9.10.2/lib/ecl-9.10.2\"" -I.
> -I/export/home/semihc/Packages/ecl-9.10.2/build
> -I/export/home/semihc/Packages/ecl-9.10.2/src/c -I../ecl/gc -DECL_API
> -DECL_NO_LEGACY -g -fPIC -g -fPIC -Dsun4sol2 -c  -o ffi_x86.o ffi_x86.c
> "/export/home/semihc/Packages/ecl-9.10.2/src/c/arch/ffi_x86.d", line
> 230: syntax error before or at: asm
> "/export/home/semihc/Packages/ecl-9.10.2/src/c/arch/ffi_x86.d", line
> 249: syntax error before or at: asm
> "/export/home/semihc/Packages/ecl-9.10.2/src/c/arch/ffi_x86.d", line
> 250: only one storage class allowed
> "/export/home/semihc/Packages/ecl-9.10.2/src/c/arch/ffi_x86.d", line
> 250: invalid type combination
> "/export/home/semihc/Packages/ecl-9.10.2/src/c/arch/ffi_x86.d", line
> 250: syntax error before or at: asm
> cc: acomp failed for ffi_x86.c
> make[2]: *** [ffi_x86.o] Error 1
> make[2]: Leaving directory
> `/export/home/semihc/Packages/ecl-9.10.2/build/c'
> make[1]: *** [libeclmin.a] Error 2
> make[1]: Leaving directory
> `/export/home/semihc/Packages/ecl-9.10.2/build'
> make: *** [all] Error 2
>
>
> I suspect this is something to do with Sun CC an Gcc inline assembly
> code differences.
> I have successfully built ECL v9.10.2 on Solaris 10/sparc with Sun CC
> using the same build steps listed above.
>
> Has anyone any idea how to get around of this problem?
>
>
>
> Kind regards,
> Semih Cemiloglu
>
>
>
> -----Original Message-----
> From: Juan Jose Garcia-Ripoll
> [mailto:juanjose.garciaripoll at googlemail.com]
> Sent: Saturday, 10 October 2009 5:19 AM
> To: list-ecl
> Subject: [Ecls-list] [ANN] ECL v9.10.2
>
>
> This email may be confidential and/or privileged. Only the intended recipient may access or use it. If you are not the intended recipient, please delete this email and notify NEC Australia Pty Ltd promptly. NEC uses antivirus software but excludes all liability for viruses or similar in any attachment.
> Please consider our environment before printing this email.
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list