Giter Club home page Giter Club logo

Comments (7)

hillu avatar hillu commented on May 22, 2024

@botherder The warning occurs for 64bit Windows builds, regardless of Go compiler. Things still work, after all this is "just" a warning. Which is a thing no sensible/serious C programmer would ever say in public. (go figure...), so I'm going to fix this.

from go-yara.

botherder avatar botherder commented on May 22, 2024

Thanks for the fast reply.
I'm trying to triage also this when building for 64bit Windows:

/home/nex/.gvm/gos/go1.11/pkg/tool/linux_amd64/link: running x86_64-w64-mingw32-gcc failed: exit status 1
/usr/bin/x86_64-w64-mingw32-ld: i386 architecture of input file `/tmp/go-link-888075984/000000.o' is incompatible with i386:x86-64 output
collect2: error: ld returned 1 exit status```

I'm building with GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1. What am I doing wrong?

from go-yara.

hillu avatar hillu commented on May 22, 2024

@botherder no idea for the second problem, sorry.

from go-yara.

botherder avatar botherder commented on May 22, 2024

Yeah. I can't quite figure it out. I'm only managing to build 32bit on Windows at the moment.

from go-yara.

hillu avatar hillu commented on May 22, 2024

Does the same thing happen with previous Golang versions?

from go-yara.

hillu avatar hillu commented on May 22, 2024

@botherder I see that you have made a release. Nice, congratulations! Have you figured out what went wrong with your 64bit build?

from go-yara.

botherder avatar botherder commented on May 22, 2024

Not yet, that's on the TODO. Thanks for your help though! And thanks for this library of course.

from go-yara.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.