Xmake Version
3.0.6
Operating System Version and Architecture
Gentoo Linux or Gentoo Prefix - Any version or architectures
Describe Bug
It has been found that when trying to install both with portage's src_install and at the very least at least xmake --install command anything built by xmake, those kind of QA reports will appear:
* QA Notice: The following files contain writable and executable sections
* Files with such sections will not work properly (or at all!) on some
* architectures/operating systems. A bug should be filed at
* https://bugs.gentoo.org/ to make sure the issue is fixed.
* For more information, see:
*
* https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
*
* Please include the following list of files in your report:
* Note: Bugs should be filed for the respective maintainers
* of the package in question and not hardened@gentoo.org.
* RWX --- --- usr/lib64/libtbox.so.1.7.9
I actually don't know what is referred by the "writable and executable sections", it could be either part of the generated binary code, or just broken file permissions.
As well as those when setting xmake build mode to "release":
* QA Notice: Pre-stripped files found:
* /usr/lib64/libtbox.so.1.7.9
And so, at least with portage, whether in "release" or "debug" build mode, xmake should not generate prestripped libraries or executables, and let instead the package manager if they should be prestripped or not.
Expected Behavior
XMake should not generate code or files that would trigger portage's QA reports ...
Project Configuration
See the ebuild made for building as SO and installing an unmodified version of tbox 1.7.9:
tbox-1.7.9.ebuild.txt
Additional Information and Error Logs
See the following log file:
tbox_build.log
Xmake Version
3.0.6
Operating System Version and Architecture
Gentoo Linux or Gentoo Prefix - Any version or architectures
Describe Bug
It has been found that when trying to install both with portage's
src_installand at the very least at leastxmake --installcommand anything built by xmake, those kind of QA reports will appear:I actually don't know what is referred by the "writable and executable sections", it could be either part of the generated binary code, or just broken file permissions.
As well as those when setting xmake build mode to "release":
And so, at least with portage, whether in "release" or "debug" build mode, xmake should not generate prestripped libraries or executables, and let instead the package manager if they should be prestripped or not.
Expected Behavior
XMake should not generate code or files that would trigger portage's QA reports ...
Project Configuration
See the ebuild made for building as SO and installing an unmodified version of tbox 1.7.9:
tbox-1.7.9.ebuild.txt
Additional Information and Error Logs
See the following log file:
tbox_build.log