Csound Csound-dev Csound-tekno Search About

[Cs-dev] Csound5 build is broken, please revert

Date2010-09-16 23:29
FromVictor Lazzarini
Subject[Cs-dev] Csound5 build is broken, please revert
Mike,

I can't build Csound on OSX 10.5:

g++ -o Opcodes/fluidOpcodes/fluidOpcodes.os -c -O3 -arch i386 -arch  
ppc -fabi-version=0 -fno-strict-aliasing -fno-strict-aliasing -O3 - 
arch i386 -arch ppc -ftree-vectorize -ffast-math -fomit-frame-pointer - 
freorder-blocks -DMACOSX -DPIPES -fno-strict-aliasing -fno-strict- 
aliasing -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DINC_MP3 - 
DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H - 
DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. - 
IH -I/usr/include/malloc -I/opt/local/include/boost-1_32 -I/usr/local/ 
include -I/usr/local/include Opcodes/fluidOpcodes/fluidOpcodes.cpp
cc1plus: warning: -ftree-vectorize enables strict aliasing. -fno- 
strict-aliasing is ignored when Auto Vectorization is used.
cc1plus: warning: -ftree-vectorize enables strict aliasing. -fno- 
strict-aliasing is ignored when Auto Vectorization is used.
Opcodes/fluidOpcodes/fluidOpcodes.cpp:42:17: error: omp.h: No such  
file or directory
Opcodes/fluidOpcodes/fluidOpcodes.cpp:42:17: error: omp.h: No such  
file or directory

I don't think the OSX 10.5 version of gcc has omp.h; can you please  
revert and protect the code?

Victor

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-16 23:45
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound5 build is broken, please revert
Never mind, I've fixed it myself. In CVS now.

Victor

On 16 Sep 2010, at 23:29, Victor Lazzarini wrote:

> Mike,
>
> I can't build Csound on OSX 10.5:
>
> g++ -o Opcodes/fluidOpcodes/fluidOpcodes.os -c -O3 -arch i386 -arch
> ppc -fabi-version=0 -fno-strict-aliasing -fno-strict-aliasing -O3 -
> arch i386 -arch ppc -ftree-vectorize -ffast-math -fomit-frame- 
> pointer -
> freorder-blocks -DMACOSX -DPIPES -fno-strict-aliasing -fno-strict-
> aliasing -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DINC_MP3 -
> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H - 
> I. -
> IH -I/usr/include/malloc -I/opt/local/include/boost-1_32 -I/usr/local/
> include -I/usr/local/include Opcodes/fluidOpcodes/fluidOpcodes.cpp
> cc1plus: warning: -ftree-vectorize enables strict aliasing. -fno-
> strict-aliasing is ignored when Auto Vectorization is used.
> cc1plus: warning: -ftree-vectorize enables strict aliasing. -fno-
> strict-aliasing is ignored when Auto Vectorization is used.
> Opcodes/fluidOpcodes/fluidOpcodes.cpp:42:17: error: omp.h: No such
> file or directory
> Opcodes/fluidOpcodes/fluidOpcodes.cpp:42:17: error: omp.h: No such
> file or directory
>
> I don't think the OSX 10.5 version of gcc has omp.h; can you please
> revert and protect the code?
>
> Victor
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-17 00:15
FromRichard Dobson
SubjectRe: [Cs-dev] Csound5 build is broken, please revert
On 16/09/2010 23:29, Victor Lazzarini wrote:
..
>
> I don't think the OSX 10.5 version of gcc has omp.h; can you please
> revert and protect the code?
>


gcc 4.2 has it. I ran a beta of 4.3 on Leopard with no problems, 
expressly to explore OpenMP, so 4.2 should be fine.

Richard Dobson




------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-09-17 08:18
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound5 build is broken, please revert
That's fair enough, I'm installing 4.2 now, but still it's important  
to protect the sources because there are systems
for which this might not be possible. I have placed checks on  
SConstruct. Something to bear in mind when updating
Csound code to use newer technology or libraries.

Victor
On 17 Sep 2010, at 00:15, Richard Dobson wrote:

> On 16/09/2010 23:29, Victor Lazzarini wrote:
> ..
>>
>> I don't think the OSX 10.5 version of gcc has omp.h; can you please
>> revert and protect the code?
>>
>
>
> gcc 4.2 has it. I ran a beta of 4.3 on Leopard with no problems,
> expressly to explore OpenMP, so 4.2 should be fine.
>
> Richard Dobson
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net