Do not install new binutils on the system, only use it in gcc - #161243
Do not install new binutils on the system, only use it in gcc#161243GuillaumeGomez wants to merge 5 commits into
Conversation
|
@bors try jobs=dist*linux |
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
This comment has been minimized.
This comment has been minimized.
|
It seems you forgot to add |
This comment has been minimized.
This comment has been minimized.
Indeed... |
|
@bors try jobs=dist*linux |
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
This comment has been minimized.
This comment has been minimized.
| --prefix=/rustroot \ | ||
| --enable-languages=c,c++ \ | ||
| --disable-gnu-unique-object \ | ||
| --with-as="$BINUTILS_PATH/as" \ |
There was a problem hiding this comment.
Note that here you are providing as and ld to a GCC that will later build the libgccjit.so that we ship. I didn't realize it in the previous PR, but it's weird that this actually does something. I would expect that we have to provide the binutils to the build of our libgccjit.so, which is likely what the make install does (?).
There was a problem hiding this comment.
I would as well, but I'm unclear whether it's only used to be gcc or it's the paths gcc will use when running.
There was a problem hiding this comment.
s/only used to be gcc/only used to build gcc/
Very annoying that we can't edit currently. ^^'
There was a problem hiding this comment.
Isn't this the configure for the GCC 9.5?
The --with-as flags probably need to be in the dist.sh file to be in our libgccjit, no?
This comment has been minimized.
This comment has been minimized.
| BINUTILS_PATH="$BINUTILS_ROOT_PATH/bin" | ||
| curl https://ci-mirrors.rust-lang.org/rustc/gcc/binutils-$BINUTILS.tar.xz | xzcat | tar xf - | ||
| mkdir binutils-build | ||
| mkdir /binutils-install |
There was a problem hiding this comment.
| mkdir /binutils-install | |
| mkdir $BINUTILS_ROOT_PATH |
am I missing something?
There was a problem hiding this comment.
Nope you're right.
|
💔 Test for 28ad8c1 failed: CI. Failed jobs:
|
|
Yes this seems to fix the Miri build :) |
libgccjit is not built correctly here, but I guess this is good news. |
What's wrong? |
dab36de to
c60fd5a
Compare
|
Now that github seems to be mostly back, let's restart the jobs. @bors try jobs=dist*linux |
This comment has been minimized.
This comment has been minimized.
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
This comment has been minimized.
This comment has been minimized.
|
Seems like |
|
Let's try like this. @bors try jobs=dist*linux |
This comment has been minimized.
This comment has been minimized.
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
c385a13 to
6a29ffb
Compare
|
@bors try jobs=dist*linux |
This comment has been minimized.
This comment has been minimized.
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=dist*linux |
This comment has been minimized.
This comment has been minimized.
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 6577b87 failed: CI. Failed job:
|
|
@bors try jobs=dist*linux |
|
⌛ Trying commit 413bdf3 with merge fd9359c… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/32124477600 |
Do not install new binutils on the system, only use it in gcc try-job: dist*linux
View all comments
As discussed in #161218.
cc @RalfJung @antoyo
r? @Kobzol