The addition of fPIC for shared libraries is performed independently from multilibs and fpic multilibs have no other particular purpose for VxWorks at this stage.
They incur extra build time, complexify the install tree and are a bit tricky because -fpic is not supported for kernel mode. Tested together with our recent cleanups in the shared-objects support area, for a mix of builds/tests for vxworks 6.9 and 7.2 with our in-house gcc-11 based toolchains, including for powerpc64 with support for shared libraries enabled. Sanity checked for mainline with a build for vxWorks 6.9. Olivier 2020-11-06 Fred Konrad <kon...@adacore.com> gcc/ * config/rs6000/t-vxworks: Drop the fPIC multilib.
0001-Drop-the-fpic-multilib-for-powerpc-vxworks.patch
Description: Binary data