Csound Csound-dev Csound-tekno Search About

[Csnd] denormal compile error

Date2018-04-25 16:21
Fromrmgls
Subject[Csnd] denormal compile error
   Hi all,

just cloned csound from github,
builting on os x 10.13.4, i get 4 errors:
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:85:11: error: '_MM_DENORMALS_ZERO_MASK' macro redefined [-Werror,-Wmacro-redefined]
  #define _MM_DENORMALS_ZERO_MASK   0x0040
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4923:9: note: previous definition is here
#define _MM_DENORMALS_ZERO_MASK (0x0040)
        ^
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:86:11: error: '_MM_DENORMALS_ZERO_ON' macro redefined [-Werror,-Wmacro-redefined]
  #define _MM_DENORMALS_ZERO_ON     0x0040
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4920:9: note: previous definition is here
#define _MM_DENORMALS_ZERO_ON   (0x0040)
        ^
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:87:11: error: '_MM_DENORMALS_ZERO_OFF' macro redefined [-Werror,-Wmacro-redefined]
  #define _MM_DENORMALS_ZERO_OFF    0x0000
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4921:9: note: previous definition is here
#define _MM_DENORMALS_ZERO_OFF  (0x0000)
        ^
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:88:11: error: '_MM_SET_DENORMALS_ZERO_MODE' macro redefined [-Werror,-Wmacro-redefined]
  #define _MM_SET_DENORMALS_ZERO_MODE(mode)                                   \
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4926:9: note: previous definition is here
#define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
        ^
4 errors generated.
make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2


do you get the same?

Thanks

Raoul
rmgls@orange.fr

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-04-25 16:23
FromVictor Lazzarini
SubjectRe: [Csnd] denormal compile error
I got these but I thought I had fixed it in git. I’ll have a look again

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 25 Apr 2018, at 16:21, rmgls  wrote:
> 
>   Hi all,
> 
> just cloned csound from github,
> builting on os x 10.13.4, i get 4 errors:
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:85:11: error: '_MM_DENORMALS_ZERO_MASK' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_DENORMALS_ZERO_MASK   0x0040
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4923:9: note: previous definition is here
> #define _MM_DENORMALS_ZERO_MASK (0x0040)
>        ^
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:86:11: error: '_MM_DENORMALS_ZERO_ON' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_DENORMALS_ZERO_ON     0x0040
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4920:9: note: previous definition is here
> #define _MM_DENORMALS_ZERO_ON   (0x0040)
>        ^
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:87:11: error: '_MM_DENORMALS_ZERO_OFF' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_DENORMALS_ZERO_OFF    0x0000
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4921:9: note: previous definition is here
> #define _MM_DENORMALS_ZERO_OFF  (0x0000)
>        ^
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:88:11: error: '_MM_SET_DENORMALS_ZERO_MODE' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_SET_DENORMALS_ZERO_MODE(mode)                                   \
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4926:9: note: previous definition is here
> #define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
>        ^
> 4 errors generated.
> make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
> make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2
> 
> 
> do you get the same?
> 
> Thanks
> 
> Raoul
> rmgls@orange.fr
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-04-25 16:25
FromVictor Lazzarini
SubjectRe: [Csnd] denormal compile error
Commit ff7cb29 should have fixed it.
Can you check?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 25 Apr 2018, at 16:23, Victor Lazzarini  wrote:
> 
> I got these but I thought I had fixed it in git. I’ll have a look again
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
>> On 25 Apr 2018, at 16:21, rmgls  wrote:
>> 
>>  Hi all,
>> 
>> just cloned csound from github,
>> builting on os x 10.13.4, i get 4 errors:
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:85:11: error: '_MM_DENORMALS_ZERO_MASK' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_DENORMALS_ZERO_MASK   0x0040
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4923:9: note: previous definition is here
>> #define _MM_DENORMALS_ZERO_MASK (0x0040)
>>       ^
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:86:11: error: '_MM_DENORMALS_ZERO_ON' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_DENORMALS_ZERO_ON     0x0040
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4920:9: note: previous definition is here
>> #define _MM_DENORMALS_ZERO_ON   (0x0040)
>>       ^
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:87:11: error: '_MM_DENORMALS_ZERO_OFF' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_DENORMALS_ZERO_OFF    0x0000
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4921:9: note: previous definition is here
>> #define _MM_DENORMALS_ZERO_OFF  (0x0000)
>>       ^
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:88:11: error: '_MM_SET_DENORMALS_ZERO_MODE' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_SET_DENORMALS_ZERO_MODE(mode)                                   \
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4926:9: note: previous definition is here
>> #define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
>>       ^
>> 4 errors generated.
>> make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
>> make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2
>> 
>> 
>> do you get the same?
>> 
>> Thanks
>> 
>> Raoul
>> rmgls@orange.fr
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-04-25 16:27
FromVictor Lazzarini
SubjectRe: [Csnd] denormal compile error
Ops, different file. Might need similar fix.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 25 Apr 2018, at 16:21, rmgls  wrote:
> 
>   Hi all,
> 
> just cloned csound from github,
> builting on os x 10.13.4, i get 4 errors:
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:85:11: error: '_MM_DENORMALS_ZERO_MASK' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_DENORMALS_ZERO_MASK   0x0040
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4923:9: note: previous definition is here
> #define _MM_DENORMALS_ZERO_MASK (0x0040)
>        ^
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:86:11: error: '_MM_DENORMALS_ZERO_ON' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_DENORMALS_ZERO_ON     0x0040
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4920:9: note: previous definition is here
> #define _MM_DENORMALS_ZERO_ON   (0x0040)
>        ^
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:87:11: error: '_MM_DENORMALS_ZERO_OFF' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_DENORMALS_ZERO_OFF    0x0000
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4921:9: note: previous definition is here
> #define _MM_DENORMALS_ZERO_OFF  (0x0000)
>        ^
> In file included from .../csound/interfaces/csPerfThread.cpp:28:
> .../csound/interfaces/csPerfThread.hpp:88:11: error: '_MM_SET_DENORMALS_ZERO_MODE' macro redefined [-Werror,-Wmacro-redefined]
>  #define _MM_SET_DENORMALS_ZERO_MODE(mode)                                   \
>          ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4926:9: note: previous definition is here
> #define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
>        ^
> 4 errors generated.
> make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
> make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2
> 
> 
> do you get the same?
> 
> Thanks
> 
> Raoul
> rmgls@orange.fr
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-04-25 16:36
FromVictor Lazzarini
SubjectRe: [Csnd] denormal compile error
Try now.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 25 Apr 2018, at 16:27, Victor Lazzarini  wrote:
> 
> Ops, different file. Might need similar fix.
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
>> On 25 Apr 2018, at 16:21, rmgls  wrote:
>> 
>>  Hi all,
>> 
>> just cloned csound from github,
>> builting on os x 10.13.4, i get 4 errors:
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:85:11: error: '_MM_DENORMALS_ZERO_MASK' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_DENORMALS_ZERO_MASK   0x0040
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4923:9: note: previous definition is here
>> #define _MM_DENORMALS_ZERO_MASK (0x0040)
>>       ^
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:86:11: error: '_MM_DENORMALS_ZERO_ON' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_DENORMALS_ZERO_ON     0x0040
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4920:9: note: previous definition is here
>> #define _MM_DENORMALS_ZERO_ON   (0x0040)
>>       ^
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:87:11: error: '_MM_DENORMALS_ZERO_OFF' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_DENORMALS_ZERO_OFF    0x0000
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4921:9: note: previous definition is here
>> #define _MM_DENORMALS_ZERO_OFF  (0x0000)
>>       ^
>> In file included from .../csound/interfaces/csPerfThread.cpp:28:
>> .../csound/interfaces/csPerfThread.hpp:88:11: error: '_MM_SET_DENORMALS_ZERO_MODE' macro redefined [-Werror,-Wmacro-redefined]
>> #define _MM_SET_DENORMALS_ZERO_MODE(mode)                                   \
>>         ^
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4926:9: note: previous definition is here
>> #define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
>>       ^
>> 4 errors generated.
>> make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
>> make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2
>> 
>> 
>> do you get the same?
>> 
>> Thanks
>> 
>> Raoul
>> rmgls@orange.fr
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-04-25 17:26
Fromrmgls
SubjectRe: [Csnd] denormal compile error
Hi Victor,

THanks, works fine now.

Raoul



On 25 Apr 2018, at 17:36, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

Try now.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 25 Apr 2018, at 16:27, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

Ops, different file. Might need similar fix.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 25 Apr 2018, at 16:21, rmgls <rmgls@ORANGE.FR> wrote:

Hi all,

just cloned csound from github,
builting on os x 10.13.4, i get 4 errors:
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:85:11: error: '_MM_DENORMALS_ZERO_MASK' macro redefined [-Werror,-Wmacro-redefined]
#define _MM_DENORMALS_ZERO_MASK   0x0040
       ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4923:9: note: previous definition is here
#define _MM_DENORMALS_ZERO_MASK (0x0040)
     ^
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:86:11: error: '_MM_DENORMALS_ZERO_ON' macro redefined [-Werror,-Wmacro-redefined]
#define _MM_DENORMALS_ZERO_ON     0x0040
       ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4920:9: note: previous definition is here
#define _MM_DENORMALS_ZERO_ON   (0x0040)
     ^
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:87:11: error: '_MM_DENORMALS_ZERO_OFF' macro redefined [-Werror,-Wmacro-redefined]
#define _MM_DENORMALS_ZERO_OFF    0x0000
       ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4921:9: note: previous definition is here
#define _MM_DENORMALS_ZERO_OFF  (0x0000)
     ^
In file included from .../csound/interfaces/csPerfThread.cpp:28:
.../csound/interfaces/csPerfThread.hpp:88:11: error: '_MM_SET_DENORMALS_ZERO_MODE' macro redefined [-Werror,-Wmacro-redefined]
#define _MM_SET_DENORMALS_ZERO_MODE(mode)                                   \
       ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/emmintrin.h:4926:9: note: previous definition is here
#define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))
     ^
4 errors generated.
make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2


do you get the same?

Thanks

Raoul
rmgls@orange.fr

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
     https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here