[ruby-core:96203] [Ruby master Bug#16415] MJIT is using/creating some suspicious include directories

[email protected]
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.issue-16415.20191211144938.e979eb670104b6a5@ruby-lang.org>
Issue #16415 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Bug #16415: MJIT is using/creating some suspicious include directories
https://bugs.ruby-lang.org/issues/16415

* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-12-10 master af11efd377) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Building Ruby, there are some suspicious include directories created:

~~~
$ cd /usr/local/include/

$ tree
.
└── ruby-2.7.0
    ├── ruby
    │   ├── assert.h
    │   ├── backward
    │   │   ├── classext.h
    │   │   ├── cxxanyargs.hpp
    │   │   ├── rubyio.h
    │   │   ├── rubysig.h
    │   │   ├── st.h
    │   │   └── util.h
    │   ├── backward.h
    │   ├── debug.h
    │   ├── defines.h
    │   ├── digest.h
    │   ├── encoding.h
    │   ├── intern.h
    │   ├── io.h
    │   ├── missing.h
    │   ├── onigmo.h
    │   ├── oniguruma.h
    │   ├── regex.h
    │   ├── re.h
    │   ├── ruby.h
    │   ├── st.h
    │   ├── subst.h
    │   ├── thread.h
    │   ├── thread_native.h
    │   ├── util.h
    │   ├── version.h
    │   └── vm.h
    ├── ruby-
    │   └── x86_64-linux
    ├── ruby.h
    └── x86_64-linux
        ├── rb_mjit_min_header-2.7.0.h
        └── ruby
            └── config.h
~~~

The directory in question is the 'ruby-2.7.0/ruby-'. I suspect this is related to MJIT, because the mjit_config.h (in attachment) refers to these directories.

---Files--------------------------------
mjit_config.h (749 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.