Comments (4)
Thank you for this detailed bug report. Sorry for taking some time to get back to you on this. I've been able to replicate this myself thanks to your instructions.
Would dgraph be open to sponsoring my work on this project? I've received private sponsorship from others to ensure ongoing compatibility of xgo with their projects, and with sponsorship from you I could setup a test harness for dgraph, catch errors like this and prioritize fixes for them as they show up. Without sponsorship I am only able to provide support on an as-available basis, and focus on my downstream projects first. If you'd like to discuss this more, my email is in my profile.
from xgo.
Dgraph used xgo to build mac and windows builds, and I wanted to see if it it would work for arm64 using the same build process. Recently, macOS and Windows official support has dropped. Personally, I would like to have it work, for pure community OSS folks, especially with macOS going arm64.
from xgo.
@darkn3rd after some investigation, the errors you are facing are due to https://github.com/dgraph-io/ristretto/blob/3836124cdc5a27eba5bf0a545e04906671ad3c41/z/calloc_jemalloc.go#L10 which specifies specific LDFLAGS which conflict with xgo's paths. I've been able to get it to build by modifying the LDFLAGS in the above link.
from xgo.
@techknowlogick What were the changes you made?
from xgo.
Related Issues (20)
- Does not work for go1.20 HOT 3
- Correct steps to building the container manually. HOT 6
- C-shared library generated with xgo build not working for mac ARM (M1)machine HOT 2
- binary generate for mac amd64 is working on M1 chip machine and the one generated for mac arm64 is failing HOT 2
- I need to install libpcap-dev in the Images.how to operate. HOT 6
- Docker images for arm64? HOT 7
- Error with DockerVersion 24.0.5
- xgo does not find package, compilation fails HOT 2
- The compiled binary relies on GLIBC_2.28 to work correctly. HOT 3
- /build.sh: line 114: cd: /go/src/: No such file or directory HOT 2
- Add support for the headtype windowsgui HOT 4
- xgo build undefined reference to `pthread_create@GLIBC_2.34
- `-dest` permissions HOT 1
- running docker as current user conflicts with `/deps` and `/deps-build`
- Large memory footprint of ARM-7 Linux target
- How to specify a repository when moudle is turned on (windows)
- Support for Illumos HOT 1
- no matching manifest for linux/arm64/v8 in the manifest list entries
- Way to generate files that are not owned by root?
- Compiling for linux/386 fails with missing header file HOT 1
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 xgo.