question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fingerprint32 function not working in ubuntu

See original GitHub issue

Version system:

> lsb_release -a
Distributor ID:  Ubuntu
Description:      Ubuntu 20.04.1 LTS
Release:            20.04
Codename:       focal

The file test.js is:

const farmHash = require("farmhash");

const a = farmHash.fingerprint32("rs121909217");

console.log(a);

package.json contains the following dependency:

"farmhash": "^3.2.1"

When I execute node test.js on windows I get no trouble, and it prints 3935480791. However, when I execute it in ubuntu I get the following error:

Illegal instruction (core dumped)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lovellcommented, Dec 3, 2021

I’ve switched CI to use -march=nehalem and published as v3.2.2 - please can you test.

0reactions
lovellcommented, Dec 31, 2021

Great, thanks for confirming.

Read more comments on GitHub >

github_iconTop Results From Across the Web

aefp - calculate file fingerprint - manpages.ubuntu!
The first character is forced to be a letter (g-p), so there is no problem in using the output as a variable name....
Read more >
go-farm: a pure-Go farmhash implementation - GitHub
FarmHash provides hash functions for strings and other data. The functions mix the input bits thoroughly but are not suitable for cryptography.
Read more >
farmhash - Go Packages
To test I wrote a small program in C++ to generate both hashes and results from internal routines to add to the test...
Read more >
[GPG Signing] Exception when unknown/invalid files in gnupg ...
my machine (ubuntu 18.04) has a ~/.gnupg/pubring.kbx and creating a ~/.gnupg/secring.gpg didn't work for me. Comment 6 ...
Read more >
1d757ad9e4a88c2c8d641d01b6...
+ +NOTE: currently the goma backend is not available for non googlers. +We're working so that chromium developers can use it. Stay tuned....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found