Created attachment 1382350 [details] Pass -z defs to the linker Undefined symbols are unversioned and are not bound to the correct symbol version at run time. Use -Wl,-z,undefs to override (which needs binutils binutils-2.29.1-12 at least). This is very desirable for the Sun RPC removal, otherwise programs continue to build by accident. I'm going to add this to the binutils change for Fedora 28, which is still pending Fesco approval: https://fedoraproject.org/wiki/Changes/BINUTILS2291
This breaks ghc linking and also a lot of other stuff I gather. Anyway I added a workaround to ghc-rpm-macros for now.
I don't think that we need to revert this, but fixing packages would take some time. Florian, it would be nice to have some FAQ on wiki how to fix particular problems.
(In reply to Igor Gnatenko from comment #2) > Florian, it would be nice to have some FAQ on wiki how to fix particular > problems. I added some documentation to: https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md Do you think this is sufficient?
(In reply to Florian Weimer from comment #3) > (In reply to Igor Gnatenko from comment #2) > > Florian, it would be nice to have some FAQ on wiki how to fix particular > > problems. > > I added some documentation to: > > https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/ > buildflags.md > > Do you think this is sufficient? Looks good and I think is sufficient because important part is to be able to disable it and it's mentioned there. But it would be nice to have some info what to do about plugins for example. Basically most common problems people are going to have.
FWIW, the fix for this bug made some issues surface in java-1.8.0-openjdk. See bug 1538767.
Reverted in rawhide.
I do not think we can make this change at this point.