I was using rpmbuild to generate
the icon prgramming language in a package, and I was stumped by this error message:
/usr/bin/ld: failed to set dynamic section sizes: File truncated
Google failed me, but I tried various things, and then this finally worked:
Code:
%build
make X-Configure name=linux
make -j 1
The "make X-Configure name=linux" is the configure step for the build.
The "-j 1" turns off the multiple simultaneous compile feature of gnu make; it appears in this circumstance, the make results were stomping on each other.