Homebrew / homebrew-portable-ruby

🚗 Versions of Ruby that can be installed and run from anywhere on the filesystem.
BSD 2-Clause "Simplified" License
129 stars 42 forks source link

Add and use a portable libxcrypt #149

Closed Bo98 closed 2 years ago

Bo98 commented 2 years ago

This is to fix #147.

Bo98 commented 2 years ago

lib/util-xbzero.c: In function ‘_crypt_explicit_bzero’: lib/util-xbzero.c:58:1: error: invalid argument to gimple call s memset (s, 0, len);

lib/util-xbzero.c:58: confused by earlier errors

Me too.

Look like a compiler crash?

Bo98 commented 2 years ago

I cannot reproduce with 4.7.2 on Godbolt, so this seems specific to Wheezy's build of GCC.

Doesn't happen with gcc-4.9-backport and gcc-mozilla.

Bo98 commented 2 years ago

Hacky but it seems to work.

github-actions[bot] commented 2 years ago

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.