OK, I was able to reduce the problem to this scenario ( also tested outside of the src.rpm build):
export LDFLAGS=' -Wl,--as-needed -Wl,--enable-new-dtags' cmake .. -DCMAKE_SKIP_RPATH:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
Is this a bug at our side?
Regards,
-- Shlomi Fish
OK, I was able to reduce the problem to this scenario ( also tested outside of the src.rpm build):
export LDFLAGS=' -Wl,--as-needed -Wl,--enable- new-dtags' SKIP_RPATH: BOOL=ON '-DCMAKE_ MODULE_ LINKER_ FLAGS=- Wl,--as- needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable- new-dtags'
cmake .. -DCMAKE_
Is this a bug at our side?
Regards,
-- Shlomi Fish