------- Comment #2 from jay dot krell at cornell dot edu 2008-08-14 12:05 ------- wrong workaround before, actual:
def WorkaroundUnableToFindSparc64LibGcc(): # # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079 # ld: cannot find -lgcc_s # collect2: ld returned 1 exit status # make[4]: *** [libstdc++.la] Error 1 # make[4]: Leaving directory /obj/gcc.1/sparc64-sun-solaris2.10/sparc64-sun-solaris2.10/sparc64-sun-solaris2.10/libstdc++-v3/src # # -disable-shared is probably also a good workaround here # PatchName = "inability to find sparc64 libgcc.so" print("patching install " + PatchName) Directory = Prefix + "/lib/gcc/sparc64-sun-solaris2.10/" + GccVersion Run(".", "mkdir -p " + Directory) Run(Directory, "-ln -s sparcv9/libgcc_s.so libgcc_s.so") Run(Directory, "-ln -s sparcv9/libgcc_s.so.1 libgcc_s.so.1") print("done patching " + PatchName) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079