-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
Similar to rust-lang/rust#34482, I still see a number of warnings like this when compiling rust-1.19.0:
* !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
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
alexcrichton commentedon Jul 24, 2017
Oh dear definitely seems like something to fix! @djc would you be up for submitting a patch for at least the easy piece, removing compilation of chkstk files on non-windows platforms?
djc commentedon Jul 25, 2017
Uh, I guess. Do you mean like this?
alexcrichton commentedon Jul 25, 2017
I think that should do it yeah!
If you'd like as well, it'd be awesome to add a test into this repo to ensure that we don't regress this.
djc commentedon Jul 25, 2017
I have no clue how I'd test that, but if you can guide me along maybe I can come up with something.
alexcrichton commentedon Jul 25, 2017
Right now the test script is just a shell script and has a few other examples, could that be added to?
Auto merge of #194 - mattico:i386, r=alexcrichton
DimitryAndric commentedon Dec 24, 2017
Indeed, those files should only be built for Windows. See also llvm-mirror/compiler-rt@1955731
Merge pull request rust-lang#183 from eldruin/fix-compat-1.31.0
Use symcheck to locate writeable+executable object files
Use symcheck to locate writeable+executable object files
tgross35 commentedon May 30, 2025
I don't believe this is an issue anymore, so I'm just attempting to add an object file check that this doesn't regress #934. However, I am not exactly clear on the logic here - @djc (or anyone) do you happen to know what
scanelf
is actually looking for, or what we should be trying to find? From the source it looks like scanelf finding object files without.note.GNU-stack
, which is what I implemented, but there must be some more logic because I can't seem to create an object file that emits!WX
locally.Use symcheck to locate writeable+executable object files
Use symcheck to locate writeable+executable object files
Use symcheck to locate writeable+executable object files