All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Piotr" <piotr.piwko@gmail.com>
To: poky@lists.yoctoproject.org
Subject: [meta-clang] Failure add clang to SDK on hardknott
Date: Thu, 02 Sep 2021 00:39:20 -0700	[thread overview]
Message-ID: <D04j.1630568360725298708.KKKu@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]

Hi,

After switching to hardknott branches (poky 14c5392fde, meta-clang b0d8050) I'm not able to add successfully clang compiler to SDK. There are some undefined references to tinfo during build:

| //lib/x86_64-linux-gnu/libncurses.so.5: undefined reference to `keyok@NCURSES_TINFO_5.0.19991023'
| //lib/x86_64-linux-gnu/libncurses.so.5: undefined reference to `raw@NCURSES_TINFO_5.0.19991023'
| //lib/x86_64-linux-gnu/libncurses.so.5: undefined reference to `_nc_add_to_try@NCURSES_TINFO_5.0.19991023'
| //lib/x86_64-linux-gnu/libncurses.so.5: undefined reference to `_nc_get_screensize@NCURSES_TINFO_5.7.20081102'
| //lib/x86_64-linux-gnu/libncurses.so.5: undefined reference to `_nc_get_locale@NCURSES_TINFO_5.4.20040208'
| //lib/x86_64-linux-gnu/libncurses.so.5: undefined reference to `SP@NCURSES_TINFO_5.0.19991023'
| ...
| clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
| ninja: build stopped: subcommand failed.

On the gatesgarth branch everything compiles fine, so I suppose that something should be added to make it works on the current version. Have you met such a problem or have any idea what may be wrong?

Thanks in advance,

--
Piotr Piwko

[-- Attachment #2: Type: text/html, Size: 1381 bytes --]

             reply	other threads:[~2021-09-02  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-02  7:39 Piotr [this message]
2021-09-02  7:47 ` [poky] [meta-clang] Failure add clang to SDK on hardknott Khem Raj
2021-09-02  8:10   ` Piotr

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=D04j.1630568360725298708.KKKu@lists.yoctoproject.org \
    --to=piotr.piwko@gmail.com \
    --cc=poky@lists.yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.