From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
Date: Mon, 19 Jun 2023 12:13:42 +0000 [thread overview]
Message-ID: <bug-15634-163-FXouDwA9cv@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-15634-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=15634
--- Comment #3 from Vincent Fazio <vfazio@xes-inc.com> ---
When I `make olddefconfig` with your defconfig, it looks like it's using
bootlin's bleeding edge toolchain.
Bootlin recently (last year) enabled OpenMP support in the toolchain:
https://github.com/bootlin/toolchains-builder/commit/93f88ed30a4fd13ada7e2debf0d035855a690585
FluidSynth _tests_ for OpenMP support:
https://github.com/FluidSynth/fluidsynth/blob/master/CMakeLists.txt#L734
Unfortunately, the default configured Bootlin external toolchains to not
accurately reflect that OpenMP is supported due to a small issue with
generating the fragments:
https://github.com/bootlin/toolchains-builder/issues/60
Those fragments are used by a parser to add the external toolchain entries to
BR, but since they're not accurate, the selected toolchain features are also
not accurate. Most importantly here is they're missing
`BR2_TOOLCHAIN_EXTERNAL_OPENMP=y`.
This flag drives whether or not OpenMP libraries will be copied into the
resulting rootfs.
So the library tests for support (and it is supported by the toolchain), but
since BR doesn't think it's enabled, the dependent libraries aren't copied in.
The quickest short term solutions are to:
1. Update your defconfig to use a "Custom Toolchain" and to manually point it
to the bootlin toolchain and flag OpenMP support
2. Update your defconfig to use a Buildroot generated toolchain and decide if
it should have OpenMP support.
This has actually been a recent discussion in IRC and we're contemplating a
more resilient check here.
--
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
next prev parent reply other threads:[~2023-06-19 12:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-18 16:30 [Buildroot] [Bug 15634] New: fluidsynths refers to missing libgomp.so.1 bugzilla
2023-06-18 19:36 ` [Buildroot] [Bug 15634] " bugzilla
2023-06-18 19:47 ` bugzilla
2023-06-19 12:13 ` bugzilla [this message]
2023-06-19 16:05 ` bugzilla
2023-06-25 15:39 ` bugzilla
2023-08-31 14:43 ` 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-15634-163-FXouDwA9cv@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