Comments (6)
compile it on ubuntu the go to arch
from terraos.
upon further research, i found this on the buildroot bug tracker
bug report
DescriptionRicardo Miguel 2024-06-04 00:18:49 UTC
When trying to build root image for zynq target, it throws this error:
....
../src/tramp.c: In function 'ffi_tramp_get_temp_file':
../src/tramp.c:262:22: error: implicit declaration of function 'open_temp_exec_file' [-Wimplicit-function-declaration]
262 | tramp_globals.fd = open_temp_exec_file ();
....
Host OS: Fedora 40
Kernel: 6.8.10-300.fc40.x86_64
gcc : version 14.1.1 20240522 (Red Hat 14.1.1-4) (GCC)
Problem: libffi-3.4.4 does not compile with gcc > 14.
Solution:
-
Edit buildroot-2024.02.2/package/libffi/libffi.mk and change libffi version
LIBFFI_VERSION = 3.4.6 -
Edit buildroot-2024.02.2/package/libffi/libffi.hash and change hashes:
For libffi-3.4.6.tar.gz
sha256 b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e libffi-3.4.6.tar.gz
sha256 67894089811f93fca47a76f85e017da6f8582d4ba0905963c6e0f1ad6df7a195 LICENSE
I have tried it only for zynq target, but I assume that this fix works for all
targets that compile libffi and all systems where GCC > 14
Regards
must be a buildroot issue lol
from terraos.
therefore, a possible fix for this issue is to edit buildroot-2024.02.2/package/libffi/libffi.mk
and change libffi version
LIBFFI_VERSION = 3.4.6
then, change the hash
sha256 b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e libffi-3.4.6.tar.gz
sha256 67894089811f93fca47a76f85e017da6f8582d4ba0905963c6e0f1ad6df7a195 LICENSE
from terraos.
created a pull request on your fork of buildroot to fix this issue
from terraos.
iirc bootstrapping arch linux needs arch linux so id go with archlinux
from terraos.
issue fixed with r58 updating buildroot repo from upstream 🔥
from terraos.
Related Issues (20)
- failed to enable kill-frecon service HOT 5
- Budgie DE bricks arch
- WPA3 / WPA2 Wi-Fi networks will not connect (excluding hotspots) HOT 5
- Tool doesnt work on debian 12 HOT 1
- What branch to use HOT 1
- Terraos will not boot into any partion HOT 6
- You must install "cpio" error HOT 2
- Error when attempting to resolve cpio error HOT 1
- Any prebuilt TerraOS images? HOT 1
- How to find Chrome OS Flex recovery image? HOT 1
- Build aur not working HOT 2
- Build stage 1 not working in arch linux HOT 2
- Build stage1 need extended help HOT 4
- Chromebook recovery utility doesn't recognise the .img file as a flashable image? HOT 1
- Uses up all storage except a gigabyte HOT 1
- Ending login manager session results in entire display turning off HOT 1
- lib kid compilation issue HOT 4
- makepkg compilation issue HOT 5
- Final Build All Stage: Failed to enable expand-root service HOT 1
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 terraos.