Comments (7)
@wernermorgenstern can you please run gcc -march=native -Q --help=target
and paste here the output?
from dragonfly.
gcc -march=native -Q --help=target
clang: error: unsupported option '--help=target'
clang: error: no input files
from dragonfly.
ok, then the output of echo | clang -E - -march=native -###
?
from dragonfly.
@romange ,
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/clang" "-cc1" "-triple" "arm64-apple-macosx14.0.0" "-Wundef-prefix=TARGET_OS_" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-Werror=implicit-function-declaration" "-E" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "-" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-fno-strict-return" "-ffp-contract=on" "-fno-rounding-math" "-funwind-tables=1" "-fobjc-msgsend-selector-stubs" "-target-sdk-version=14.4" "-fvisibility-inlines-hidden-static-local-var" "-target-cpu" "apple-m1" "-target-feature" "+neon" "-target-feature" "+v8.5a" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-abi" "darwinpcs" "-debugger-tuning=lldb" "-target-linker-version" "1053.12" "-fcoverage-compilation-dir=/Users/wernermorgenstern/Repos/dragonfly" "-resource-dir" "/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0" "-isysroot" "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" "-I/usr/local/include" "-internal-isystem" "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/local/include" "-internal-isystem" "/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include" "-internal-externc-isystem" "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include" "-internal-externc-isystem" "/Library/Developer/CommandLineTools/usr/include" "-Wno-reorder-init-list" "-Wno-implicit-int-float-conversion" "-Wno-c99-designator" "-Wno-final-dtor-non-final-class" "-Wno-extra-semi-stmt" "-Wno-misleading-indentation" "-Wno-quoted-include-in-framework-header" "-Wno-implicit-fallthrough" "-Wno-enum-enum-conversion" "-Wno-enum-float-conversion" "-Wno-elaborated-enum-base" "-Wno-reserved-identifier" "-Wno-gnu-folding-constant" "-fdebug-compilation-dir=/Users/wernermorgenstern/Repos/dragonfly" "-ferror-limit" "19" "-stack-protector" "1" "-fstack-check" "-mdarwin-stkchk-strong-link" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-dtors-with-atexit" "-fgnuc-version=4.2.1" "-fmax-type-align=16" "-fcommon" "-fcolor-diagnostics" "-clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation" "-fno-odr-hash-protocols" "-clang-vendor-feature=+enableAggressiveVLAFolding" "-clang-vendor-feature=+revert09abecef7bbf" "-clang-vendor-feature=+thisNoAlignAttr" "-clang-vendor-feature=+thisNoNullAttr" "-mllvm" "-disable-aligned-alloc-awareness=1" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "-" "-x" "c" "-"
from dragonfly.
@wernermorgenstern it seems you are running emulated x86 on your arm64 mac. It's unnecessary as Dragonfly docker has native arm64 support. Try running without the emulation with --platform linux/arm64
from dragonfly.
When I run this command:
docker run --privileged -p 6379:6379 --platform linux/arm/v8 --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly
I get this error:
Unable to find image 'docker.dragonflydb.io/dragonflydb/dragonfly:latest' locally
latest: Pulling from dragonflydb/dragonfly
docker: no matching manifest for linux/arm/v8 in the manifest list entries.
See 'docker run --help'.
from dragonfly.
My mistake, please try docker run --privileged -p 6379:6379 --platform linux/arm64 --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly
from dragonfly.
Related Issues (20)
- random crash on mimalloc when df was shut down via signal (ctrl+c) HOT 1
- Horizontal Scaling HOT 2
- fix mimalloc with 32MiB segments
- cluster_fuzzymigration test failure HOT 1
- FLUSHALL during slot migration causes assert failure HOT 1
- Memcached flags loses during load from snapshot HOT 2
- implement CLIENT SETINFO
- Dragonfly (rarely) crashes on connection termination during migration HOT 1
- Search: Custom delimiter for tags HOT 2
- Search: FT.ALTER HOT 1
- Search: Escape sequences
- Keyspace notifications HOT 2
- acl small compatibility changes
- Dragonfly sometimes fails with OOM even when `--cache_mode=true` HOT 2
- Implement OPTOUT and NOLOOP for CLIENT TRACKING
- When build the dockerfile from tools/package i am not able to build it successfully HOT 7
- GEOSEARCH still "PARTIALLY SUPPORTED" HOT 4
- segment_allocator.cc:24] address_table_ map is growing too large: 4129 HOT 5
- Software error on replication HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonfly.