Comments (2)
I've got the same problem, and it's very puzzling, because just yesterday, I've been able to create the image without issues - today, I can't, and there's no indication of the problem.
from busybear-linux.
I've found the problem, at least on my system - the scripts/image.sh
logic makes certain assumptions about the toolchain directory structure, specifically, it expects $LDSO_NAME
(ld-linux-riscv64-lp64d.so.1
, in my case) to be stored in $compiler_directory/../sysroot/lib
.
If the compiler binary is symlinked, the above will fail, since the script does not dereference the symlink.
Independently of using a symlink being acceptable or not (readlink
would allow this; as a matter of fact, it's used at least a couple of times), having a log wouldn't hurt in order to diagnose problems like this.
For users who happen to experience issues: just put a set -x
on top of the script, and the problem will be easy to identify.
from busybear-linux.
Related Issues (20)
- Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. HOT 2
- stubs-lp64.h HOT 7
- File transfer between riscv-qemu and host. HOT 5
- /sbin/init: error while loading shared libraries: libm.so.6: HOT 1
- *** failed to create busybear.bin HOT 5
- qemu riscv installation issue related to busybear HOT 2
- getting tap interface to work... HOT 1
- Network doesn't work on Ubuntu HOT 2
- There are some mistakes in the README
- network doesn't works well HOT 7
- Replace bridged networking with QEMU user networking emulation
- Link error
- change_dir "/opt/riscv/sysroot/lib64" failed HOT 1
- how to build on Ubuntu w/ their version of GCC for RISCV HOT 1
- Failed to build Linux due to wrong toolchain HOT 2
- dropbear does not recognize riscv architecture HOT 2
- .Trying to build busybear in Linux Mint. HOT 13
- Consider add an updated release
- A problem in scripts/build.sh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from busybear-linux.