We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm the maintainer of fink's rust package, trying to update it to 1.10.0. It currently fails trying to run the stage0 compiler:
rustc: x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib/libcore dyld: Library not loaded: @rpath/libarena-d16b8f0e.dylib Referenced from: /Users/brendan/tmp/rustc-1.10.0/x86_64-apple-darwin/stage0/bin/rustc Reason: image not found make: *** [x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib/stamp.core] Trace/BPT trap: 5
As far as I can tell, this is due to a bug in src/etc/local_stage0.sh. The following patch fixes it for me:
src/etc/local_stage0.sh
diff --git a/src/etc/local_stage0.sh b/src/etc/local_stage0.sh index 354be34..9109df0 100755 --- a/src/etc/local_stage0.sh +++ b/src/etc/local_stage0.sh @@ -59,6 +59,7 @@ case "$TARG_DIR" in cp ${PREFIX}/bin/rustc${BIN_SUF} ${TARG_DIR}/stage0/bin/ cp ${PREFIX}/${LIB_DIR}/${RUSTLIBDIR}/${TARG_DIR}/${LIB_DIR}/* ${TARG_DIR}/stage0/${LIB_DIR}/ cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}extra*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/ +cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}arena*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/ cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}rust*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/ cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}std*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/ cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}syntax*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
though honestly it looks a bit fragile this way and I wonder if there's a reason not to copy everything in that matches ${LIB_PREFIX}*${LIB_SUF}.
The text was updated successfully, but these errors were encountered:
Auto merge of #35151 - bcully:bcully/pr-35149, r=alexcrichton
535cea0
Add libarena from local rust to stage0 This was needed at least when local rust was 1.9.0 on darwin. Fixes #35149
No branches or pull requests
I'm the maintainer of fink's rust package, trying to update it to 1.10.0. It currently fails trying to run the stage0 compiler:
As far as I can tell, this is due to a bug in
src/etc/local_stage0.sh
. The following patch fixes it for me:though honestly it looks a bit fragile this way and I wonder if there's a reason not to copy everything in that matches ${LIB_PREFIX}*${LIB_SUF}.
The text was updated successfully, but these errors were encountered: