http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
Anders F Björklund <afb at users dot sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afb at users dot | |sourceforge.net --- Comment #7 from Anders F Björklund <afb at users dot sourceforge.net> 2011-09-01 18:11:32 UTC --- Another problem is that the -static-libgo flag doesn't work, because the static library has the same name and location as the dynamic lib and therefore darwin will always prefer the dynamic library. It probably needs to be renamed (to something like libgo_static.a), since otherwise the -Wl,-search_paths_first flag is needed to avoid picking up libgo.dylib even if it comes later in the paths...