02-05-2019 02:25 AM - edited 02-06-2019 05:46 AM
I'm using Petalinux 2018.3 and pthreads in my linux app.
Until 2017.? it was possible to enable libgcc with
petalinux-config -c rootfs
or by editing rootfs_config manually:
# # libgcc-xilinx # # CONFIG_libgcc-dev is not set CONFIG_libgcc=y # CONFIG_libgcc-dbg is not set # CONFIG_libgcov-dev is not set
I can't find any way to enable libgcc in 2018.3. Why is libgcc-xilinx missing?
When I close a pthread in my linux app this error msg is printed:
libgcc_s.so.1 must be installed for pthread_cancel to work
There must be a way to use pthreads in petalinux 2018.3.
Thanks in advance, bye, Marc.
02-06-2019 06:00 AM
02-26-2019 01:51 PM
I fixed it by adding
IMAGE_INSTALL_append = " gcc"
and enabling in petalinux-config -c rootfs