Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626170 - dev-lang/rust-1.19.0 contains WX binaries
Summary: dev-lang/rust-1.19.0 contains WX binaries
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL: https://github.com/rust-lang-nursery/...
Whiteboard:
Keywords:
: 645788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-25 20:53 UTC by Attila Tóth
Modified: 2018-06-06 09:14 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
missing-asm-gnu-stack-sections.diff (missing-asm-gnu-stack-sections.diff,1.61 KB, patch)
2017-12-23 22:21 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2017-07-25 20:53:32 UTC
* 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@g.o.
 * !WX --- --- usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-701380125126dfef.rlib:chkstk.o
 * !WX --- --- usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-701380125126dfef.rlib:chkstk2.o
 * !WX --- --- usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-701380125126dfef.rlib:floatundidf.o
 * !WX --- --- usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-701380125126dfef.rlib:floatundisf.o
 * !WX --- --- usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-701380125126dfef.rlib:floatundixf.o
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2017-07-30 07:22:56 UTC
Reported upstream already.
Comment 2 Attila Tóth 2017-12-23 22:21:42 UTC
Created attachment 511558 [details, diff]
missing-asm-gnu-stack-sections.diff

Until further advancement, I provide this patch to make the binaries non-WX. Works for me on x86_64. Things may change with the advent of more recent versions of rust.
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-01-26 13:07:06 UTC
*** Bug 645788 has been marked as a duplicate of this bug. ***
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-06-06 09:14:55 UTC
Recent versions no longer seem to have this problem, closing.