Changes between Version 1 and Version 2 of Ticket #54215, comment 12
- Timestamp:
- Sep 6, 2017, 9:41:59 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54215, comment 12
v1 v2 4 4 5 5 There is a way to build libgcc with `default abi 4` so that software built with newer GCCs would be compatible with the systems libstdc++ even if the ABI4 flag is not passed in during the build (like it is with the cxx11 1.1 PortGroup). I suspect the issue could lie in there... 6 7 This is the block I usually will add to the libgcc Portfile (gcc6 before, gcc7 now) to accomplish that default. Several unix distros do this same thing as well I notice. It basically does for all builds what the cxx flags in the cxx11 1.1 PortGroup does on a case by case basis. To me it makes sense; in case you want to build a port one-off with gcc6 or gcc7 specified on the command line, it will have the right ABI (4). 8 9 {{{ 10 default_variants +defaultabi4 11 variant defaultabi4 description "use gcc4 compatible ABI" { 12 configure.args-append --with-default-libstdcxx-abi=gcc4-compatible 13 }}}