* [Buildroot] [Bug 16090] New: Buildroot-2024-02-2 error building libffi
@ 2024-06-04 0:18 bugzilla
2024-06-04 0:20 ` [Buildroot] [Bug 16090] " bugzilla
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2024-06-04 0:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=16090
Bug ID: 16090
Summary: Buildroot-2024-02-2 error building libffi
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Outdated package
Assignee: unassigned@buildroot.uclibc.org
Reporter: rmderbes@gmail.com
CC: buildroot@uclibc.org
Target Milestone: ---
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:
1) Edit buildroot-2024.02.2/package/libffi/libffi.mk and change libffi version
LIBFFI_VERSION = 3.4.6
2) 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
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 16090] Buildroot-2024-02-2 error building libffi
2024-06-04 0:18 [Buildroot] [Bug 16090] New: Buildroot-2024-02-2 error building libffi bugzilla
@ 2024-06-04 0:20 ` bugzilla
2024-06-08 10:31 ` [Buildroot] [Bug 16090] New: " Roy Kollen Svendsen
2024-06-15 15:20 ` [Buildroot] [Bug 16090] " bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2024-06-04 0:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=16090
Ricardo Miguel <rmderbes@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |PC
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [Bug 16090] New: Buildroot-2024-02-2 error building libffi
2024-06-04 0:18 [Buildroot] [Bug 16090] New: Buildroot-2024-02-2 error building libffi bugzilla
2024-06-04 0:20 ` [Buildroot] [Bug 16090] " bugzilla
@ 2024-06-08 10:31 ` Roy Kollen Svendsen
2024-06-15 15:20 ` [Buildroot] [Bug 16090] " bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: Roy Kollen Svendsen @ 2024-06-08 10:31 UTC (permalink / raw)
To: bugzilla; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 2024 bytes --]
http://patchwork.ozlabs.org/project/buildroot/patch/20240605090652.3156836-1-roy.kollen.svendsen@akersolutions.com/
tir. 4. jun. 2024, 02:19 skrev <bugzilla@busybox.net>:
> https://bugs.busybox.net/show_bug.cgi?id=16090
>
> Bug ID: 16090
> Summary: Buildroot-2024-02-2 error building libffi
> Product: buildroot
> Version: unspecified
> Hardware: All
> OS: Linux
> Status: NEW
> Severity: blocker
> Priority: P5
> Component: Outdated package
> Assignee: unassigned@buildroot.uclibc.org
> Reporter: rmderbes@gmail.com
> CC: buildroot@uclibc.org
> Target Milestone: ---
>
> 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:
> 1) Edit buildroot-2024.02.2/package/libffi/libffi.mk and change libffi
> version
> LIBFFI_VERSION = 3.4.6
>
> 2) 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
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
>
[-- Attachment #1.2: Type: text/html, Size: 3288 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 16090] Buildroot-2024-02-2 error building libffi
2024-06-04 0:18 [Buildroot] [Bug 16090] New: Buildroot-2024-02-2 error building libffi bugzilla
2024-06-04 0:20 ` [Buildroot] [Bug 16090] " bugzilla
2024-06-08 10:31 ` [Buildroot] [Bug 16090] New: " Roy Kollen Svendsen
@ 2024-06-15 15:20 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2024-06-15 15:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=16090
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998@free.fr
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-15 15:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04 0:18 [Buildroot] [Bug 16090] New: Buildroot-2024-02-2 error building libffi bugzilla
2024-06-04 0:20 ` [Buildroot] [Bug 16090] " bugzilla
2024-06-08 10:31 ` [Buildroot] [Bug 16090] New: " Roy Kollen Svendsen
2024-06-15 15:20 ` [Buildroot] [Bug 16090] " bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox