After posting the first testsuite results for DragonFly, it was clear that the -fcilkplus functionality was broken: https://gcc.gnu.org/ml/gcc-testresults/2015-07/msg01046.html
The problem was related to the __cpu_model symbol not getting exported. The solution was to create libgcc/config/i386/t-dragonfly to define an additional symbol map (similar to t-freebsd). Simply creating the file is enough because there's already a placeholder for t-dragonfly at libgcc/config.host. The patch is attached. The improved results of the patch can be seen on the next posted testsuite results: https://gcc.gnu.org/ml/gcc-testresults/2015-07/msg01081.html An additional ~2600 tests now pass. Please consider this patch for incorporation into trunk. Only DragonFly uses the new t-dragonfly file so there is no impact to other platforms. suggested entry for libgcc/ChangeLog: 2015-07-XX John Marino <gnu...@marino.st> * config/i386/t-dragonfly: New. Thanks, John
--- /dev/null 2015-07-10 21:56:18 UTC +++ libgcc/config/i386/t-dragonfly @@ -0,0 +1,2 @@ +# Required for -fcilkplus support +SHLIB_MAPFILES += $(srcdir)/config/i386/libgcc-bsd.ver