Go to file
Kai Kang e3606c223e fltk-native: fix libdl link issue
It fails to build fltk-native on Ubuntu 20.04 with glibc 2.31:

| /path_to/tmp/hosttools/ld: lib/libfltk.a(Fl_Native_File_Chooser.cxx.o): in function `fl_dlopen(char const*, char const*)':
| Fl_Native_File_Chooser.cxx:(.text+0x61a): undefined reference to `dlopen'
| /path_to/tmp/hosttools/ld: lib/libfltk.a(Fl_Native_File_Chooser.cxx.o): in function `Fl_GTK_File_Chooser::probe_for_GTK_libs()':
| Fl_Native_File_Chooser.cxx:(.text+0xf92): undefined reference to `dlerror'

The original fix in fltk-native recipe does not work any more because '-ldl'
appears before lib/libfltk.a and causes dlopen() unresolved. The reason why it
doesn't fail on other hosts is that the functions dlopen(), dlerror() etc. have
been moved to libc.so since glibc 2.34 via the commits in glibc:

0c1c3a771e dlfcn: Move dlopen into libc
add8d7ea01 dlfcn: Move dlvsym into libc
6dfc0207eb dlfcn: Move dlinfo into libc
492560a32e dlfcn: Move dladdr1 into libc
6a1ed32789 dlfcn: Move dlmopen into libc
77f876c0e3 dlfcn: Move dlsym into libc
602252b553 dlfcn: Move dladdr into libc
d8cce17d2a dlfcn: Move dlclose into libc

Append 'dl' to fltk link items explictly to fix the error.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-13 07:22:17 -07:00
contrib contrib: oe-stylize: Use Python3 explicitly 2023-06-04 22:29:46 -07:00
meta-filesystems libburn: upgrade 1.5.4 -> 1.5.6 2023-06-27 13:44:47 -07:00
meta-gnome mutter: upgrade 44.2 -> 44.3 2023-07-11 11:27:46 -07:00
meta-initramfs *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
meta-multimedia pipewire: upgrade 0.3.72 -> 0.3.73 2023-07-07 09:00:58 -07:00
meta-networking samba: upgrade 4.18.3 -> 4.18.4 2023-07-12 16:19:40 -07:00
meta-oe fltk-native: fix libdl link issue 2023-07-13 07:22:17 -07:00
meta-perl layers: Move READMEs to markdown format 2023-06-17 08:30:01 -07:00
meta-python python3-argh: upgrade 0.26.2 -> 0.28.1 2023-07-09 19:27:00 -07:00
meta-webserver nginx: upgrade to 1.24.0 release 2023-07-11 14:20:18 -07:00
meta-xfce ristretto: Upgrade to 0.13.1 release 2023-06-22 07:49:59 -07:00
.gitignore .gitignore: add *.pyc and *.pyo 2019-06-15 16:45:33 -07:00
COPYING.MIT add README and license for this layer 2011-02-13 16:47:32 +01:00
README.md layers: Move READMEs to markdown format 2023-06-17 08:30:01 -07:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories