I started developing a fix for this bug:
Add an --encoded-package-metadata parameter to ld and change dpkg to specify -Wl,--encoded-package-metadata=<encoded-json> instead of spec file. PPA build for it: https://launchpad.net/~bdrung/+archive/ubuntu/elf-package-metadata
Next step: Add this flag to the gold linker and submit those patches upstream.
I started developing a fix for this bug:
Add an --encoded- package- metadata parameter to ld and change dpkg to specify -Wl,--encoded- package- metadata= <encoded- json> instead of spec file. PPA build for it: https:/ /launchpad. net/~bdrung/ +archive/ ubuntu/ elf-package- metadata
Next step: Add this flag to the gold linker and submit those patches upstream.