https://bugs.documentfoundation.org/show_bug.cgi?id=104951
Bug ID: 104951
Summary: Unable to build with system libjpeg-turbo
Product: LibreOffice
Version: 5.2.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: jeff...@aosc.xyz
Description:
When building with --with-system-libjpeg, LibreOffice throws an error during
configure (from config.log):
...
configure:19249: checking for jpeglib.h
configure:19249: result: yes
configure:19257: checking for jpeg_resync_to_restart in -ljpeg
configure:19282: gcc -o conftest -pipe -Wno-error -fstack-protector-strong
--param=ssp-buffer-size=4
-fomit-frame-pointer -O2 -march=x86-64 -mtune=core2 -msse -msse2 -msse3
-fira-loop-pressure -fi
ra-hoist-pressure -ftree-vectorize
-specs=/usr/lib/autobuild3/specs/hardened-cc1 -L/usr/lib/
java/lib/amd64 -L/usr/lib -D_FORTIFY_SOURCE=2
-Wl,-O1,--sort-common,--as-needed -Wl,-z,relro -Wl,-z,now
-specs=/usr/lib/autobuild3/specs/hardened-ld -fno-lto
-fno-use-linker-plugin -L/usr/lib/java/lib/amd64 -L/usr/lib
conftest.c -ljpeg >&5
/tmp/ccGMxJOw.o: In function `main':
conftest.c:(.text.startup+0x7): undefined reference to `jpeg_resync_to_restart'
collect2: error: ld returned 1 exit status
configure:19282: $? = 1
...
However, the symbol in question is found within -ljpeg, or libjpeg.so.8.1.2 in
my case (readelf output attached). Any idea to the cause?
Steps to Reproduce:
1. Build LibreOffice with --with-system-libjpeg.
Actual Results:
LibreOffice fails to configure.
Expected Results:
LibreOffice should finish configuration and proceed with build.
Reproducible: Always
User Profile Reset:
Additional Info:
User-Agent: Mozilla/5.0 (X11; AOSC OS; Linux x86_64; rv:50.0) Gecko/20100101
Firefox/50.0
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs