Hi.
I need to build gcc RPMs from source including libgcc.i686 and libstdc++.i686
I don't want to run rpmbuild or mock twice with different arch argument. One is long enough. Besides, the build directory already contains all the needed files after %build phase:
./obj-x86_64-redhat-linux/x86_64-redhat-linux/32/libstdc++-v3/src/.libs/libstdc++.so.6.0.22 ./obj-x86_64-redhat-linux/x86_64-redhat-linux/32/libgcc/32/libgcc_s.so.1
The spec file from gcc-6.1.1-2.fc24.src.rpm suggests some support for that. It has multilib_64_archs and multilib_32_arch macros, but I don't know how to use them.
"BI" == Basin Ilya basinilya@gmail.com writes:
BI> Hi. I need to build gcc RPMs from source including libgcc.i686 and BI> libstdc++.i686
RPM will only build for a single architecture, with the possibility of some subpackages being noarch.
BI> I don't want to run rpmbuild or mock twice with different arch BI> argument.
Well, I don't believe you have any alternative.
You could of course produce some subpackage which contains the i686 files, but the arch of the resulting RPM would still be x86_64 and that would not be what Fedora calls multilib. But maybe you're taking that term to mean something else in this context.
- J<
packaging@lists.fedoraproject.org