https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61309

Kai-Uwe Eckhardt <kuehro at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kuehro at gmx dot de

--- Comment #1 from Kai-Uwe Eckhardt <kuehro at gmx dot de> ---
In NetBSD pkgsrc this was fixed by the following patch (with
 --prefix=/usr/pkg/gcc410snapshot ):

--- libcilkrts/configure.orig    2014-03-26 19:16:35.000000000 +0000
+++ libcilkrts/configure
@@ -14496,7 +14496,7 @@ rm -f core conftest.err conftest.$ac_obj
     conftest$ac_exeext conftest.$ac_ext

 if test $enable_shared = yes; then
-  link_cilkrts="-lcilkrts %{static: $LIBS}"
+  link_cilkrts="-rpath /usr/pkg/gcc410snapshot/lib --as-needed -lgcc_s
-lcilkrts %{static $LIBS}"
 else
   link_cilkrts="-lcilkrts $LIBS"
 fi


The libgcc_s.so from /usr/lib is used where the symbol __cpu_model is missing.

Good luck,

Kai-Uwe

Reply via email to