Conversation
$ as
.syntax intel
^D
{standard input}: Assembler messages:
{standard input}:1: Error: unknown pseudo-op: `.syntax'
This commit fixes the above issue with the assembled instructions
when using the GNU assembler.
There is still a bug in rustc 1.29 that prevents this from building rustc core. But this commit gets you most of the way there. We still need to port libstd to os hurd to complete the port.
965527b to
d73f77b
Compare
|
Do either of 1.39 or 1.54 support hurd? Otherwise, I'm not willing (or really able) to (formally) support a target that rustc doesn't. |
|
Hurd isn't supported on any rustc version afaik, not even master has it: https://github.com/rust-lang/rust/tree/master/compiler/rustc_target/src/spec You may want to propose hurd as tier 3 target for rustc. See https://rustc-dev-guide.rust-lang.org/building/new-target.html for how to add it and https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html#tier-3-target-policy for the tier 3 target policy you would have to follow. |
|
https://doc.rust-lang.org/stable/rustc/platform-support/hurd.html |
|
If that is part of 1.74, then that will be available once that branch is complete (see you in several months I guess) |
|
Looks like it's brand new in 1.74 - https://doc.rust-lang.org/1.74.0/rustc/platform-support/hurd.html exists, https://doc.rust-lang.org/1.73.0/rustc/platform-support/hurd.html doesn't |
|
This should be mergable after #340 then |
|
1.74 support has been merged, mind fixing the merge conflicts and checking it it works? |
This branch gets you most of the way to a complete port on GNU/Hurd.
There is a bug in rustc 1.29 sources that prevents this mrustc from compiling rustc on hurd.
(I believe the
popfdandpushfdinstructions are only valid when using.intel_syntaxin GAS on i386)We still need to port the libstd to os hurd target.