[Csnd] denormal compile error

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] denormal compile error

rmgls
   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
[hidden email]

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] denormal compile error

Victor Lazzarini-2
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 <[hidden email]> 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
> [hidden email]
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] denormal compile error

Victor Lazzarini-2
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 <[hidden email]> 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 <[hidden email]> 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
>> [hidden email]
>>
>> Csound mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] denormal compile error

Victor Lazzarini-2
In reply to this post by rmgls
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 <[hidden email]> 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
> [hidden email]
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] denormal compile error

Victor Lazzarini-2
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 <[hidden email]> 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 <[hidden email]> 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
>> [hidden email]
>>
>> Csound mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] denormal compile error

rmgls
Hi Victor,

THanks, works fine now.

Raoul



On 25 Apr 2018, at 17:36, Victor Lazzarini <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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
[hidden email]

Csound mailing list
[hidden email]
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
[hidden email]
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
[hidden email]
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 [hidden email] 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