buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15634] New: fluidsynths refers to missing libgomp.so.1
@ 2023-06-18 16:30 bugzilla
  2023-06-18 19:36 ` [Buildroot] [Bug 15634] " bugzilla
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla @ 2023-06-18 16:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15634

            Bug ID: 15634
           Summary: fluidsynths refers to missing libgomp.so.1
           Product: buildroot
           Version: 2023.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: stsp2@yandex.ru
                CC: buildroot@uclibc.org
  Target Milestone: ---

$ ldd /lib64/libfluidsynth.so
libgomp.so.1 => not found
<list of other deps that are not missing>

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
  2023-06-18 16:30 [Buildroot] [Bug 15634] New: fluidsynths refers to missing libgomp.so.1 bugzilla
@ 2023-06-18 19:36 ` bugzilla
  2023-06-18 19:47 ` bugzilla
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla @ 2023-06-18 19:36 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15634

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998@free.fr

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,

Can you provide your Buildroot defconfig file, please?

Regards,
Yann E. MORIN.

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla @ 2023-06-18 19:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15634

--- Comment #2 from stsp <stsp2@yandex.ru> ---
Created attachment 9610
  --> https://bugs.busybox.net/attachment.cgi?id=9610&action=edit
defconfig

Sure thing, here it is.

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
  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
  2023-06-19 16:05 ` bugzilla
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla @ 2023-06-19 12:13 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
  2023-06-18 16:30 [Buildroot] [Bug 15634] New: fluidsynths refers to missing libgomp.so.1 bugzilla
                   ` (2 preceding siblings ...)
  2023-06-19 12:13 ` bugzilla
@ 2023-06-19 16:05 ` bugzilla
  2023-06-25 15:39 ` bugzilla
  2023-08-31 14:43 ` bugzilla
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla @ 2023-06-19 16:05 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15634

--- Comment #4 from stsp <stsp2@yandex.ru> ---
Thanks for all the investigations!
I subscribed to the toolchain bug
you opened, and I am not in a rush
about fluidsynth. I can wait.
#15637 is what actually bothers me...

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
  2023-06-18 16:30 [Buildroot] [Bug 15634] New: fluidsynths refers to missing libgomp.so.1 bugzilla
                   ` (3 preceding siblings ...)
  2023-06-19 16:05 ` bugzilla
@ 2023-06-25 15:39 ` bugzilla
  2023-08-31 14:43 ` bugzilla
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla @ 2023-06-25 15:39 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15634

Vincent Fazio <vfazio@xes-inc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned@buildroot.uclibc |vfazio@xes-inc.com
                   |.org                        |
             Status|NEW                         |ASSIGNED

--- Comment #5 from Vincent Fazio <vfazio@xes-inc.com> ---
I lied, the "easiest" option is probably to use `BR2_TOOLCHAIN_EXTRA_LIBS` to
copy in libgomp.

I've pushed a PR to bootlin to fix one of the root causes:
https://github.com/bootlin/toolchains-builder/pull/61

I'm also working on a series of patches on
https://gitlab.com/vfazio/buildroot/-/commits/vfazio-openmp-packages that will:

1: update known packages that use OpenMP to be sensitive to this issue
2. fix the flags for the bootlin toolchains
3. make our toolchain "supported libraries" check a bit more robust to catch
the reverse condition of "support available but not flagged"

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 15634] fluidsynths refers to missing libgomp.so.1
  2023-06-18 16:30 [Buildroot] [Bug 15634] New: fluidsynths refers to missing libgomp.so.1 bugzilla
                   ` (4 preceding siblings ...)
  2023-06-25 15:39 ` bugzilla
@ 2023-08-31 14:43 ` bugzilla
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla @ 2023-08-31 14:43 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15634

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed by
https://gitlab.com/buildroot.org/buildroot/-/commit/746ac56850664aa3e21902723f2e05570088ea26
(in 2023.08-rc1) and backported to (the upcoming) 2023.05.2 and 2023.02.4.

-- 
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] 7+ messages in thread

end of thread, other threads:[~2023-08-31 14:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2023-06-19 16:05 ` bugzilla
2023-06-25 15:39 ` bugzilla
2023-08-31 14:43 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).