Re: [Buildroot] [PATCH v2 2/2] package/jpeg-turbo: fix libm linking issue

Peter Korsgaard <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
>>>>> "Bernd" == Bernd Kuhls <[email protected]> writes:

 > Buildroot commit bb38f6f7208497cf5a4df922e833492001170111 bumped the
 > package to 3.2.0. This version first included upstream commit
 > https://github.com/libjpeg-turbo/libjpeg-turbo/commit/ed00e0f4b39291e954958b96a8d941ca4a9e03a2
 > which removed the dependency to libm causing build errors detected by
 > the autobuilders.

 > Disabling the build of tests by the previous patch of this series is not
 > enough because the build will fail on other tools like

 > [ 98%] Linking C executable djpeg-static
 > /home/bernd/buildroot/output/per-package/jpeg-turbo/host/bin/../lib/gcc/i686-buildroot-linux-gnu/15.3.0/../../../../i686-buildroot-linux-gnu/bin/ld:
 >  src/spng/CMakeFiles/spng-static.dir/spng.c.o: in function
 >  `spng_decode_image':
 > spng.c:(.text+0x4c62): undefined reference to `__fpclassifyf'

 > Add upstream commit to fix the problem.

 > Fixes:
 > https://autobuild.buildroot.net/results/981/98114d4ea7afe62bb4cef934a06bf289d863ad3f/

 > Signed-off-by: Bernd Kuhls <[email protected]>
 > ---
 > v2: add upstream commit instead of -lm

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.