mherger wrote: 
> Well, that certainly would be an option. But it's a pity that would be
> needed. From all the googling I've done it seems 10.7 _should_ work.
> I'll try to figure out more.
> 
> No way to update the machine to a newer macOS? (But then I can't even
> say whether 10.8 would behave any better...  I'm at 10.11 and more
> recent on all my machines...)

I ran into the illegal instruction issue with the macOS jivelite luajit
library recently on 10.11.

The newer xcode compiler enables many cpu instruction features if you
don't force an architecture in CFLAGS.  See the additional sse and mov
options with native.


Code:
--------------------
    
  gcc *-march=native* -E -v - </dev/null 2>&1 | grep cc1
  
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
 -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage 
-Werror=deprecated-objc-isa-usage -E -disable-free -disable-llvm-verifier 
-main-file-name - -mrelocation-model pic -pic-level 2 -mthread-model posix 
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu penryn 
-target-feature -sse4a -target-feature -avx512bw -target-feature +cx16 
-target-feature -tbm -target-feature -xsave -target-feature -fma4 
-target-feature -avx512vl -target-feature -prfchw -target-feature -bmi2 
-target-feature -adx -target-feature -xsavec -target-feature -fsgsbase 
-target-feature -avx -target-feature -avx512cd -target-feature -avx512pf 
-target-feature -rtm -target-feature -popcnt -target-feature -fma 
-target-feature -bmi -target-feature -aes -target-feature -rdrnd 
-target-feature -xsaves -target-feature +sse4.1 -target-feature -sse4.2 
-target-feature -avx2 -target-feature -avx512er -targ
 et-feature +sse -target-feature -lzcnt -target-feature -pclmul -target-feature 
-avx512f -target-feature -f16c -target-feature +ssse3 -target-feature +mmx 
-target-feature +cmov -target-feature -xop -target-feature -rdseed 
-target-feature -movbe -target-feature -hle -target-feature -xsaveopt 
-target-feature -sha -target-feature +sse2 -target-feature +sse3 
-target-feature -avx512dq -target-linker-version 264.3.102 -v 
-dwarf-column-info -resource-dir 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0
 -fdebug-compilation-dir /Users/ralphy -ferror-limit 19 -fmessage-length 0 
-stack-protector 1 -fblocks -fobjc-runtime=macosx-10.11.0 
-fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option 
-o - -x c -
  clang -cc1 version 7.3.0 (clang-703.0.31) default target 
x86_64-apple-darwin15.6.0
--------------------




Code:
--------------------
    gcc *-march=core2* -E -v - </dev/null 2>&1 | grep cc1
  
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
 -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage 
-Werror=deprecated-objc-isa-usage -E -disable-free -disable-llvm-verifier 
-main-file-name - -mrelocation-model pic -pic-level 2 -mthread-model posix 
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 
-target-linker-version 264.3.102 -v -dwarf-column-info -resource-dir 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0
 -fdebug-compilation-dir /Users/ralphy -ferror-limit 19 -fmessage-length 0 
-stack-protector 1 -fblocks -fobjc-runtime=macosx-10.11.0 
-fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option 
-o - -x c -
  clang -cc1 version 7.3.0 (clang-703.0.31) default target 
x86_64-apple-darwin15.6.0
  
--------------------



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to