diff options
author | Jun Aruga <jaruga@redhat.com> | 2022-05-18 14:24:18 +0200 |
---|---|---|
committer | Jun Aruga <junaruga@users.noreply.github.com> | 2022-06-13 12:12:18 +0200 |
commit | a80f5c536598157da83f8de8f328d03207801c43 (patch) | |
tree | 0b5d31b9276b411b6703e3c8e171e5429b2f0032 /lib/shellwords.rb | |
parent | b2e58b02aec73f9c350bf109c021c180fc699ccc (diff) | |
download | ruby-a80f5c536598157da83f8de8f328d03207801c43.tar.gz |
Enable "make annocheck" on platforms other than Linux.
The annocheck supports ELF format binaries compiled for any OS and for any
architecture. It can work in not only Linux but also FreeBSD and Solaris.
It is designed to be independent of the host OS and the architecture.
Even in Mac, as the binaries are Mach-O foramt, the annocheck fails correctly
with the message.
e.g. Test binaries compiled for Mac OSX 10.13.6 (target_os: darwin17) in Fedora 35.
```
$ cat /etc/fedora-release
Fedora release 35 (Thirty Five)
$ file ruby
ruby: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|PIE>
$ annocheck ruby
annocheck: Version 10.66.
annocheck: Warning: ruby: is not an ELF format file.
```
See <https://sourceware.org/bugzilla/show_bug.cgi?id=29173> for details.
Diffstat (limited to 'lib/shellwords.rb')
0 files changed, 0 insertions, 0 deletions