Subject: Compile libraw with LTO Package: libraw24 Source: libraw X-Debugs-Cc: [email protected] Version: 0.22.0-1
starting in libraw 0.21.5b-1, a libraw*.symbols file was introduced. This caused build failures in Ubuntu due to our default setting of compiling with +lto. This leads to a symbol mismatch as lto strips symbols. Information on the diff in libraw 0.21.5b-1 is available at: https://bugs.launchpad.net/ubuntu/+source/libraw/+bug/2141767 Ubuntu has been been publishing with LTO enabled for multiple releases, and there have not been any bugs raised against libraw related to the stripped symbols (as far as I can see). Would you consider using LTO flags for the build and re-exporting the symbols? This will remove any delta between the packages. LTO should only be stripping unused and unexported symbols, which shouldn't affect programs consuming the library. Currently the default Ubuntu flags related to LTO are fat-lto-objects lto=auto set in CFLAGS, CFLAGS_FOR_BUILD, CXXFLAGS, and CXXFLAGS_FOR_BUILD -- ----------------------- Dr. John Chittum Engineering Manager, Canonical, Debcrafters

