Comments (8)
from freedom-u-sdk.
The error indicates some kind of glibc build or install problem. You might need a make clean after a git update if some submodule version changed. If you changed arch/abi configure options you could run into a problem like this if you don't do a make clean first. You get could an error like this if a build was interrupted due to a power failure, disk full error, etc, ended up in an inconsistent state, and you tried to continue without a make clean.
If the error repeats after a make clean then there is something more seriously wrong. I just tried a build on the master branch, and it worked fine on an Ubuntu 16.04 machine.
from freedom-u-sdk.
@jim-wilson @emfive : Thanks.
I did a clean build after git update. I am still getting some other error.
/usr/bin/install -m 0644 support/misc/target-dir-warning.txt /home/atish/freedom-u-sdk/work/buildroot_initramfs/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
toolchain-external undefined Extracting
toolchain-external undefined Patching
toolchain-external undefined Configuring
RPC support available in C library, please enable BR2_TOOLCHAIN_EXTERNAL_INET_RPC
package/pkg-generic.mk:185: recipe for target '/home/atish/freedom-u-sdk/work/buildroot_initramfs/build/toolchain-external-undefined/.stamp_configured' failed
make[2]: *** [/home/atish/freedom-u-sdk/work/buildroot_initramfs/build/toolchain-external-undefined/.stamp_configured] Error 1
Makefile:36: recipe for target '_all' failed
make[1]: *** [_all] Error 2
make[1]: Leaving directory '/home/atish/freedom-u-sdk/buildroot'
Makefile:90: recipe for target '/home/atish/freedom-u-sdk/work/buildroot_initramfs/images/rootfs.tar' failed
make: *** [/home/atish/freedom-u-sdk/work/buildroot_initramfs/images/rootfs.tar] Error 2
I did a git submodule update --init --recursive inside toolchain.
Do I need to do that for entire freedom-u-sdk ?
from freedom-u-sdk.
If you run "git submodule update --init --recursive" at the top level, then you get mutually consistent updated versions of all subpackages.
If you run "git submodule update --init --recursive" inside the riscv-gnu-toolchain dir, then you might get a newer toolchain that isn't compatible with the other as yet un-updated parts of the freedom-u-sdk repository. Though I'm not sure what exactly will happen in this case, since I don't know if this can work if you haven't updated riscv-gnu-toolchain itself at the top level. I don't think this will do anything unless you have tried checking out a different branch inside the riscv-gnu-toolchain dir, and that is a risky thing to try.
If you want to mix and match different versions of stuff, then you will have to figure out how to make that work yourself. But just checking out the master branch and building it should work fine.
The make command you are running may also make a difference. Are you using "make", "make sim", "make qemu", or maybe something else?
The host system you are using for builds might matter. We primarily use Ubuntu 16.04 here.
from freedom-u-sdk.
Thanks @jim-wilson. I think I corrupted my workspace. A new git clone worked fine.
from freedom-u-sdk.
I found out what was the issue with old workspace. I checked out master branch in riscv-pk.
But freedom-u-sdk points to commit 5a0e3e5.
Just wanted to update it for future reference.
Shouldn't freedom-u-sdk point to the latest code in riscv-pk ?
from freedom-u-sdk.
freedom-u-sdk points at versions of things that are known to build and work together on the host systems and target boards we use here at SiFive. it would be nice if various components were updated, but that takes time and effort, and there are a great many things that still need to be done. It is likely that various parts will be updated in the future when time is available to do that work, and when we have a need to upgrade something. But I'm not aware of any need for a risck-pk update at this time.
from freedom-u-sdk.
ok. That makes sense. Thanks again @jim-wilson.
Closing this issue.
from freedom-u-sdk.
Related Issues (20)
- Repo unable to initialize/sync HOT 2
- Error `trace/trace-ebpf.h: No such file or directory` when building qemu HOT 2
- select kernel version HOT 1
- Error: object name conflicts in archive on ARM architecture HOT 7
- How to build SiFive Freedom-u-sdk from scratch? HOT 2
- Version magic issue for compiling kernel module when passing in another version of Linux kernel HOT 1
- nstall-buildtools: No such file or directory HOT 1
- released image can not boot up HiFive Unmatched HOT 1
- No official build for 2022.05 and 2022.06? HOT 1
- 2022.06 kas build error HOT 1
- freedom-u-sdk 2022.06 kas build error HOT 4
- freedom-u-sdk 2022.06 build qemuriscv64-cli.yml HOT 1
- Radeon RX550 4GB stuck during kernel boot HOT 2
- TensorFlow and Pytorch on unmatch machines
- No 'apt' or 'apt-get'
- fu740 pcie window too small
- Failed to access CSR 0xc01 from M-modesbi_trap_error
- ZSTD symbol undeclared HOT 4
- FUSDK 2023.06.00 build breaks while trying to build trace-cmd HOT 1
- Building unmatched on 2023.06/2023.04 fails for rust HOT 3
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 freedom-u-sdk.