Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15361] New: Buildroot linking error on Apple Silicon
Date: Wed, 01 Mar 2023 13:26:51 +0000	[thread overview]
Message-ID: <bug-15361-163@https.bugs.busybox.net/> (raw)

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

             reply	other threads:[~2023-03-01 13:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01 13:26 bugzilla [this message]
2023-03-01 14:32 ` [Buildroot] [Bug 15361] Buildroot linking error on Apple Silicon 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15361-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox