* [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon
@ 2023-03-01 13:26 bugzilla
2023-03-01 14:32 ` [Buildroot] [Bug 15361] " bugzilla
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla @ 2023-03-01 13:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15361
Bug ID: 15361
Summary: Buildroot linking error on Apple Silicon
Product: buildroot
Version: 2022.11.1
Hardware: Macintosh
OS: Mac OS
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: jakub.swistak.stud@pw.edu.pl
CC: buildroot@uclibc.org
Target Milestone: ---
HI,
I'm trying to run Buildroot on Apple Silicon, I'm unable to do that since I'm
getting an error with linking the libraries.
After running 'make menuconfig' I'm getting an error 'Undefined symbols for
architecture arm64' (top of Attachment 2 for full log), I was able to solve it
by running
'❯ cd output/build/buildroot-config'
'❯ /usr/local/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE -DKBUILD_NO_NLS
-I/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config
-DCONFIG_=\"\"
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/mconf.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/zconf.tab.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/lxdialog/checklist.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/lxdialog/util.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/lxdialog/inputbox.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/lxdialog/textbox.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/lxdialog/yesno.o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/lxdialog/menubox.o
-o
/Users/jakubswistak/Desktop/lines2/buildroot-2022.11.1/output/build/buildroot-config/mconf
-lncurses' - added '-lncurses'
But later during the compilation 'make'
I'm getting another error with linking library (bottom of Attachment 2 for full
log)
I'm using Apple M2 chip with gcc/g++ 12.2.0 installed via homebrew.
--
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] 6+ messages in thread
* [Buildroot] [Bug 15361] Buildroot linking error on Apple Silicon
2023-03-01 13:26 [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon bugzilla
@ 2023-03-01 14:32 ` bugzilla
2023-03-01 16:21 ` bugzilla
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2023-03-01 14:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15361
--- Comment #1 from James Hilliard <james.hilliard1@gmail.com> ---
Buildroot should mostly work on apple silicon, I have an autobuilder running on
a M1 mac mini myself:
http://autobuild.buildroot.net/?submitter=James+Hilliard+%28asahi-mini%29
Are you using the arch based Asahi Linux(https://asahilinux.org/)?
--
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] 6+ messages in thread
* [Buildroot] [Bug 15361] Buildroot linking error on Apple Silicon
2023-03-01 13:26 [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon bugzilla
2023-03-01 14:32 ` [Buildroot] [Bug 15361] " bugzilla
@ 2023-03-01 16:21 ` bugzilla
2023-03-01 16:27 ` bugzilla
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2023-03-01 16:21 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15361
--- Comment #2 from Jakub <jakub.swistak.stud@pw.edu.pl> ---
Created attachment 9516
--> https://bugs.busybox.net/attachment.cgi?id=9516&action=edit
Logs
Logs of an errors from terminal
--
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] 6+ messages in thread
* [Buildroot] [Bug 15361] Buildroot linking error on Apple Silicon
2023-03-01 13:26 [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon bugzilla
2023-03-01 14:32 ` [Buildroot] [Bug 15361] " bugzilla
2023-03-01 16:21 ` bugzilla
@ 2023-03-01 16:27 ` bugzilla
2023-03-01 16:39 ` bugzilla
2023-03-01 21:02 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2023-03-01 16:27 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15361
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> ---
(In reply to Jakub from comment #0)
Building on MacOS is unlikely to work, you really need to build on a Linux
machine. x86-64 naturally gets most testing, but conceptually it should work to
build on an arm64 Linux machine as well (except for the prebuilt external
toolchains and similar).
--
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] 6+ messages in thread
* [Buildroot] [Bug 15361] Buildroot linking error on Apple Silicon
2023-03-01 13:26 [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon bugzilla
` (2 preceding siblings ...)
2023-03-01 16:27 ` bugzilla
@ 2023-03-01 16:39 ` bugzilla
2023-03-01 21:02 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2023-03-01 16:39 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15361
--- Comment #4 from Jakub <jakub.swistak.stud@pw.edu.pl> ---
(In reply to James Hilliard from comment #1)
I'm using macOS Ventura 13.2.1 and building an image for raspberry pi
--
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] 6+ messages in thread
* [Buildroot] [Bug 15361] Buildroot linking error on Apple Silicon
2023-03-01 13:26 [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon bugzilla
` (3 preceding siblings ...)
2023-03-01 16:39 ` bugzilla
@ 2023-03-01 21:02 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2023-03-01 21:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15361
--- Comment #5 from James Hilliard <james.hilliard1@gmail.com> ---
(In reply to Jakub from comment #4)
Yeah, buildroot needs a Linux based host OS, macOS isn't going to work. You
need to install something like Asahi Linux, a aarch64 virtual machine may also
work via qemu or something.
--
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] 6+ messages in thread
end of thread, other threads:[~2023-03-01 21:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01 13:26 [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon bugzilla
2023-03-01 14:32 ` [Buildroot] [Bug 15361] " bugzilla
2023-03-01 16:21 ` bugzilla
2023-03-01 16:27 ` bugzilla
2023-03-01 16:39 ` bugzilla
2023-03-01 21:02 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox