Forcing G++ (GCC) to a specific libstdc++ version (GLIBCXX_*) -
i'm trying build binary gcc 4.9.0 backwards-compatible against libstdc++
. according gcc's abi policy , guidelines , options controlling c++ dialect, command line option -fabi-version
should trick; however, no matter version set, still imports of symbols version newer desired, this:
$ objdump -t binary | grep glibcxx_3.4.20 00000000 df *und* 00000000 glibcxx_3.4.20 _zst24__throw_out_of_range_fmtpkcz
i've tried -fabi-version=1
-fabi-version=5
(abi version 5 corresponds gcc 4.6, guaranteed present on target system), imports keep winding in resulting files.
how fix this? going old gcc version not option me other reasons.
Comments
Post a Comment